Skip to content

Commit b8dd91f

Browse files
committed
interviewId
1 parent caa98c3 commit b8dd91f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

components/workday/workday.app.mjs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,25 @@ export default {
379379
}));
380380
},
381381
},
382+
interviewId: {
383+
type: "string",
384+
label: "Interview ID",
385+
description: "The ID of the interview.",
386+
async options({ page }) {
387+
const res = await this.listInterviews?.({
388+
params: {
389+
limit: 50,
390+
offset: 50 * page,
391+
},
392+
}) || {
393+
data: [],
394+
};
395+
return (res.data || []).map((i) => ({
396+
label: i.descriptor || i.id,
397+
value: i.id,
398+
}));
399+
},
400+
},
382401

383402
maxResults: {
384403
type: "integer",

0 commit comments

Comments
 (0)