@keystrokehq/plasmic 0.1.3 → 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.
@@ -16,7 +16,21 @@ declare const plasmicGlobalActionsProvider: import("@keystrokehq/action").Workfl
16
16
  name: string;
17
17
  provider: string;
18
18
  }[];
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"plasmic", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ generic_api_key: z.ZodString;
25
+ generic_id: z.ZodString;
26
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"plasmic", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ generic_api_key: z.ZodString;
32
+ generic_id: z.ZodString;
33
+ }, z.core.$strip>>]>;
20
34
  //#endregion
21
35
  export { plasmicGlobalActionsProvider };
22
36
  //# sourceMappingURL=global-actions-provider.d.cts.map
@@ -16,7 +16,21 @@ declare const plasmicGlobalActionsProvider: import("@keystrokehq/action").Workfl
16
16
  name: string;
17
17
  provider: string;
18
18
  }[];
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"plasmic", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ generic_api_key: z.ZodString;
25
+ generic_id: z.ZodString;
26
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"plasmic", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ generic_api_key: z.ZodString;
32
+ generic_id: z.ZodString;
33
+ }, z.core.$strip>>]>;
20
34
  //#endregion
21
35
  export { plasmicGlobalActionsProvider };
22
36
  //# sourceMappingURL=global-actions-provider.d.mts.map
package/dist/app.cjs CHANGED
@@ -1,7 +1,13 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const plasmic = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const plasmic = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "plasmic",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ generic_api_key: zod.z.string(),
9
+ generic_id: zod.z.string()
10
+ }
5
11
  });
6
12
  //#endregion
7
13
  exports.plasmic = plasmic;
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 plasmic = defineApp({\n slug: \"plasmic\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,WAAA,uCAAA,CAAA,CAAA,UAAA,CAAoB;CAC/B,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 plasmic = defineApp({\n slug: \"plasmic\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n generic_id: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;CACN,YAAY;EACV,iBAAiBA,IAAAA,EAAE,OAAO;EAC1B,YAAYA,IAAAA,EAAE,OAAO;CACvB;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,14 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const plasmic: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const plasmic: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"plasmic", 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
+ generic_id: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { plasmic };
5
14
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,14 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const plasmic: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const plasmic: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"plasmic", 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
+ generic_id: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { plasmic };
5
14
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,13 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const plasmic = defineApp({
4
5
  slug: "plasmic",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ generic_api_key: z.string(),
9
+ generic_id: z.string()
10
+ }
6
11
  });
7
12
  //#endregion
8
13
  export { plasmic };
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 plasmic = defineApp({\n slug: \"plasmic\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,UAAU,UAAU;CAC/B,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 plasmic = defineApp({\n slug: \"plasmic\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n generic_id: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;CACN,YAAY;EACV,iBAAiB,EAAE,OAAO;EAC1B,YAAY,EAAE,OAAO;CACvB;AACF,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -9,7 +9,7 @@ const plasmicCatalog = {
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
11
  "credentialFields": {
12
- "api_key": {
12
+ "generic_api_key": {
13
13
  "label": "Plasmic Project API Token",
14
14
  "secret": true,
15
15
  "description": "The API token associated with your Plasmic project, used for authentication."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const plasmicCatalog = {\n \"slug\": \"plasmic\",\n \"name\": \"Plasmic\",\n \"description\": \"Plasmic is a visual builder for the web, enabling teams to create and manage web pages and components without code.\",\n \"category\": \"Website Builders\",\n \"logo\": \"https://logos.composio.dev/api/plasmic\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Plasmic Project API Token\",\n \"secret\": true,\n \"description\": \"The API token associated with your Plasmic project, used for authentication.\"\n },\n \"generic_id\": {\n \"label\": \"Plasmic Project ID\",\n \"description\": \"The unique identifier for your Plasmic project.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,WAAW;GACT,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,cAAc;GACZ,SAAS;GACT,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const plasmicCatalog = {\n \"slug\": \"plasmic\",\n \"name\": \"Plasmic\",\n \"description\": \"Plasmic is a visual builder for the web, enabling teams to create and manage web pages and components without code.\",\n \"category\": \"Website Builders\",\n \"logo\": \"https://logos.composio.dev/api/plasmic\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Plasmic Project API Token\",\n \"secret\": true,\n \"description\": \"The API token associated with your Plasmic project, used for authentication.\"\n },\n \"generic_id\": {\n \"label\": \"Plasmic Project ID\",\n \"description\": \"The unique identifier for your Plasmic project.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,cAAc;GACZ,SAAS;GACT,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
@@ -9,7 +9,7 @@ declare const plasmicCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "Plasmic Project API Token";
14
14
  readonly secret: true;
15
15
  readonly description: "The API token associated with your Plasmic project, used for authentication.";
@@ -9,7 +9,7 @@ declare const plasmicCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "Plasmic Project API Token";
14
14
  readonly secret: true;
15
15
  readonly description: "The API token associated with your Plasmic project, used for authentication.";
package/dist/catalog.mjs CHANGED
@@ -9,7 +9,7 @@ const plasmicCatalog = {
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
11
  "credentialFields": {
12
- "api_key": {
12
+ "generic_api_key": {
13
13
  "label": "Plasmic Project API Token",
14
14
  "secret": true,
15
15
  "description": "The API token associated with your Plasmic project, used for authentication."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const plasmicCatalog = {\n \"slug\": \"plasmic\",\n \"name\": \"Plasmic\",\n \"description\": \"Plasmic is a visual builder for the web, enabling teams to create and manage web pages and components without code.\",\n \"category\": \"Website Builders\",\n \"logo\": \"https://logos.composio.dev/api/plasmic\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Plasmic Project API Token\",\n \"secret\": true,\n \"description\": \"The API token associated with your Plasmic project, used for authentication.\"\n },\n \"generic_id\": {\n \"label\": \"Plasmic Project ID\",\n \"description\": \"The unique identifier for your Plasmic project.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,WAAW;GACT,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,cAAc;GACZ,SAAS;GACT,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const plasmicCatalog = {\n \"slug\": \"plasmic\",\n \"name\": \"Plasmic\",\n \"description\": \"Plasmic is a visual builder for the web, enabling teams to create and manage web pages and components without code.\",\n \"category\": \"Website Builders\",\n \"logo\": \"https://logos.composio.dev/api/plasmic\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Plasmic Project API Token\",\n \"secret\": true,\n \"description\": \"The API token associated with your Plasmic project, used for authentication.\"\n },\n \"generic_id\": {\n \"label\": \"Plasmic Project ID\",\n \"description\": \"The unique identifier for your Plasmic project.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,mBAAmB;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,cAAc;GACZ,SAAS;GACT,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/plasmic",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"