@duct-sdk/sdk 0.1.6 → 0.1.7
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/core/config.d.ts +5 -0
- package/dist/core/config.js +1 -0
- package/dist/core/types.d.ts +2 -0
- package/package.json +1 -1
package/dist/core/config.d.ts
CHANGED
|
@@ -6,18 +6,21 @@ export declare const DuctConfigSchema: z.ZodObject<{
|
|
|
6
6
|
name: z.ZodString;
|
|
7
7
|
description: z.ZodString;
|
|
8
8
|
baseUrl: z.ZodString;
|
|
9
|
+
apiBaseUrl: z.ZodOptional<z.ZodString>;
|
|
9
10
|
locale: z.ZodOptional<z.ZodString>;
|
|
10
11
|
industry: z.ZodOptional<z.ZodString>;
|
|
11
12
|
}, "strip", z.ZodTypeAny, {
|
|
12
13
|
name: string;
|
|
13
14
|
description: string;
|
|
14
15
|
baseUrl: string;
|
|
16
|
+
apiBaseUrl?: string | undefined;
|
|
15
17
|
locale?: string | undefined;
|
|
16
18
|
industry?: string | undefined;
|
|
17
19
|
}, {
|
|
18
20
|
name: string;
|
|
19
21
|
description: string;
|
|
20
22
|
baseUrl: string;
|
|
23
|
+
apiBaseUrl?: string | undefined;
|
|
21
24
|
locale?: string | undefined;
|
|
22
25
|
industry?: string | undefined;
|
|
23
26
|
}>;
|
|
@@ -312,6 +315,7 @@ export declare const DuctConfigSchema: z.ZodObject<{
|
|
|
312
315
|
name: string;
|
|
313
316
|
description: string;
|
|
314
317
|
baseUrl: string;
|
|
318
|
+
apiBaseUrl?: string | undefined;
|
|
315
319
|
locale?: string | undefined;
|
|
316
320
|
industry?: string | undefined;
|
|
317
321
|
};
|
|
@@ -402,6 +406,7 @@ export declare const DuctConfigSchema: z.ZodObject<{
|
|
|
402
406
|
name: string;
|
|
403
407
|
description: string;
|
|
404
408
|
baseUrl: string;
|
|
409
|
+
apiBaseUrl?: string | undefined;
|
|
405
410
|
locale?: string | undefined;
|
|
406
411
|
industry?: string | undefined;
|
|
407
412
|
};
|
package/dist/core/config.js
CHANGED
|
@@ -139,6 +139,7 @@ const ProductConfigSchema = z.object({
|
|
|
139
139
|
name: z.string().min(1),
|
|
140
140
|
description: z.string().min(1),
|
|
141
141
|
baseUrl: z.string().url(),
|
|
142
|
+
apiBaseUrl: z.string().url().optional(),
|
|
142
143
|
locale: z.string().optional(),
|
|
143
144
|
industry: z.string().optional(),
|
|
144
145
|
});
|
package/dist/core/types.d.ts
CHANGED
|
@@ -184,6 +184,8 @@ export interface ProductConfig {
|
|
|
184
184
|
description: string;
|
|
185
185
|
/** Base URL of the product */
|
|
186
186
|
baseUrl: string;
|
|
187
|
+
/** API base URL for action execution (falls back to baseUrl when omitted) */
|
|
188
|
+
apiBaseUrl?: string;
|
|
187
189
|
/** Primary language/locale */
|
|
188
190
|
locale?: string;
|
|
189
191
|
/** Industry/category for the product */
|