@keystrokehq/short_menu 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,7 +32,19 @@ declare const shortMenuCreateLink: import("@keystrokehq/action").WorkflowActionD
32
32
  pixel_ids?: string[] | undefined;
33
33
  expires_at?: string | undefined;
34
34
  description?: string | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"short_menu", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ generic_api_key: z.ZodString;
41
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"short_menu", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ generic_api_key: z.ZodString;
47
+ }, z.core.$strip>>]>;
36
48
  //#endregion
37
49
  export { shortMenuCreateLink };
38
50
  //# sourceMappingURL=create-link.d.cts.map
@@ -32,7 +32,19 @@ declare const shortMenuCreateLink: import("@keystrokehq/action").WorkflowActionD
32
32
  pixel_ids?: string[] | undefined;
33
33
  expires_at?: string | undefined;
34
34
  description?: string | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"short_menu", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ generic_api_key: z.ZodString;
41
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"short_menu", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ generic_api_key: z.ZodString;
47
+ }, z.core.$strip>>]>;
36
48
  //#endregion
37
49
  export { shortMenuCreateLink };
38
50
  //# sourceMappingURL=create-link.d.mts.map
@@ -9,7 +9,19 @@ declare const ShortMenuDeleteLinkOutput: z.ZodObject<{
9
9
  }, z.core.$loose>;
10
10
  declare const shortMenuDeleteLink: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"short_menu", z.ZodObject<{
13
+ connectionId: z.ZodString;
14
+ entityId: z.ZodString;
15
+ instanceId: z.ZodString;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ generic_api_key: z.ZodString;
18
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"short_menu", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>;
13
25
  //#endregion
14
26
  export { shortMenuDeleteLink };
15
27
  //# sourceMappingURL=delete-link.d.cts.map
@@ -9,7 +9,19 @@ declare const ShortMenuDeleteLinkOutput: z.ZodObject<{
9
9
  }, z.core.$loose>;
10
10
  declare const shortMenuDeleteLink: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"short_menu", z.ZodObject<{
13
+ connectionId: z.ZodString;
14
+ entityId: z.ZodString;
15
+ instanceId: z.ZodString;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ generic_api_key: z.ZodString;
18
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"short_menu", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>;
13
25
  //#endregion
14
26
  export { shortMenuDeleteLink };
15
27
  //# sourceMappingURL=delete-link.d.mts.map
@@ -9,7 +9,19 @@ declare const ShortMenuGetDomainsOutput: z.ZodObject<{
9
9
  customDomainMetadata: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
10
10
  }, z.core.$loose>>;
11
11
  }, z.core.$loose>;
12
- declare const shortMenuGetDomains: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const shortMenuGetDomains: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"short_menu", z.ZodObject<{
13
+ connectionId: z.ZodString;
14
+ entityId: z.ZodString;
15
+ instanceId: z.ZodString;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ generic_api_key: z.ZodString;
18
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"short_menu", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>;
13
25
  //#endregion
14
26
  export { shortMenuGetDomains };
15
27
  //# sourceMappingURL=get-domains.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-domains.d.cts","names":[],"sources":["../../src/actions/get-domains.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-domains.d.cts","names":[],"sources":["../../src/actions/get-domains.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
@@ -9,7 +9,19 @@ declare const ShortMenuGetDomainsOutput: z.ZodObject<{
9
9
  customDomainMetadata: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
10
10
  }, z.core.$loose>>;
11
11
  }, z.core.$loose>;
12
- declare const shortMenuGetDomains: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const shortMenuGetDomains: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"short_menu", z.ZodObject<{
13
+ connectionId: z.ZodString;
14
+ entityId: z.ZodString;
15
+ instanceId: z.ZodString;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ generic_api_key: z.ZodString;
18
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"short_menu", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>;
13
25
  //#endregion
14
26
  export { shortMenuGetDomains };
15
27
  //# sourceMappingURL=get-domains.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-domains.d.mts","names":[],"sources":["../../src/actions/get-domains.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-domains.d.mts","names":[],"sources":["../../src/actions/get-domains.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const shortMenu = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const shortMenu = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "short_menu",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.shortMenu = shortMenu;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const shortMenu = defineApp({\n slug: \"short_menu\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,aAAA,uCAAA,CAAA,CAAA,UAAA,CAAsB;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const shortMenu = defineApp({\n slug: \"short_menu\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAsB;CACjC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const shortMenu: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const shortMenu: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"short_menu", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { shortMenu };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,SAAA,6BAAS,GAAA,+BAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const shortMenu: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const shortMenu: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"short_menu", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { shortMenu };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,SAAA,6BAAS,GAAA,+BAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,10 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const shortMenu = defineApp({
4
5
  slug: "short_menu",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { shortMenu };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const shortMenu = defineApp({\n slug: \"short_menu\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,YAAY,UAAU;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const shortMenu = defineApp({\n slug: \"short_menu\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAY,UAAU;CACjC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/short_menu",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"