Skip to content

Commit

Permalink
Include samples for search
Browse files Browse the repository at this point in the history
  • Loading branch information
leelasn committed Dec 19, 2024
1 parent 8158620 commit bd21fea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/searches/issue.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { ZObject, Bundle } from "zapier-platform-core";
import { IssueCommon } from "../triggers/issueV2";
import sample from "../samples/issue.json";

interface IssueResponse {
data: {
Expand Down Expand Up @@ -86,7 +87,7 @@ export const findIssueByID = {
noun: "Issue",

display: {
label: "Find issue by ID",
label: "Find Issue by ID",
hidden: false,
description: "Find an issue by ID or identifier",
},
Expand All @@ -100,5 +101,6 @@ export const findIssueByID = {
label: "Issue ID or identifier",
},
],
sample,
},
};
4 changes: 3 additions & 1 deletion src/searches/project.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { ZObject, Bundle } from "zapier-platform-core";
import { ProjectApi } from "../triggers/newProject";
import sample from "../samples/project.json";

interface ProjectResponse {
data: {
Expand Down Expand Up @@ -67,7 +68,7 @@ export const findProjectByID = {
noun: "Project",

display: {
label: "Find project by ID",
label: "Find Project by ID",
hidden: false,
description: "Find a project by ID or slug ID",
},
Expand All @@ -81,5 +82,6 @@ export const findProjectByID = {
label: "Project ID or project slug ID",
},
],
sample,
},
};

0 comments on commit bd21fea

Please sign in to comment.