@bubblelab/shared-schemas 0.1.76 → 0.1.78
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/bubbleflow-schema.d.ts +33 -0
- package/dist/bubbleflow-schema.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1715,6 +1715,25 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
1715
1715
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1716
1716
|
permission: z.ZodOptional<z.ZodEnum<["owner", "editor", "runner", "viewer"]>>;
|
|
1717
1717
|
triggerCredentialId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1718
|
+
triggerCredential: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1719
|
+
id: z.ZodNumber;
|
|
1720
|
+
name: z.ZodString;
|
|
1721
|
+
type: z.ZodNativeEnum<typeof CredentialType>;
|
|
1722
|
+
ownerId: z.ZodString;
|
|
1723
|
+
isMine: z.ZodBoolean;
|
|
1724
|
+
}, "strip", z.ZodTypeAny, {
|
|
1725
|
+
name: string;
|
|
1726
|
+
type: CredentialType;
|
|
1727
|
+
id: number;
|
|
1728
|
+
ownerId: string;
|
|
1729
|
+
isMine: boolean;
|
|
1730
|
+
}, {
|
|
1731
|
+
name: string;
|
|
1732
|
+
type: CredentialType;
|
|
1733
|
+
id: number;
|
|
1734
|
+
ownerId: string;
|
|
1735
|
+
isMine: boolean;
|
|
1736
|
+
}>>>;
|
|
1718
1737
|
createdAt: z.ZodString;
|
|
1719
1738
|
updatedAt: z.ZodString;
|
|
1720
1739
|
webhook_url: z.ZodString;
|
|
@@ -1831,6 +1850,13 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
1831
1850
|
bubbleName: string;
|
|
1832
1851
|
}> | undefined;
|
|
1833
1852
|
permission?: "owner" | "editor" | "runner" | "viewer" | undefined;
|
|
1853
|
+
triggerCredential?: {
|
|
1854
|
+
name: string;
|
|
1855
|
+
type: CredentialType;
|
|
1856
|
+
id: number;
|
|
1857
|
+
ownerId: string;
|
|
1858
|
+
isMine: boolean;
|
|
1859
|
+
} | null | undefined;
|
|
1834
1860
|
}, {
|
|
1835
1861
|
name: string;
|
|
1836
1862
|
code: string;
|
|
@@ -1944,6 +1970,13 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
1944
1970
|
bubbleName: string;
|
|
1945
1971
|
}> | undefined;
|
|
1946
1972
|
permission?: "owner" | "editor" | "runner" | "viewer" | undefined;
|
|
1973
|
+
triggerCredential?: {
|
|
1974
|
+
name: string;
|
|
1975
|
+
type: CredentialType;
|
|
1976
|
+
id: number;
|
|
1977
|
+
ownerId: string;
|
|
1978
|
+
isMine: boolean;
|
|
1979
|
+
} | null | undefined;
|
|
1947
1980
|
}>;
|
|
1948
1981
|
export declare const bubbleFlowListItemSchema: z.ZodObject<{
|
|
1949
1982
|
id: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bubbleflow-schema.d.ts","sourceRoot":"","sources":["../src/bubbleflow-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAGL,mBAAmB,EAEpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG7C,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ACpC,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -2614,6 +2614,9 @@ var bubbleFlowDetailsResponseSchema = z8.object({
|
|
|
2614
2614
|
triggerCredentialId: z8.number().nullable().optional().openapi({
|
|
2615
2615
|
description: "Credential ID for trigger authentication"
|
|
2616
2616
|
}),
|
|
2617
|
+
triggerCredential: usedCredentialSchema.nullable().optional().openapi({
|
|
2618
|
+
description: "Trigger credential metadata with owner info (for shared workflow visibility)"
|
|
2619
|
+
}),
|
|
2617
2620
|
createdAt: z8.string().openapi({ description: "Creation timestamp" }),
|
|
2618
2621
|
updatedAt: z8.string().openapi({ description: "Update timestamp" }),
|
|
2619
2622
|
webhook_url: z8.string().openapi({ description: "Webhook URL for this bubble flow" })
|