@danielgenarog/shared-contracts 1.1.32 → 1.1.33
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.
|
@@ -18,10 +18,10 @@ export declare const BusinessSchema: z.ZodObject<{
|
|
|
18
18
|
barbershop: "barbershop";
|
|
19
19
|
gym: "gym";
|
|
20
20
|
}>;
|
|
21
|
-
name:
|
|
21
|
+
name: z.ZodString;
|
|
22
22
|
description: z.ZodString;
|
|
23
|
-
cover_image:
|
|
24
|
-
logo:
|
|
23
|
+
cover_image: z.ZodString;
|
|
24
|
+
logo: z.ZodString;
|
|
25
25
|
}, z.core.$strip>;
|
|
26
26
|
export type Business = z.infer<typeof BusinessSchema>;
|
|
27
27
|
export declare const ResBusinessSchema: z.ZodObject<{
|
|
@@ -34,10 +34,10 @@ export declare const ResBusinessSchema: z.ZodObject<{
|
|
|
34
34
|
barbershop: "barbershop";
|
|
35
35
|
gym: "gym";
|
|
36
36
|
}>;
|
|
37
|
-
name:
|
|
37
|
+
name: z.ZodString;
|
|
38
38
|
description: z.ZodString;
|
|
39
|
-
cover_image:
|
|
40
|
-
logo:
|
|
39
|
+
cover_image: z.ZodString;
|
|
40
|
+
logo: z.ZodString;
|
|
41
41
|
business_id: z.ZodString;
|
|
42
42
|
slug: z.ZodString;
|
|
43
43
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -215,10 +215,10 @@ export declare const CreateBusinessSchema: z.ZodObject<{
|
|
|
215
215
|
barbershop: "barbershop";
|
|
216
216
|
gym: "gym";
|
|
217
217
|
}>;
|
|
218
|
-
name:
|
|
218
|
+
name: z.ZodString;
|
|
219
219
|
description: z.ZodString;
|
|
220
|
-
cover_image:
|
|
221
|
-
logo:
|
|
220
|
+
cover_image: z.ZodString;
|
|
221
|
+
logo: z.ZodString;
|
|
222
222
|
elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
223
223
|
type: z.ZodEnum<{
|
|
224
224
|
link: "link";
|
|
@@ -16,10 +16,10 @@ exports.BusinessTypeSchema = zod_1.z.enum([
|
|
|
16
16
|
exports.BusinessSchema = zod_1.z.object({
|
|
17
17
|
version: zod_1.z.number(),
|
|
18
18
|
type: exports.BusinessTypeSchema,
|
|
19
|
-
name: zod_1.z.string().nonempty,
|
|
19
|
+
name: zod_1.z.string().nonempty(),
|
|
20
20
|
description: zod_1.z.string(),
|
|
21
|
-
cover_image: zod_1.z.string().nonempty,
|
|
22
|
-
logo: zod_1.z.string().nonempty,
|
|
21
|
+
cover_image: zod_1.z.string().nonempty(),
|
|
22
|
+
logo: zod_1.z.string().nonempty(),
|
|
23
23
|
});
|
|
24
24
|
exports.ResBusinessSchema = exports.BusinessSchema.extend({
|
|
25
25
|
business_id: zod_1.z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"business.schema.js","sourceRoot":"","sources":["../../../../src/core/business/business/business.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,iEAA+E;AAC/E,wDAAkF;AAClF,8DAAmE;AAEtD,QAAA,kBAAkB,GAAG,OAAC,CAAC,IAAI,CAAC;IACvC,YAAY;IACZ,KAAK;IACL,MAAM;IACN,OAAO;IACP,YAAY;IACZ,KAAK;CACN,CAAC,CAAA;AAIW,QAAA,cAAc,GAAG,OAAC,CAAC,MAAM,CAAC;IACnC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,IAAI,EAAE,0BAAkB;IACxB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ;
|
|
1
|
+
{"version":3,"file":"business.schema.js","sourceRoot":"","sources":["../../../../src/core/business/business/business.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,iEAA+E;AAC/E,wDAAkF;AAClF,8DAAmE;AAEtD,QAAA,kBAAkB,GAAG,OAAC,CAAC,IAAI,CAAC;IACvC,YAAY;IACZ,KAAK;IACL,MAAM;IACN,OAAO;IACP,YAAY;IACZ,KAAK;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IAAI,EAAC,MAAM;IACX,GAAG,EAAC,UAAU;IACd,KAAK,EAAC,OAAO;CACd,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./core/business/business/business.schema";
|
|
2
1
|
export * from "./core/business/elements/elements.schema";
|
|
2
|
+
export * from "./core/business/business/business.schema";
|
|
3
3
|
export * from "./core/business/modules/modules.constants";
|
|
4
4
|
export * from "./core/business/modules/modules.schema";
|
|
5
5
|
export * from "./core/business/scalinky/scalinky.schema";
|
package/dist/index.js
CHANGED
|
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./core/business/business/business.schema"), exports);
|
|
18
17
|
__exportStar(require("./core/business/elements/elements.schema"), exports);
|
|
18
|
+
__exportStar(require("./core/business/business/business.schema"), exports);
|
|
19
19
|
__exportStar(require("./core/business/modules/modules.constants"), exports);
|
|
20
20
|
__exportStar(require("./core/business/modules/modules.schema"), exports);
|
|
21
21
|
__exportStar(require("./core/business/scalinky/scalinky.schema"), exports);
|