MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / queryProperties

Function queryProperties

integrations/linear/src/utils.ts:37–48  ·  view source on GitHub ↗
(query: Nullable<QueryVariables>)

Source from the content-addressed store, hash-verified

35};
36
37export const queryProperties = (query: Nullable<QueryVariables>) => {
38 return [
39 ...(query.after ? [{ label: "After", text: query.after }] : []),
40 ...(query.before ? [{ label: "Before", text: query.before }] : []),
41 ...(query.first ? [{ label: "First", text: String(query.first) }] : []),
42 ...(query.last ? [{ label: "Last", text: String(query.last) }] : []),
43 ...(query.orderBy ? [{ label: "Order by", text: query.orderBy }] : []),
44 ...(query.includeArchived
45 ? [{ label: "Include archived", text: String(query.includeArchived) }]
46 : []),
47 ];
48};
49
50export const updatedFromProperties = (payload: WebhookPayload) => {
51 if (payload.action !== "update") return [];

Callers 15

attachmentsMethod · 0.90
commentsMethod · 0.90
documentsMethod · 0.90
favoritesMethod · 0.90
issuesMethod · 0.90
issueLabelsMethod · 0.90
issueRelationsMethod · 0.90
notificationsMethod · 0.90
projectsMethod · 0.90
projectLinksMethod · 0.90
projectUpdatesMethod · 0.90
teamsMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…