@moonbase.sh/storefront-api 0.4.42 → 0.4.44
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/index.cjs +1 -0
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -976,6 +976,7 @@ var milestoneProgressEventSchema = import_zod12.z.discriminatedUnion("type", [
|
|
|
976
976
|
]);
|
|
977
977
|
var milestoneProgressSchema = import_zod12.z.object({
|
|
978
978
|
title: import_zod12.z.string(),
|
|
979
|
+
description: import_zod12.z.string().nullish(),
|
|
979
980
|
currentCycleNumber: import_zod12.z.number(),
|
|
980
981
|
currentNormalizedCycleNumber: import_zod12.z.number(),
|
|
981
982
|
currentCycleIsCompleted: import_zod12.z.boolean(),
|
package/dist/index.d.cts
CHANGED
|
@@ -1983,6 +1983,7 @@ declare class ProductEndpoints {
|
|
|
1983
1983
|
|
|
1984
1984
|
declare const milestoneProgressSchema: z.ZodObject<{
|
|
1985
1985
|
title: z.ZodString;
|
|
1986
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1986
1987
|
currentCycleNumber: z.ZodNumber;
|
|
1987
1988
|
currentNormalizedCycleNumber: z.ZodNumber;
|
|
1988
1989
|
currentCycleIsCompleted: z.ZodBoolean;
|
|
@@ -2067,6 +2068,7 @@ declare const milestoneProgressSchema: z.ZodObject<{
|
|
|
2067
2068
|
afterNormalizedCycleNumber: number;
|
|
2068
2069
|
message?: string | undefined;
|
|
2069
2070
|
})[]>;
|
|
2071
|
+
description?: string | null | undefined;
|
|
2070
2072
|
}, {
|
|
2071
2073
|
title: string;
|
|
2072
2074
|
currentCycleNumber: number;
|
|
@@ -2093,6 +2095,7 @@ declare const milestoneProgressSchema: z.ZodObject<{
|
|
|
2093
2095
|
afterNormalizedCycleNumber: number;
|
|
2094
2096
|
message?: string | undefined;
|
|
2095
2097
|
})[]>;
|
|
2098
|
+
description?: string | null | undefined;
|
|
2096
2099
|
}>;
|
|
2097
2100
|
declare const subscriptionSchema: z.ZodObject<{
|
|
2098
2101
|
id: z.ZodString;
|
|
@@ -2201,6 +2204,7 @@ declare const subscriptionSchema: z.ZodObject<{
|
|
|
2201
2204
|
paymentMethod: z.ZodOptional<z.ZodString>;
|
|
2202
2205
|
milestoneProgress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2203
2206
|
title: z.ZodString;
|
|
2207
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2204
2208
|
currentCycleNumber: z.ZodNumber;
|
|
2205
2209
|
currentNormalizedCycleNumber: z.ZodNumber;
|
|
2206
2210
|
currentCycleIsCompleted: z.ZodBoolean;
|
|
@@ -2285,6 +2289,7 @@ declare const subscriptionSchema: z.ZodObject<{
|
|
|
2285
2289
|
afterNormalizedCycleNumber: number;
|
|
2286
2290
|
message?: string | undefined;
|
|
2287
2291
|
})[]>;
|
|
2292
|
+
description?: string | null | undefined;
|
|
2288
2293
|
}, {
|
|
2289
2294
|
title: string;
|
|
2290
2295
|
currentCycleNumber: number;
|
|
@@ -2311,6 +2316,7 @@ declare const subscriptionSchema: z.ZodObject<{
|
|
|
2311
2316
|
afterNormalizedCycleNumber: number;
|
|
2312
2317
|
message?: string | undefined;
|
|
2313
2318
|
})[]>;
|
|
2319
|
+
description?: string | null | undefined;
|
|
2314
2320
|
}>>>;
|
|
2315
2321
|
embeddedUpdatePaymentUrl: z.ZodOptional<z.ZodString>;
|
|
2316
2322
|
content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -4950,6 +4956,7 @@ declare const subscriptionSchema: z.ZodObject<{
|
|
|
4950
4956
|
afterNormalizedCycleNumber: number;
|
|
4951
4957
|
message?: string | undefined;
|
|
4952
4958
|
})[]>;
|
|
4959
|
+
description?: string | null | undefined;
|
|
4953
4960
|
} | null | undefined;
|
|
4954
4961
|
embeddedUpdatePaymentUrl?: string | undefined;
|
|
4955
4962
|
}, {
|
|
@@ -5284,6 +5291,7 @@ declare const subscriptionSchema: z.ZodObject<{
|
|
|
5284
5291
|
afterNormalizedCycleNumber: number;
|
|
5285
5292
|
message?: string | undefined;
|
|
5286
5293
|
})[]>;
|
|
5294
|
+
description?: string | null | undefined;
|
|
5287
5295
|
} | null | undefined;
|
|
5288
5296
|
embeddedUpdatePaymentUrl?: string | undefined;
|
|
5289
5297
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1983,6 +1983,7 @@ declare class ProductEndpoints {
|
|
|
1983
1983
|
|
|
1984
1984
|
declare const milestoneProgressSchema: z.ZodObject<{
|
|
1985
1985
|
title: z.ZodString;
|
|
1986
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1986
1987
|
currentCycleNumber: z.ZodNumber;
|
|
1987
1988
|
currentNormalizedCycleNumber: z.ZodNumber;
|
|
1988
1989
|
currentCycleIsCompleted: z.ZodBoolean;
|
|
@@ -2067,6 +2068,7 @@ declare const milestoneProgressSchema: z.ZodObject<{
|
|
|
2067
2068
|
afterNormalizedCycleNumber: number;
|
|
2068
2069
|
message?: string | undefined;
|
|
2069
2070
|
})[]>;
|
|
2071
|
+
description?: string | null | undefined;
|
|
2070
2072
|
}, {
|
|
2071
2073
|
title: string;
|
|
2072
2074
|
currentCycleNumber: number;
|
|
@@ -2093,6 +2095,7 @@ declare const milestoneProgressSchema: z.ZodObject<{
|
|
|
2093
2095
|
afterNormalizedCycleNumber: number;
|
|
2094
2096
|
message?: string | undefined;
|
|
2095
2097
|
})[]>;
|
|
2098
|
+
description?: string | null | undefined;
|
|
2096
2099
|
}>;
|
|
2097
2100
|
declare const subscriptionSchema: z.ZodObject<{
|
|
2098
2101
|
id: z.ZodString;
|
|
@@ -2201,6 +2204,7 @@ declare const subscriptionSchema: z.ZodObject<{
|
|
|
2201
2204
|
paymentMethod: z.ZodOptional<z.ZodString>;
|
|
2202
2205
|
milestoneProgress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2203
2206
|
title: z.ZodString;
|
|
2207
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2204
2208
|
currentCycleNumber: z.ZodNumber;
|
|
2205
2209
|
currentNormalizedCycleNumber: z.ZodNumber;
|
|
2206
2210
|
currentCycleIsCompleted: z.ZodBoolean;
|
|
@@ -2285,6 +2289,7 @@ declare const subscriptionSchema: z.ZodObject<{
|
|
|
2285
2289
|
afterNormalizedCycleNumber: number;
|
|
2286
2290
|
message?: string | undefined;
|
|
2287
2291
|
})[]>;
|
|
2292
|
+
description?: string | null | undefined;
|
|
2288
2293
|
}, {
|
|
2289
2294
|
title: string;
|
|
2290
2295
|
currentCycleNumber: number;
|
|
@@ -2311,6 +2316,7 @@ declare const subscriptionSchema: z.ZodObject<{
|
|
|
2311
2316
|
afterNormalizedCycleNumber: number;
|
|
2312
2317
|
message?: string | undefined;
|
|
2313
2318
|
})[]>;
|
|
2319
|
+
description?: string | null | undefined;
|
|
2314
2320
|
}>>>;
|
|
2315
2321
|
embeddedUpdatePaymentUrl: z.ZodOptional<z.ZodString>;
|
|
2316
2322
|
content: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -4950,6 +4956,7 @@ declare const subscriptionSchema: z.ZodObject<{
|
|
|
4950
4956
|
afterNormalizedCycleNumber: number;
|
|
4951
4957
|
message?: string | undefined;
|
|
4952
4958
|
})[]>;
|
|
4959
|
+
description?: string | null | undefined;
|
|
4953
4960
|
} | null | undefined;
|
|
4954
4961
|
embeddedUpdatePaymentUrl?: string | undefined;
|
|
4955
4962
|
}, {
|
|
@@ -5284,6 +5291,7 @@ declare const subscriptionSchema: z.ZodObject<{
|
|
|
5284
5291
|
afterNormalizedCycleNumber: number;
|
|
5285
5292
|
message?: string | undefined;
|
|
5286
5293
|
})[]>;
|
|
5294
|
+
description?: string | null | undefined;
|
|
5287
5295
|
} | null | undefined;
|
|
5288
5296
|
embeddedUpdatePaymentUrl?: string | undefined;
|
|
5289
5297
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -920,6 +920,7 @@ var milestoneProgressEventSchema = z12.discriminatedUnion("type", [
|
|
|
920
920
|
]);
|
|
921
921
|
var milestoneProgressSchema = z12.object({
|
|
922
922
|
title: z12.string(),
|
|
923
|
+
description: z12.string().nullish(),
|
|
923
924
|
currentCycleNumber: z12.number(),
|
|
924
925
|
currentNormalizedCycleNumber: z12.number(),
|
|
925
926
|
currentCycleIsCompleted: z12.boolean(),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbase.sh/storefront-api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.44",
|
|
5
5
|
"description": "Package to let you build storefronts with Moonbase.sh as payment and delivery provider",
|
|
6
6
|
"author": "Tobias Lønnerød Madsen <m@dsen.tv>",
|
|
7
7
|
"license": "MIT",
|