@keystrokehq/remove_bg 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.
@@ -18,7 +18,19 @@ declare const RemoveBgGetAccountOutput: z.ZodObject<{
18
18
  }, z.core.$loose>>;
19
19
  }, z.core.$loose>>;
20
20
  }, z.core.$loose>;
21
- declare const removeBgGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const removeBgGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
22
+ connectionId: z.ZodString;
23
+ entityId: z.ZodString;
24
+ instanceId: z.ZodString;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ generic_api_key: z.ZodString;
27
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
28
+ connectionId: z.ZodString;
29
+ entityId: z.ZodString;
30
+ instanceId: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ generic_api_key: z.ZodString;
33
+ }, z.core.$strip>>]>;
22
34
  //#endregion
23
35
  export { removeBgGetAccount };
24
36
  //# sourceMappingURL=get-account.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-account.d.cts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-account.d.cts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
@@ -18,7 +18,19 @@ declare const RemoveBgGetAccountOutput: z.ZodObject<{
18
18
  }, z.core.$loose>>;
19
19
  }, z.core.$loose>>;
20
20
  }, z.core.$loose>;
21
- declare const removeBgGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const removeBgGetAccount: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
22
+ connectionId: z.ZodString;
23
+ entityId: z.ZodString;
24
+ instanceId: z.ZodString;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ generic_api_key: z.ZodString;
27
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
28
+ connectionId: z.ZodString;
29
+ entityId: z.ZodString;
30
+ instanceId: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ generic_api_key: z.ZodString;
33
+ }, z.core.$strip>>]>;
22
34
  //#endregion
23
35
  export { removeBgGetAccount };
24
36
  //# sourceMappingURL=get-account.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-account.d.mts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-account.d.mts","names":[],"sources":["../../src/actions/get-account.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,cAAA,CAAA,CAAA,SAAA"}
@@ -48,7 +48,19 @@ declare const removeBgRemoveBg: import("@keystrokehq/action").WorkflowActionDefi
48
48
  image_file?: string | undefined;
49
49
  bg_image_url?: string | undefined;
50
50
  bg_image_file?: string | undefined;
51
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
51
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
52
+ connectionId: z.ZodString;
53
+ entityId: z.ZodString;
54
+ instanceId: z.ZodString;
55
+ }, z.core.$strip>, z.ZodObject<{
56
+ generic_api_key: z.ZodString;
57
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
58
+ connectionId: z.ZodString;
59
+ entityId: z.ZodString;
60
+ instanceId: z.ZodString;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ generic_api_key: z.ZodString;
63
+ }, z.core.$strip>>]>;
52
64
  //#endregion
53
65
  export { removeBgRemoveBg };
54
66
  //# sourceMappingURL=remove-bg.d.cts.map
@@ -48,7 +48,19 @@ declare const removeBgRemoveBg: import("@keystrokehq/action").WorkflowActionDefi
48
48
  image_file?: string | undefined;
49
49
  bg_image_url?: string | undefined;
50
50
  bg_image_file?: string | undefined;
51
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
51
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
52
+ connectionId: z.ZodString;
53
+ entityId: z.ZodString;
54
+ instanceId: z.ZodString;
55
+ }, z.core.$strip>, z.ZodObject<{
56
+ generic_api_key: z.ZodString;
57
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
58
+ connectionId: z.ZodString;
59
+ entityId: z.ZodString;
60
+ instanceId: z.ZodString;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ generic_api_key: z.ZodString;
63
+ }, z.core.$strip>>]>;
52
64
  //#endregion
53
65
  export { removeBgRemoveBg };
54
66
  //# sourceMappingURL=remove-bg.d.mts.map
@@ -25,7 +25,19 @@ declare const removeBgSubmitImprovement: import("@keystrokehq/action").WorkflowA
25
25
  } | undefined;
26
26
  image_file_b64?: string | undefined;
27
27
  image_filename?: string | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ generic_api_key: z.ZodString;
34
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ generic_api_key: z.ZodString;
40
+ }, z.core.$strip>>]>;
29
41
  //#endregion
30
42
  export { removeBgSubmitImprovement };
31
43
  //# sourceMappingURL=submit-improvement.d.cts.map
@@ -25,7 +25,19 @@ declare const removeBgSubmitImprovement: import("@keystrokehq/action").WorkflowA
25
25
  } | undefined;
26
26
  image_file_b64?: string | undefined;
27
27
  image_filename?: string | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ generic_api_key: z.ZodString;
34
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"remove_bg", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ generic_api_key: z.ZodString;
40
+ }, z.core.$strip>>]>;
29
41
  //#endregion
30
42
  export { removeBgSubmitImprovement };
31
43
  //# sourceMappingURL=submit-improvement.d.mts.map
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 removeBg = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const removeBg = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "remove_bg",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.removeBg = removeBg;
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 removeBg = defineApp({\n slug: \"remove_bg\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,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 removeBg = defineApp({\n slug: \"remove_bg\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAqB;CAChC,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 removeBg: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const removeBg: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"remove_bg", 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 { removeBg };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,cAAA,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 removeBg: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const removeBg: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"remove_bg", 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 { removeBg };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,cAAA,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 removeBg = defineApp({
4
5
  slug: "remove_bg",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { removeBg };
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 removeBg = defineApp({\n slug: \"remove_bg\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,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 removeBg = defineApp({\n slug: \"remove_bg\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAW,UAAU;CAChC,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/remove_bg",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"