@keystrokehq/plasmic 0.1.2 → 0.1.4
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.
- package/dist/actions/global-actions-provider.cjs +2 -2
- package/dist/actions/global-actions-provider.cjs.map +1 -1
- package/dist/actions/global-actions-provider.d.cts +3 -2
- package/dist/actions/global-actions-provider.d.mts +3 -2
- package/dist/actions/global-actions-provider.mjs +2 -2
- package/dist/actions/global-actions-provider.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4,8 +4,8 @@ let zod = require("zod");
|
|
|
4
4
|
const PlasmicGlobalActionsProviderInput = zod.z.object({ contexts: zod.z.array(zod.z.object({
|
|
5
5
|
name: zod.z.string().describe("Context key used in Plasmic designs"),
|
|
6
6
|
provider: zod.z.string().describe("Name of the React provider component for this context")
|
|
7
|
-
}).describe("Defines a single global context entry.")).describe("List of global contexts with their associated provider components") }).describe("Request model for generating Plasmic globalContexts snippet.");
|
|
8
|
-
const PlasmicGlobalActionsProviderOutput = zod.z.object({ snippet: zod.z.string().describe("JavaScript snippet for globalContexts configuration").nullable() }).describe("Response model containing the generated code snippet.");
|
|
7
|
+
}).passthrough().describe("Defines a single global context entry.")).describe("List of global contexts with their associated provider components") }).describe("Request model for generating Plasmic globalContexts snippet.");
|
|
8
|
+
const PlasmicGlobalActionsProviderOutput = zod.z.object({ snippet: zod.z.string().describe("JavaScript snippet for globalContexts configuration").nullable() }).passthrough().describe("Response model containing the generated code snippet.");
|
|
9
9
|
const plasmicGlobalActionsProvider = require_action.action("PLASMIC_GLOBAL_ACTIONS_PROVIDER", {
|
|
10
10
|
slug: "plasmic-global-actions-provider",
|
|
11
11
|
name: "Plasmic Global Actions Provider",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-actions-provider.cjs","names":["z","action"],"sources":["../../src/actions/global-actions-provider.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlasmicGlobalActionsProviderInput = z.object({\n contexts: z.array(z.object({\n name: z.string().describe(\"Context key used in Plasmic designs\"),\n provider: z.string().describe(\"Name of the React provider component for this context\"),\n}).describe(\"Defines a single global context entry.\")).describe(\"List of global contexts with their associated provider components\"),\n}).describe(\"Request model for generating Plasmic globalContexts snippet.\");\nexport const PlasmicGlobalActionsProviderOutput = z.object({\n snippet: z.string().describe(\"JavaScript snippet for globalContexts configuration\").nullable(),\n}).describe(\"Response model containing the generated code snippet.\");\n\nexport const plasmicGlobalActionsProvider = action(\"PLASMIC_GLOBAL_ACTIONS_PROVIDER\", {\n slug: \"plasmic-global-actions-provider\",\n name: \"Plasmic Global Actions Provider\",\n description: \"Tool to generate the globalContexts configuration snippet for Plasmic loader. Use when you need to configure global contexts after defining your React providers.\",\n input: PlasmicGlobalActionsProviderInput,\n output: PlasmicGlobalActionsProviderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC3B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AACvF,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,mEAAmE,
|
|
1
|
+
{"version":3,"file":"global-actions-provider.cjs","names":["z","action"],"sources":["../../src/actions/global-actions-provider.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlasmicGlobalActionsProviderInput = z.object({\n contexts: z.array(z.object({\n name: z.string().describe(\"Context key used in Plasmic designs\"),\n provider: z.string().describe(\"Name of the React provider component for this context\"),\n}).passthrough().describe(\"Defines a single global context entry.\")).describe(\"List of global contexts with their associated provider components\"),\n}).describe(\"Request model for generating Plasmic globalContexts snippet.\");\nexport const PlasmicGlobalActionsProviderOutput = z.object({\n snippet: z.string().describe(\"JavaScript snippet for globalContexts configuration\").nullable(),\n}).passthrough().describe(\"Response model containing the generated code snippet.\");\n\nexport const plasmicGlobalActionsProvider = action(\"PLASMIC_GLOBAL_ACTIONS_PROVIDER\", {\n slug: \"plasmic-global-actions-provider\",\n name: \"Plasmic Global Actions Provider\",\n description: \"Tool to generate the globalContexts configuration snippet for Plasmic loader. Use when you need to configure global contexts after defining your React providers.\",\n input: PlasmicGlobalActionsProviderInput,\n output: PlasmicGlobalActionsProviderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC3B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,mEAAmE,EACjJ,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,EAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,13 +5,14 @@ declare const PlasmicGlobalActionsProviderInput: z.ZodObject<{
|
|
|
5
5
|
contexts: z.ZodArray<z.ZodObject<{
|
|
6
6
|
name: z.ZodString;
|
|
7
7
|
provider: z.ZodString;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>>;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const PlasmicGlobalActionsProviderOutput: z.ZodObject<{
|
|
11
11
|
snippet: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const plasmicGlobalActionsProvider: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
contexts: {
|
|
15
|
+
[x: string]: unknown;
|
|
15
16
|
name: string;
|
|
16
17
|
provider: string;
|
|
17
18
|
}[];
|
|
@@ -5,13 +5,14 @@ declare const PlasmicGlobalActionsProviderInput: z.ZodObject<{
|
|
|
5
5
|
contexts: z.ZodArray<z.ZodObject<{
|
|
6
6
|
name: z.ZodString;
|
|
7
7
|
provider: z.ZodString;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>>;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const PlasmicGlobalActionsProviderOutput: z.ZodObject<{
|
|
11
11
|
snippet: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const plasmicGlobalActionsProvider: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
contexts: {
|
|
15
|
+
[x: string]: unknown;
|
|
15
16
|
name: string;
|
|
16
17
|
provider: string;
|
|
17
18
|
}[];
|
|
@@ -7,8 +7,8 @@ const plasmicGlobalActionsProvider = action("PLASMIC_GLOBAL_ACTIONS_PROVIDER", {
|
|
|
7
7
|
input: z.object({ contexts: z.array(z.object({
|
|
8
8
|
name: z.string().describe("Context key used in Plasmic designs"),
|
|
9
9
|
provider: z.string().describe("Name of the React provider component for this context")
|
|
10
|
-
}).describe("Defines a single global context entry.")).describe("List of global contexts with their associated provider components") }).describe("Request model for generating Plasmic globalContexts snippet."),
|
|
11
|
-
output: z.object({ snippet: z.string().describe("JavaScript snippet for globalContexts configuration").nullable() }).describe("Response model containing the generated code snippet.")
|
|
10
|
+
}).passthrough().describe("Defines a single global context entry.")).describe("List of global contexts with their associated provider components") }).describe("Request model for generating Plasmic globalContexts snippet."),
|
|
11
|
+
output: z.object({ snippet: z.string().describe("JavaScript snippet for globalContexts configuration").nullable() }).passthrough().describe("Response model containing the generated code snippet.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { plasmicGlobalActionsProvider };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-actions-provider.mjs","names":[],"sources":["../../src/actions/global-actions-provider.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlasmicGlobalActionsProviderInput = z.object({\n contexts: z.array(z.object({\n name: z.string().describe(\"Context key used in Plasmic designs\"),\n provider: z.string().describe(\"Name of the React provider component for this context\"),\n}).describe(\"Defines a single global context entry.\")).describe(\"List of global contexts with their associated provider components\"),\n}).describe(\"Request model for generating Plasmic globalContexts snippet.\");\nexport const PlasmicGlobalActionsProviderOutput = z.object({\n snippet: z.string().describe(\"JavaScript snippet for globalContexts configuration\").nullable(),\n}).describe(\"Response model containing the generated code snippet.\");\n\nexport const plasmicGlobalActionsProvider = action(\"PLASMIC_GLOBAL_ACTIONS_PROVIDER\", {\n slug: \"plasmic-global-actions-provider\",\n name: \"Plasmic Global Actions Provider\",\n description: \"Tool to generate the globalContexts configuration snippet for Plasmic loader. Use when you need to configure global contexts after defining your React providers.\",\n input: PlasmicGlobalActionsProviderInput,\n output: PlasmicGlobalActionsProviderOutput,\n});\n"],"mappings":";;AAcA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+C,EAAE,OAAO,EACxD,UAAU,EAAE,MAAM,EAAE,OAAO;EAC3B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,mEAAmE,
|
|
1
|
+
{"version":3,"file":"global-actions-provider.mjs","names":[],"sources":["../../src/actions/global-actions-provider.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlasmicGlobalActionsProviderInput = z.object({\n contexts: z.array(z.object({\n name: z.string().describe(\"Context key used in Plasmic designs\"),\n provider: z.string().describe(\"Name of the React provider component for this context\"),\n}).passthrough().describe(\"Defines a single global context entry.\")).describe(\"List of global contexts with their associated provider components\"),\n}).describe(\"Request model for generating Plasmic globalContexts snippet.\");\nexport const PlasmicGlobalActionsProviderOutput = z.object({\n snippet: z.string().describe(\"JavaScript snippet for globalContexts configuration\").nullable(),\n}).passthrough().describe(\"Response model containing the generated code snippet.\");\n\nexport const plasmicGlobalActionsProvider = action(\"PLASMIC_GLOBAL_ACTIONS_PROVIDER\", {\n slug: \"plasmic-global-actions-provider\",\n name: \"Plasmic Global Actions Provider\",\n description: \"Tool to generate the globalContexts configuration snippet for Plasmic loader. Use when you need to configure global contexts after defining your React providers.\",\n input: PlasmicGlobalActionsProviderInput,\n output: PlasmicGlobalActionsProviderOutput,\n});\n"],"mappings":";;AAcA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+C,EAAE,OAAO,EACxD,UAAU,EAAE,MAAM,EAAE,OAAO;EAC3B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,mEAAmE,EACjJ,CAAC,CAAC,CAAC,SAAS,8DASH;CACP,QATgD,EAAE,OAAO,EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,EAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -9,7 +9,7 @@ const plasmicCatalog = {
|
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
11
|
"credentialFields": {
|
|
12
|
-
"
|
|
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."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -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 \"
|
|
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"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ declare const plasmicCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
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.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const plasmicCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
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
|
-
"
|
|
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."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -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 \"
|
|
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"}
|