@keystrokehq/project_bubble 0.1.4 → 0.1.6

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.
Files changed (37) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/data-api-get-data-type-fields.cjs +1 -0
  4. package/dist/actions/data-api-get-data-type-fields.cjs.map +1 -1
  5. package/dist/actions/data-api-get-data-type-fields.d.cts +3 -3
  6. package/dist/actions/data-api-get-data-type-fields.d.cts.map +1 -1
  7. package/dist/actions/data-api-get-data-type-fields.d.mts +3 -3
  8. package/dist/actions/data-api-get-data-type-fields.d.mts.map +1 -1
  9. package/dist/actions/data-api-get-data-type-fields.mjs +1 -0
  10. package/dist/actions/data-api-get-data-type-fields.mjs.map +1 -1
  11. package/dist/actions/data-api-get-objects.cjs +1 -0
  12. package/dist/actions/data-api-get-objects.cjs.map +1 -1
  13. package/dist/actions/data-api-get-objects.d.cts +3 -10
  14. package/dist/actions/data-api-get-objects.d.cts.map +1 -1
  15. package/dist/actions/data-api-get-objects.d.mts +3 -10
  16. package/dist/actions/data-api-get-objects.d.mts.map +1 -1
  17. package/dist/actions/data-api-get-objects.mjs +1 -0
  18. package/dist/actions/data-api-get-objects.mjs.map +1 -1
  19. package/dist/actions/data-api-get-record.cjs +1 -0
  20. package/dist/actions/data-api-get-record.cjs.map +1 -1
  21. package/dist/actions/data-api-get-record.d.cts +3 -4
  22. package/dist/actions/data-api-get-record.d.cts.map +1 -1
  23. package/dist/actions/data-api-get-record.d.mts +3 -4
  24. package/dist/actions/data-api-get-record.d.mts.map +1 -1
  25. package/dist/actions/data-api-get-record.mjs +1 -0
  26. package/dist/actions/data-api-get-record.mjs.map +1 -1
  27. package/dist/app.cjs +9 -2
  28. package/dist/app.cjs.map +1 -1
  29. package/dist/app.d.cts +8 -1
  30. package/dist/app.d.cts.map +1 -1
  31. package/dist/app.d.mts +8 -1
  32. package/dist/app.d.mts.map +1 -1
  33. package/dist/app.mjs +6 -2
  34. package/dist/app.mjs.map +1 -1
  35. package/dist/index.d.cts +1 -1
  36. package/dist/index.d.mts +1 -1
  37. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["projectBubble","executeProjectBubbleTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { projectBubble } from \"./app\";\nimport { executeProjectBubbleTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return projectBubble.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeProjectBubbleTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,cAAc,OAAO;EAC1B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["projectBubble","executeProjectBubbleTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { projectBubble } from \"./app\";\nimport { executeProjectBubbleTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof projectBubble.credential> {\n return projectBubble.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeProjectBubbleTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO6D;CAC7D,OAAOA,YAAAA,cAAc,OAAO;EAC1B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { projectBubble } from \"./app\";\nimport { executeProjectBubbleTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return projectBubble.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeProjectBubbleTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,cAAc,OAAO;EAC1B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { projectBubble } from \"./app\";\nimport { executeProjectBubbleTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof projectBubble.credential> {\n return projectBubble.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeProjectBubbleTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO6D;CAC7D,OAAO,cAAc,OAAO;EAC1B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/data-api-get-data-type-fields.ts
@@ -1 +1 @@
1
- {"version":3,"file":"data-api-get-data-type-fields.cjs","names":["z","action"],"sources":["../../src/actions/data-api-get-data-type-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProjectBubbleDataApiGetDataTypeFieldsInput = z.object({\n data_type: z.string().describe(\"The name of the Bubble data type to retrieve field schema for (case-sensitive).\"),\n}).describe(\"Request model for retrieving fields of a specific Bubble data type.\");\nconst ProjectBubbleDataApiGetDataTypeFields_DataTypeFieldInfoSchema = z.object({\n name: z.string().describe(\"Name of the field\").nullable(),\n type: z.string().describe(\"Data type of the field (e.g., 'text', 'number')\").nullable(),\n required: z.boolean().describe(\"Whether the field is required\").nullable(),\n description: z.string().describe(\"Optional description of the field\").nullable().optional(),\n}).passthrough().describe(\"Model for a single field in a data type.\");\nexport const ProjectBubbleDataApiGetDataTypeFieldsOutput = z.object({\n fields: z.array(ProjectBubbleDataApiGetDataTypeFields_DataTypeFieldInfoSchema).describe(\"List of custom fields defined for this data type. Empty list indicates no custom fields are configured.\"),\n}).passthrough().describe(\"Response model for retrieving fields of a specific Bubble data type.\");\n\nexport const projectBubbleDataApiGetDataTypeFields = action(\"PROJECT_BUBBLE_DATA_API_GET_DATA_TYPE_FIELDS\", {\n slug: \"project_bubble-data-api-get-data-type-fields\",\n name: \"Data API Get Data Type Fields\",\n description: \"Retrieves the field schema for a specific Bubble data type, returning metadata about each field including its name, data type, and whether it's required. Use this after discovering available data types to understand their structure before querying or manipulating records.\",\n input: ProjectBubbleDataApiGetDataTypeFieldsInput,\n output: ProjectBubbleDataApiGetDataTypeFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,EAClH,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,gEAAgEA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,8CAA8CA,IAAAA,EAAE,OAAO,EAClE,QAAQA,IAAAA,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,yGAAyG,EACnM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,wCAAwCC,eAAAA,OAAO,gDAAgD;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"data-api-get-data-type-fields.cjs","names":["z","action"],"sources":["../../src/actions/data-api-get-data-type-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { projectBubble } from \"../app\";\n\nexport const ProjectBubbleDataApiGetDataTypeFieldsInput = z.object({\n data_type: z.string().describe(\"The name of the Bubble data type to retrieve field schema for (case-sensitive).\"),\n}).describe(\"Request model for retrieving fields of a specific Bubble data type.\");\nconst ProjectBubbleDataApiGetDataTypeFields_DataTypeFieldInfoSchema = z.object({\n name: z.string().describe(\"Name of the field\").nullable(),\n type: z.string().describe(\"Data type of the field (e.g., 'text', 'number')\").nullable(),\n required: z.boolean().describe(\"Whether the field is required\").nullable(),\n description: z.string().describe(\"Optional description of the field\").nullable().optional(),\n}).passthrough().describe(\"Model for a single field in a data type.\");\nexport const ProjectBubbleDataApiGetDataTypeFieldsOutput = z.object({\n fields: z.array(ProjectBubbleDataApiGetDataTypeFields_DataTypeFieldInfoSchema).describe(\"List of custom fields defined for this data type. Empty list indicates no custom fields are configured.\"),\n}).passthrough().describe(\"Response model for retrieving fields of a specific Bubble data type.\");\n\nexport const projectBubbleDataApiGetDataTypeFields: AppAction<\n typeof ProjectBubbleDataApiGetDataTypeFieldsInput,\n typeof ProjectBubbleDataApiGetDataTypeFieldsOutput,\n typeof projectBubble.credential\n> = action(\"PROJECT_BUBBLE_DATA_API_GET_DATA_TYPE_FIELDS\", {\n slug: \"project_bubble-data-api-get-data-type-fields\",\n name: \"Data API Get Data Type Fields\",\n description: \"Retrieves the field schema for a specific Bubble data type, returning metadata about each field including its name, data type, and whether it's required. Use this after discovering available data types to understand their structure before querying or manipulating records.\",\n input: ProjectBubbleDataApiGetDataTypeFieldsInput,\n output: ProjectBubbleDataApiGetDataTypeFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,EAClH,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,gEAAgEA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,8CAA8CA,IAAAA,EAAE,OAAO,EAClE,QAAQA,IAAAA,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,yGAAyG,EACnM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,wCAITC,eAAAA,OAAO,gDAAgD;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { projectBubble } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/data-api-get-data-type-fields.d.ts
@@ -12,9 +14,7 @@ declare const ProjectBubbleDataApiGetDataTypeFieldsOutput: z.ZodObject<{
12
14
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  }, z.core.$loose>>;
14
16
  }, z.core.$loose>;
15
- declare const projectBubbleDataApiGetDataTypeFields: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- data_type: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const projectBubbleDataApiGetDataTypeFields: AppAction<typeof ProjectBubbleDataApiGetDataTypeFieldsInput, typeof ProjectBubbleDataApiGetDataTypeFieldsOutput, typeof projectBubble.credential>;
18
18
  //#endregion
19
19
  export { projectBubbleDataApiGetDataTypeFields };
20
20
  //# sourceMappingURL=data-api-get-data-type-fields.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-api-get-data-type-fields.d.cts","names":[],"sources":["../../src/actions/data-api-get-data-type-fields.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAS1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;cAI3C,qCAAA,gCAAqC,wBAAA"}
1
+ {"version":3,"file":"data-api-get-data-type-fields.d.cts","names":[],"sources":["../../src/actions/data-api-get-data-type-fields.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAS1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;cAI3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { projectBubble } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/data-api-get-data-type-fields.d.ts
@@ -12,9 +14,7 @@ declare const ProjectBubbleDataApiGetDataTypeFieldsOutput: z.ZodObject<{
12
14
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  }, z.core.$loose>>;
14
16
  }, z.core.$loose>;
15
- declare const projectBubbleDataApiGetDataTypeFields: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- data_type: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const projectBubbleDataApiGetDataTypeFields: AppAction<typeof ProjectBubbleDataApiGetDataTypeFieldsInput, typeof ProjectBubbleDataApiGetDataTypeFieldsOutput, typeof projectBubble.credential>;
18
18
  //#endregion
19
19
  export { projectBubbleDataApiGetDataTypeFields };
20
20
  //# sourceMappingURL=data-api-get-data-type-fields.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-api-get-data-type-fields.d.mts","names":[],"sources":["../../src/actions/data-api-get-data-type-fields.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAS1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;cAI3C,qCAAA,gCAAqC,wBAAA"}
1
+ {"version":3,"file":"data-api-get-data-type-fields.d.mts","names":[],"sources":["../../src/actions/data-api-get-data-type-fields.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAS1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;cAI3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/data-api-get-data-type-fields.ts
@@ -1 +1 @@
1
- {"version":3,"file":"data-api-get-data-type-fields.mjs","names":[],"sources":["../../src/actions/data-api-get-data-type-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProjectBubbleDataApiGetDataTypeFieldsInput = z.object({\n data_type: z.string().describe(\"The name of the Bubble data type to retrieve field schema for (case-sensitive).\"),\n}).describe(\"Request model for retrieving fields of a specific Bubble data type.\");\nconst ProjectBubbleDataApiGetDataTypeFields_DataTypeFieldInfoSchema = z.object({\n name: z.string().describe(\"Name of the field\").nullable(),\n type: z.string().describe(\"Data type of the field (e.g., 'text', 'number')\").nullable(),\n required: z.boolean().describe(\"Whether the field is required\").nullable(),\n description: z.string().describe(\"Optional description of the field\").nullable().optional(),\n}).passthrough().describe(\"Model for a single field in a data type.\");\nexport const ProjectBubbleDataApiGetDataTypeFieldsOutput = z.object({\n fields: z.array(ProjectBubbleDataApiGetDataTypeFields_DataTypeFieldInfoSchema).describe(\"List of custom fields defined for this data type. Empty list indicates no custom fields are configured.\"),\n}).passthrough().describe(\"Response model for retrieving fields of a specific Bubble data type.\");\n\nexport const projectBubbleDataApiGetDataTypeFields = action(\"PROJECT_BUBBLE_DATA_API_GET_DATA_TYPE_FIELDS\", {\n slug: \"project_bubble-data-api-get-data-type-fields\",\n name: \"Data API Get Data Type Fields\",\n description: \"Retrieves the field schema for a specific Bubble data type, returning metadata about each field including its name, data type, and whether it's required. Use this after discovering available data types to understand their structure before querying or manipulating records.\",\n input: ProjectBubbleDataApiGetDataTypeFieldsInput,\n output: ProjectBubbleDataApiGetDataTypeFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO,EACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,EAClH,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,gEAAgE,EAAE,OAAO;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,wCAAwC,OAAO,gDAAgD;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyD,EAAE,OAAO,EAClE,QAAQ,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,yGAAyG,EACnM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"data-api-get-data-type-fields.mjs","names":[],"sources":["../../src/actions/data-api-get-data-type-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { projectBubble } from \"../app\";\n\nexport const ProjectBubbleDataApiGetDataTypeFieldsInput = z.object({\n data_type: z.string().describe(\"The name of the Bubble data type to retrieve field schema for (case-sensitive).\"),\n}).describe(\"Request model for retrieving fields of a specific Bubble data type.\");\nconst ProjectBubbleDataApiGetDataTypeFields_DataTypeFieldInfoSchema = z.object({\n name: z.string().describe(\"Name of the field\").nullable(),\n type: z.string().describe(\"Data type of the field (e.g., 'text', 'number')\").nullable(),\n required: z.boolean().describe(\"Whether the field is required\").nullable(),\n description: z.string().describe(\"Optional description of the field\").nullable().optional(),\n}).passthrough().describe(\"Model for a single field in a data type.\");\nexport const ProjectBubbleDataApiGetDataTypeFieldsOutput = z.object({\n fields: z.array(ProjectBubbleDataApiGetDataTypeFields_DataTypeFieldInfoSchema).describe(\"List of custom fields defined for this data type. Empty list indicates no custom fields are configured.\"),\n}).passthrough().describe(\"Response model for retrieving fields of a specific Bubble data type.\");\n\nexport const projectBubbleDataApiGetDataTypeFields: AppAction<\n typeof ProjectBubbleDataApiGetDataTypeFieldsInput,\n typeof ProjectBubbleDataApiGetDataTypeFieldsOutput,\n typeof projectBubble.credential\n> = action(\"PROJECT_BUBBLE_DATA_API_GET_DATA_TYPE_FIELDS\", {\n slug: \"project_bubble-data-api-get-data-type-fields\",\n name: \"Data API Get Data Type Fields\",\n description: \"Retrieves the field schema for a specific Bubble data type, returning metadata about each field including its name, data type, and whether it's required. Use this after discovering available data types to understand their structure before querying or manipulating records.\",\n input: ProjectBubbleDataApiGetDataTypeFieldsInput,\n output: ProjectBubbleDataApiGetDataTypeFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6CAA6C,EAAE,OAAO,EACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,EAClH,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,gEAAgE,EAAE,OAAO;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,wCAIT,OAAO,gDAAgD;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyD,EAAE,OAAO,EAClE,QAAQ,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,yGAAyG,EACnM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/data-api-get-objects.ts
@@ -1 +1 @@
1
- {"version":3,"file":"data-api-get-objects.cjs","names":["z","action"],"sources":["../../src/actions/data-api-get-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProjectBubbleDataApiGetObjectsInput = z.object({\n count: z.enum([\"yes\", \"no\"]).describe(\"If 'yes', return only the total count of matching objects instead of object data.\").optional(),\n limit: z.number().int().describe(\"Maximum number of objects to return (1–1000). Defaults to server-side setting if omitted.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response for fetching the next page.\").optional(),\n data_type: z.string().describe(\"Name of the Bubble data type to list objects from (case-sensitive).\"),\n descending: z.enum([\"yes\", \"no\"]).describe(\"Sort in descending order when 'yes'; ascending when 'no' or omitted.\").optional(),\n sort_field: z.string().describe(\"Field name to sort results by (must be a valid field on the data type).\").optional(),\n constraints: z.string().describe(\"JSON-encoded search constraints to filter objects. For example: '{\\\"Status\\\":\\\"Active\\\"}'.\").optional(),\n ignore_fields: z.enum([\"yes\", \"no\"]).describe(\"If 'yes', omit null-valued fields in each returned object.\").optional(),\n}).describe(\"Request model for retrieving multiple objects from a Bubble Data API data type.\");\nexport const ProjectBubbleDataApiGetObjectsOutput = z.object({\n count: z.number().int().describe(\"Total count of matching objects. Present only when count='yes'.\").nullable().optional(),\n results: z.array(z.record(z.string(), z.unknown())).describe(\"List of objects matching the query. Each object includes its fields and metadata. Omitted when count='yes'.\").nullable().optional(),\n remaining: z.number().int().describe(\"Estimated number of objects remaining beyond the returned results.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing objects in a Bubble Data API data type.\");\n\nexport const projectBubbleDataApiGetObjects = action(\"PROJECT_BUBBLE_DATA_API_GET_OBJECTS\", {\n slug: \"project_bubble-data-api-get-objects\",\n name: \"Data API Get Objects\",\n description: \"Tool to retrieve a list of objects for a specified data type. Use when you need to list items with optional filters, sorting, and pagination.\",\n input: ProjectBubbleDataApiGetObjectsInput,\n output: ProjectBubbleDataApiGetObjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACpI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACvI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC/G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACpG,YAAYA,IAAAA,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACpH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACxI,eAAeA,IAAAA,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"data-api-get-objects.cjs","names":["z","action"],"sources":["../../src/actions/data-api-get-objects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { projectBubble } from \"../app\";\n\nexport const ProjectBubbleDataApiGetObjectsInput = z.object({\n count: z.enum([\"yes\", \"no\"]).describe(\"If 'yes', return only the total count of matching objects instead of object data.\").optional(),\n limit: z.number().int().describe(\"Maximum number of objects to return (1–1000). Defaults to server-side setting if omitted.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response for fetching the next page.\").optional(),\n data_type: z.string().describe(\"Name of the Bubble data type to list objects from (case-sensitive).\"),\n descending: z.enum([\"yes\", \"no\"]).describe(\"Sort in descending order when 'yes'; ascending when 'no' or omitted.\").optional(),\n sort_field: z.string().describe(\"Field name to sort results by (must be a valid field on the data type).\").optional(),\n constraints: z.string().describe(\"JSON-encoded search constraints to filter objects. For example: '{\\\"Status\\\":\\\"Active\\\"}'.\").optional(),\n ignore_fields: z.enum([\"yes\", \"no\"]).describe(\"If 'yes', omit null-valued fields in each returned object.\").optional(),\n}).describe(\"Request model for retrieving multiple objects from a Bubble Data API data type.\");\nexport const ProjectBubbleDataApiGetObjectsOutput = z.object({\n count: z.number().int().describe(\"Total count of matching objects. Present only when count='yes'.\").nullable().optional(),\n results: z.array(z.record(z.string(), z.unknown())).describe(\"List of objects matching the query. Each object includes its fields and metadata. Omitted when count='yes'.\").nullable().optional(),\n remaining: z.number().int().describe(\"Estimated number of objects remaining beyond the returned results.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing objects in a Bubble Data API data type.\");\n\nexport const projectBubbleDataApiGetObjects: AppAction<\n typeof ProjectBubbleDataApiGetObjectsInput,\n typeof ProjectBubbleDataApiGetObjectsOutput,\n typeof projectBubble.credential\n> = action(\"PROJECT_BUBBLE_DATA_API_GET_OBJECTS\", {\n slug: \"project_bubble-data-api-get-objects\",\n name: \"Data API Get Objects\",\n description: \"Tool to retrieve a list of objects for a specified data type. Use when you need to list items with optional filters, sorting, and pagination.\",\n input: ProjectBubbleDataApiGetObjectsInput,\n output: ProjectBubbleDataApiGetObjectsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACpI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACvI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC/G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACpG,YAAYA,IAAAA,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACpH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACxI,eAAeA,IAAAA,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,iFAAiF;AAC7F,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,iCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { projectBubble } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/data-api-get-objects.d.ts
@@ -25,16 +27,7 @@ declare const ProjectBubbleDataApiGetObjectsOutput: z.ZodObject<{
25
27
  results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
26
28
  remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
29
  }, z.core.$loose>;
28
- declare const projectBubbleDataApiGetObjects: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- data_type: string;
30
- count?: "yes" | "no" | undefined;
31
- limit?: number | undefined;
32
- cursor?: string | undefined;
33
- descending?: "yes" | "no" | undefined;
34
- sort_field?: string | undefined;
35
- constraints?: string | undefined;
36
- ignore_fields?: "yes" | "no" | undefined;
37
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ declare const projectBubbleDataApiGetObjects: AppAction<typeof ProjectBubbleDataApiGetObjectsInput, typeof ProjectBubbleDataApiGetObjectsOutput, typeof projectBubble.credential>;
38
31
  //#endregion
39
32
  export { projectBubbleDataApiGetObjects };
40
33
  //# sourceMappingURL=data-api-get-objects.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-api-get-objects.d.cts","names":[],"sources":["../../src/actions/data-api-get-objects.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAUnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAMpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"data-api-get-objects.d.cts","names":[],"sources":["../../src/actions/data-api-get-objects.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAUnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAMpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { projectBubble } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/data-api-get-objects.d.ts
@@ -25,16 +27,7 @@ declare const ProjectBubbleDataApiGetObjectsOutput: z.ZodObject<{
25
27
  results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
26
28
  remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
29
  }, z.core.$loose>;
28
- declare const projectBubbleDataApiGetObjects: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- data_type: string;
30
- count?: "yes" | "no" | undefined;
31
- limit?: number | undefined;
32
- cursor?: string | undefined;
33
- descending?: "yes" | "no" | undefined;
34
- sort_field?: string | undefined;
35
- constraints?: string | undefined;
36
- ignore_fields?: "yes" | "no" | undefined;
37
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ declare const projectBubbleDataApiGetObjects: AppAction<typeof ProjectBubbleDataApiGetObjectsInput, typeof ProjectBubbleDataApiGetObjectsOutput, typeof projectBubble.credential>;
38
31
  //#endregion
39
32
  export { projectBubbleDataApiGetObjects };
40
33
  //# sourceMappingURL=data-api-get-objects.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-api-get-objects.d.mts","names":[],"sources":["../../src/actions/data-api-get-objects.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAUnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAMpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"data-api-get-objects.d.mts","names":[],"sources":["../../src/actions/data-api-get-objects.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAUnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;cAMpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const projectBubbleDataApiGetObjects = action("PROJECT_BUBBLE_DATA_API_GET_OBJECTS", {
@@ -1 +1 @@
1
- {"version":3,"file":"data-api-get-objects.mjs","names":[],"sources":["../../src/actions/data-api-get-objects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProjectBubbleDataApiGetObjectsInput = z.object({\n count: z.enum([\"yes\", \"no\"]).describe(\"If 'yes', return only the total count of matching objects instead of object data.\").optional(),\n limit: z.number().int().describe(\"Maximum number of objects to return (1–1000). Defaults to server-side setting if omitted.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response for fetching the next page.\").optional(),\n data_type: z.string().describe(\"Name of the Bubble data type to list objects from (case-sensitive).\"),\n descending: z.enum([\"yes\", \"no\"]).describe(\"Sort in descending order when 'yes'; ascending when 'no' or omitted.\").optional(),\n sort_field: z.string().describe(\"Field name to sort results by (must be a valid field on the data type).\").optional(),\n constraints: z.string().describe(\"JSON-encoded search constraints to filter objects. For example: '{\\\"Status\\\":\\\"Active\\\"}'.\").optional(),\n ignore_fields: z.enum([\"yes\", \"no\"]).describe(\"If 'yes', omit null-valued fields in each returned object.\").optional(),\n}).describe(\"Request model for retrieving multiple objects from a Bubble Data API data type.\");\nexport const ProjectBubbleDataApiGetObjectsOutput = z.object({\n count: z.number().int().describe(\"Total count of matching objects. Present only when count='yes'.\").nullable().optional(),\n results: z.array(z.record(z.string(), z.unknown())).describe(\"List of objects matching the query. Each object includes its fields and metadata. Omitted when count='yes'.\").nullable().optional(),\n remaining: z.number().int().describe(\"Estimated number of objects remaining beyond the returned results.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing objects in a Bubble Data API data type.\");\n\nexport const projectBubbleDataApiGetObjects = action(\"PROJECT_BUBBLE_DATA_API_GET_OBJECTS\", {\n slug: \"project_bubble-data-api-get-objects\",\n name: \"Data API Get Objects\",\n description: \"Tool to retrieve a list of objects for a specified data type. Use when you need to list items with optional filters, sorting, and pagination.\",\n input: ProjectBubbleDataApiGetObjectsInput,\n output: ProjectBubbleDataApiGetObjectsOutput,\n});\n"],"mappings":";;AAoBA,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBiD,EAAE,OAAO;EAC1D,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACpI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACvI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAC/G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACpG,YAAY,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC5H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACpH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;EACxI,eAAe,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,SAAS,iFAWH;CACP,QAXkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChM,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"data-api-get-objects.mjs","names":[],"sources":["../../src/actions/data-api-get-objects.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { projectBubble } from \"../app\";\n\nexport const ProjectBubbleDataApiGetObjectsInput = z.object({\n count: z.enum([\"yes\", \"no\"]).describe(\"If 'yes', return only the total count of matching objects instead of object data.\").optional(),\n limit: z.number().int().describe(\"Maximum number of objects to return (1–1000). Defaults to server-side setting if omitted.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response for fetching the next page.\").optional(),\n data_type: z.string().describe(\"Name of the Bubble data type to list objects from (case-sensitive).\"),\n descending: z.enum([\"yes\", \"no\"]).describe(\"Sort in descending order when 'yes'; ascending when 'no' or omitted.\").optional(),\n sort_field: z.string().describe(\"Field name to sort results by (must be a valid field on the data type).\").optional(),\n constraints: z.string().describe(\"JSON-encoded search constraints to filter objects. For example: '{\\\"Status\\\":\\\"Active\\\"}'.\").optional(),\n ignore_fields: z.enum([\"yes\", \"no\"]).describe(\"If 'yes', omit null-valued fields in each returned object.\").optional(),\n}).describe(\"Request model for retrieving multiple objects from a Bubble Data API data type.\");\nexport const ProjectBubbleDataApiGetObjectsOutput = z.object({\n count: z.number().int().describe(\"Total count of matching objects. Present only when count='yes'.\").nullable().optional(),\n results: z.array(z.record(z.string(), z.unknown())).describe(\"List of objects matching the query. Each object includes its fields and metadata. Omitted when count='yes'.\").nullable().optional(),\n remaining: z.number().int().describe(\"Estimated number of objects remaining beyond the returned results.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing objects in a Bubble Data API data type.\");\n\nexport const projectBubbleDataApiGetObjects: AppAction<\n typeof ProjectBubbleDataApiGetObjectsInput,\n typeof ProjectBubbleDataApiGetObjectsOutput,\n typeof projectBubble.credential\n> = action(\"PROJECT_BUBBLE_DATA_API_GET_OBJECTS\", {\n slug: \"project_bubble-data-api-get-objects\",\n name: \"Data API Get Objects\",\n description: \"Tool to retrieve a list of objects for a specified data type. Use when you need to list items with optional filters, sorting, and pagination.\",\n input: ProjectBubbleDataApiGetObjectsInput,\n output: ProjectBubbleDataApiGetObjectsOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,iCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBiD,EAAE,OAAO;EAC1D,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACpI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACvI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAC/G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACpG,YAAY,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC5H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACpH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;EACxI,eAAe,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,SAAS,iFAeH;CACP,QAfkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChM,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/data-api-get-record.ts
@@ -1 +1 @@
1
- {"version":3,"file":"data-api-get-record.cjs","names":["z","action"],"sources":["../../src/actions/data-api-get-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProjectBubbleDataApiGetRecordInput = z.object({\n id: z.string().describe(\"The unique identifier of the specific record to retrieve. This is the record's ID from the database.\"),\n type: z.string().describe(\"The data type (table/collection) name from which to retrieve the record. Must match an existing data type name exactly (case-sensitive).\"),\n}).describe(\"Input parameters for fetching a specific Bubble Data API record by ID.\");\nexport const ProjectBubbleDataApiGetRecordOutput = z.object({\n id: z.string().describe(\"Unique identifier of the record.\").nullable(),\n created_date: z.string().describe(\"Creation date in ISO 8601 format.\").nullable().optional(),\n modified_date: z.string().describe(\"Last modification date in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a Bubble Data API record.\\nContains record metadata and dynamic fields for all record properties.\");\n\nexport const projectBubbleDataApiGetRecord = action(\"PROJECT_BUBBLE_DATA_API_GET_RECORD\", {\n slug: \"project_bubble-data-api-get-record\",\n name: \"Get Record By ID\",\n description: \"Retrieves a single record by its unique ID from a specified data type (table/collection). Use this when you need to fetch detailed information about a specific record and you already know its ID. The response includes all fields defined for that record, plus metadata like creation and modification dates. Common use cases: - Fetching full details of a specific team, user, or project by ID - Retrieving a record after getting its ID from a list/search operation - Accessing individual record properties for further processing Note: Returns an error if the record doesn't exist or you don't have permission to access it.\",\n input: ProjectBubbleDataApiGetRecordInput,\n output: ProjectBubbleDataApiGetRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CAC9H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;AACtK,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uHAAuH;AAEjJ,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"data-api-get-record.cjs","names":["z","action"],"sources":["../../src/actions/data-api-get-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { projectBubble } from \"../app\";\n\nexport const ProjectBubbleDataApiGetRecordInput = z.object({\n id: z.string().describe(\"The unique identifier of the specific record to retrieve. This is the record's ID from the database.\"),\n type: z.string().describe(\"The data type (table/collection) name from which to retrieve the record. Must match an existing data type name exactly (case-sensitive).\"),\n}).describe(\"Input parameters for fetching a specific Bubble Data API record by ID.\");\nexport const ProjectBubbleDataApiGetRecordOutput = z.object({\n id: z.string().describe(\"Unique identifier of the record.\").nullable(),\n created_date: z.string().describe(\"Creation date in ISO 8601 format.\").nullable().optional(),\n modified_date: z.string().describe(\"Last modification date in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a Bubble Data API record.\\nContains record metadata and dynamic fields for all record properties.\");\n\nexport const projectBubbleDataApiGetRecord: AppAction<\n typeof ProjectBubbleDataApiGetRecordInput,\n typeof ProjectBubbleDataApiGetRecordOutput,\n typeof projectBubble.credential\n> = action(\"PROJECT_BUBBLE_DATA_API_GET_RECORD\", {\n slug: \"project_bubble-data-api-get-record\",\n name: \"Get Record By ID\",\n description: \"Retrieves a single record by its unique ID from a specified data type (table/collection). Use this when you need to fetch detailed information about a specific record and you already know its ID. The response includes all fields defined for that record, plus metadata like creation and modification dates. Common use cases: - Fetching full details of a specific team, user, or project by ID - Retrieving a record after getting its ID from a list/search operation - Accessing individual record properties for further processing Note: Returns an error if the record doesn't exist or you don't have permission to access it.\",\n input: ProjectBubbleDataApiGetRecordInput,\n output: ProjectBubbleDataApiGetRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;CAC9H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;AACtK,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uHAAuH;AAEjJ,MAAa,gCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { projectBubble } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/data-api-get-record.d.ts
@@ -10,10 +12,7 @@ declare const ProjectBubbleDataApiGetRecordOutput: z.ZodObject<{
10
12
  created_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  modified_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  }, z.core.$loose>;
13
- declare const projectBubbleDataApiGetRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- id: string;
15
- type: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const projectBubbleDataApiGetRecord: AppAction<typeof ProjectBubbleDataApiGetRecordInput, typeof ProjectBubbleDataApiGetRecordOutput, typeof projectBubble.credential>;
17
16
  //#endregion
18
17
  export { projectBubbleDataApiGetRecord };
19
18
  //# sourceMappingURL=data-api-get-record.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-api-get-record.d.cts","names":[],"sources":["../../src/actions/data-api-get-record.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAMnC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"data-api-get-record.d.cts","names":[],"sources":["../../src/actions/data-api-get-record.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAMnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { projectBubble } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/data-api-get-record.d.ts
@@ -10,10 +12,7 @@ declare const ProjectBubbleDataApiGetRecordOutput: z.ZodObject<{
10
12
  created_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
13
  modified_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
14
  }, z.core.$loose>;
13
- declare const projectBubbleDataApiGetRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- id: string;
15
- type: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const projectBubbleDataApiGetRecord: AppAction<typeof ProjectBubbleDataApiGetRecordInput, typeof ProjectBubbleDataApiGetRecordOutput, typeof projectBubble.credential>;
17
16
  //#endregion
18
17
  export { projectBubbleDataApiGetRecord };
19
18
  //# sourceMappingURL=data-api-get-record.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-api-get-record.d.mts","names":[],"sources":["../../src/actions/data-api-get-record.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAMnC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"data-api-get-record.d.mts","names":[],"sources":["../../src/actions/data-api-get-record.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;cAMnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,aAAA,CAAc,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const projectBubbleDataApiGetRecord = action("PROJECT_BUBBLE_DATA_API_GET_RECORD", {
@@ -1 +1 @@
1
- {"version":3,"file":"data-api-get-record.mjs","names":[],"sources":["../../src/actions/data-api-get-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProjectBubbleDataApiGetRecordInput = z.object({\n id: z.string().describe(\"The unique identifier of the specific record to retrieve. This is the record's ID from the database.\"),\n type: z.string().describe(\"The data type (table/collection) name from which to retrieve the record. Must match an existing data type name exactly (case-sensitive).\"),\n}).describe(\"Input parameters for fetching a specific Bubble Data API record by ID.\");\nexport const ProjectBubbleDataApiGetRecordOutput = z.object({\n id: z.string().describe(\"Unique identifier of the record.\").nullable(),\n created_date: z.string().describe(\"Creation date in ISO 8601 format.\").nullable().optional(),\n modified_date: z.string().describe(\"Last modification date in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a Bubble Data API record.\\nContains record metadata and dynamic fields for all record properties.\");\n\nexport const projectBubbleDataApiGetRecord = action(\"PROJECT_BUBBLE_DATA_API_GET_RECORD\", {\n slug: \"project_bubble-data-api-get-record\",\n name: \"Get Record By ID\",\n description: \"Retrieves a single record by its unique ID from a specified data type (table/collection). Use this when you need to fetch detailed information about a specific record and you already know its ID. The response includes all fields defined for that record, plus metadata like creation and modification dates. Common use cases: - Fetching full details of a specific team, user, or project by ID - Retrieving a record after getting its ID from a list/search operation - Accessing individual record properties for further processing Note: Returns an error if the record doesn't exist or you don't have permission to access it.\",\n input: ProjectBubbleDataApiGetRecordInput,\n output: ProjectBubbleDataApiGetRecordOutput,\n});\n"],"mappings":";;AAcA,MAAa,gCAAgC,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;EAC9H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACtK,CAAC,CAAC,CAAC,SAAS,wEAWH;CACP,QAXiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACrE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uHAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"data-api-get-record.mjs","names":[],"sources":["../../src/actions/data-api-get-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { projectBubble } from \"../app\";\n\nexport const ProjectBubbleDataApiGetRecordInput = z.object({\n id: z.string().describe(\"The unique identifier of the specific record to retrieve. This is the record's ID from the database.\"),\n type: z.string().describe(\"The data type (table/collection) name from which to retrieve the record. Must match an existing data type name exactly (case-sensitive).\"),\n}).describe(\"Input parameters for fetching a specific Bubble Data API record by ID.\");\nexport const ProjectBubbleDataApiGetRecordOutput = z.object({\n id: z.string().describe(\"Unique identifier of the record.\").nullable(),\n created_date: z.string().describe(\"Creation date in ISO 8601 format.\").nullable().optional(),\n modified_date: z.string().describe(\"Last modification date in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a Bubble Data API record.\\nContains record metadata and dynamic fields for all record properties.\");\n\nexport const projectBubbleDataApiGetRecord: AppAction<\n typeof ProjectBubbleDataApiGetRecordInput,\n typeof ProjectBubbleDataApiGetRecordOutput,\n typeof projectBubble.credential\n> = action(\"PROJECT_BUBBLE_DATA_API_GET_RECORD\", {\n slug: \"project_bubble-data-api-get-record\",\n name: \"Get Record By ID\",\n description: \"Retrieves a single record by its unique ID from a specified data type (table/collection). Use this when you need to fetch detailed information about a specific record and you already know its ID. The response includes all fields defined for that record, plus metadata like creation and modification dates. Common use cases: - Fetching full details of a specific team, user, or project by ID - Retrieving a record after getting its ID from a list/search operation - Accessing individual record properties for further processing Note: Returns an error if the record doesn't exist or you don't have permission to access it.\",\n input: ProjectBubbleDataApiGetRecordInput,\n output: ProjectBubbleDataApiGetRecordOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,gCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;EAC9H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACtK,CAAC,CAAC,CAAC,SAAS,wEAeH;CACP,QAfiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACrE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uHAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,14 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const projectBubble = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const credential = {
5
+ generic_api_key: zod.z.string(),
6
+ generic_id: zod.z.string()
7
+ };
8
+ const projectBubble = (0, _keystrokehq_keystroke_app.defineApp)({
3
9
  slug: "project_bubble",
4
- auth: "keystroke"
10
+ auth: "keystroke",
11
+ credential
5
12
  });
6
13
  //#endregion
7
14
  exports.projectBubble = projectBubble;
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 projectBubble = defineApp({\n slug: \"project_bubble\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,iBAAA,uCAAA,CAAA,CAAA,UAAA,CAA0B;CACrC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n generic_id: z.string(),\n};\n\nexport const projectBubble: KeystrokeApp<\"project_bubble\", typeof credential> = defineApp({\n slug: \"project_bubble\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;;AAGA,MAAM,aAAa;CACjB,iBAAiBA,IAAAA,EAAE,OAAO;CAC1B,YAAYA,IAAAA,EAAE,OAAO;AACvB;AAEA,MAAa,iBAAA,GAAA,2BAAA,UAAA,CAA6E;CACxF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,12 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const projectBubble: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ generic_id: z.ZodString;
8
+ };
9
+ declare const projectBubble: KeystrokeApp<"project_bubble", typeof credential>;
3
10
  //#endregion
4
11
  export { projectBubble };
5
12
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,aAAA,6BAAa,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAGL,CAAA,CAAA,SAAA;cAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,aAAA,EAAe,YAAY,0BAA0B,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,12 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const projectBubble: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ generic_id: z.ZodString;
8
+ };
9
+ declare const projectBubble: KeystrokeApp<"project_bubble", typeof credential>;
3
10
  //#endregion
4
11
  export { projectBubble };
5
12
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,aAAA,6BAAa,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAGL,CAAA,CAAA,SAAA;cAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,aAAA,EAAe,YAAY,0BAA0B,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,12 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const projectBubble = defineApp({
4
4
  slug: "project_bubble",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: {
7
+ generic_api_key: z.string(),
8
+ generic_id: z.string()
9
+ }
6
10
  });
7
11
  //#endregion
8
12
  export { projectBubble };
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 projectBubble = defineApp({\n slug: \"project_bubble\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,gBAAgB,UAAU;CACrC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n generic_id: z.string(),\n};\n\nexport const projectBubble: KeystrokeApp<\"project_bubble\", typeof credential> = defineApp({\n slug: \"project_bubble\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAQA,MAAa,gBAAmE,UAAU;CACxF,MAAM;CACN,MAAM;CACN;EAPA,iBAAiB,EAAE,OAAO;EAC1B,YAAY,EAAE,OAAO;CAMrB;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
+ import { projectBubble } from "./app.cjs";
1
2
  import { projectBubbleDataApiGetDataTypeFields } from "./actions/data-api-get-data-type-fields.cjs";
2
3
  import { projectBubbleDataApiGetObjects } from "./actions/data-api-get-objects.cjs";
3
4
  import { projectBubbleDataApiGetRecord } from "./actions/data-api-get-record.cjs";
4
- import { projectBubble } from "./app.cjs";
5
5
  import { projectBubbleCatalog } from "./catalog.cjs";
6
6
  export { projectBubble, projectBubbleCatalog, projectBubbleDataApiGetDataTypeFields, projectBubbleDataApiGetObjects, projectBubbleDataApiGetRecord };
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
+ import { projectBubble } from "./app.mjs";
1
2
  import { projectBubbleDataApiGetDataTypeFields } from "./actions/data-api-get-data-type-fields.mjs";
2
3
  import { projectBubbleDataApiGetObjects } from "./actions/data-api-get-objects.mjs";
3
4
  import { projectBubbleDataApiGetRecord } from "./actions/data-api-get-record.mjs";
4
- import { projectBubble } from "./app.mjs";
5
5
  import { projectBubbleCatalog } from "./catalog.mjs";
6
6
  export { projectBubble, projectBubbleCatalog, projectBubbleDataApiGetDataTypeFields, projectBubbleDataApiGetObjects, projectBubbleDataApiGetRecord };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/project_bubble",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {