@bubblelab/shared-schemas 0.1.238 → 0.1.239

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.
@@ -721,7 +721,7 @@ export declare const validateBubbleFlowCodeSchema: z.ZodObject<{
721
721
  syncInputsWithFlow?: boolean | undefined;
722
722
  }>>;
723
723
  flowId: z.ZodOptional<z.ZodNumber>;
724
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodNumber>>>;
724
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>>>;
725
725
  defaultInputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
726
726
  activateCron: z.ZodOptional<z.ZodBoolean>;
727
727
  }, "strip", z.ZodTypeAny, {
@@ -732,7 +732,7 @@ export declare const validateBubbleFlowCodeSchema: z.ZodObject<{
732
732
  syncInputsWithFlow: boolean;
733
733
  } | undefined;
734
734
  flowId?: number | undefined;
735
- credentials?: Record<string, Record<string, number>> | undefined;
735
+ credentials?: Record<string, Record<string, number | number[]>> | undefined;
736
736
  defaultInputs?: Record<string, unknown> | undefined;
737
737
  activateCron?: boolean | undefined;
738
738
  }, {
@@ -743,7 +743,7 @@ export declare const validateBubbleFlowCodeSchema: z.ZodObject<{
743
743
  syncInputsWithFlow?: boolean | undefined;
744
744
  } | undefined;
745
745
  flowId?: number | undefined;
746
- credentials?: Record<string, Record<string, number>> | undefined;
746
+ credentials?: Record<string, Record<string, number | number[]>> | undefined;
747
747
  defaultInputs?: Record<string, unknown> | undefined;
748
748
  activateCron?: boolean | undefined;
749
749
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"bubbleflow-execution-schema.d.ts","sourceRoot":"","sources":["../src/bubbleflow-execution-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmF/C,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,oCAAoC,CAC5C,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
package/dist/index.js CHANGED
@@ -3779,14 +3779,18 @@ var validateBubbleFlowCodeSchema = z9.object({
3779
3779
  description: "Optional BubbleFlow ID to update with validation results if user owns the flow",
3780
3780
  example: 123
3781
3781
  }),
3782
- credentials: z9.record(z9.string(), z9.record(z9.string(), z9.number())).optional().openapi({
3783
- description: "Optional credentials mapping: bubble name -> credential type -> credential ID",
3782
+ credentials: z9.record(
3783
+ z9.string(),
3784
+ z9.record(z9.string(), z9.union([z9.number(), z9.array(z9.number())]))
3785
+ ).optional().openapi({
3786
+ description: "Optional credentials mapping: bubble name -> credential type -> credential ID or array of IDs",
3784
3787
  example: {
3785
3788
  "slack-sender": {
3786
3789
  SLACK_CRED: 123
3787
3790
  },
3788
3791
  "ai-agent": {
3789
- OPENAI_CRED: 456
3792
+ OPENAI_CRED: 456,
3793
+ CONFLUENCE_CRED: [789, 790]
3790
3794
  }
3791
3795
  }
3792
3796
  }),