@danielgenarog/shared-contracts 1.0.9 → 1.0.91

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.
@@ -47,11 +47,11 @@ export declare const ResBusinessSchema: z.ZodObject<{
47
47
  }>;
48
48
  order: z.ZodNumber;
49
49
  visible: z.ZodBoolean;
50
- data: z.ZodOptional<z.ZodObject<{
50
+ data: z.ZodObject<{
51
51
  label: z.ZodOptional<z.ZodString>;
52
52
  href: z.ZodOptional<z.ZodString>;
53
- }, z.core.$strip>>;
54
- meta: z.ZodOptional<z.ZodObject<{
53
+ }, z.core.$strip>;
54
+ meta: z.ZodObject<{
55
55
  kind: z.ZodOptional<z.ZodEnum<{
56
56
  whatsapp: "whatsapp";
57
57
  instagram: "instagram";
@@ -63,7 +63,7 @@ export declare const ResBusinessSchema: z.ZodObject<{
63
63
  reservations: "reservations";
64
64
  orders: "orders";
65
65
  }>>;
66
- }, z.core.$strip>>;
66
+ }, z.core.$strip>;
67
67
  options: z.ZodOptional<z.ZodObject<{
68
68
  variant: z.ZodOptional<z.ZodEnum<{
69
69
  default: "default";
@@ -143,11 +143,11 @@ export declare const CreateBusinessSchema: z.ZodObject<{
143
143
  }>;
144
144
  order: z.ZodNumber;
145
145
  visible: z.ZodBoolean;
146
- data: z.ZodOptional<z.ZodObject<{
146
+ data: z.ZodObject<{
147
147
  label: z.ZodOptional<z.ZodString>;
148
148
  href: z.ZodOptional<z.ZodString>;
149
- }, z.core.$strip>>;
150
- meta: z.ZodOptional<z.ZodObject<{
149
+ }, z.core.$strip>;
150
+ meta: z.ZodObject<{
151
151
  kind: z.ZodOptional<z.ZodEnum<{
152
152
  whatsapp: "whatsapp";
153
153
  instagram: "instagram";
@@ -159,7 +159,7 @@ export declare const CreateBusinessSchema: z.ZodObject<{
159
159
  reservations: "reservations";
160
160
  orders: "orders";
161
161
  }>>;
162
- }, z.core.$strip>>;
162
+ }, z.core.$strip>;
163
163
  options: z.ZodOptional<z.ZodObject<{
164
164
  variant: z.ZodOptional<z.ZodEnum<{
165
165
  default: "default";
@@ -42,11 +42,11 @@ export declare const ElementSchema: z.ZodObject<{
42
42
  }>;
43
43
  order: z.ZodNumber;
44
44
  visible: z.ZodBoolean;
45
- data: z.ZodOptional<z.ZodObject<{
45
+ data: z.ZodObject<{
46
46
  label: z.ZodOptional<z.ZodString>;
47
47
  href: z.ZodOptional<z.ZodString>;
48
- }, z.core.$strip>>;
49
- meta: z.ZodOptional<z.ZodObject<{
48
+ }, z.core.$strip>;
49
+ meta: z.ZodObject<{
50
50
  kind: z.ZodOptional<z.ZodEnum<{
51
51
  whatsapp: "whatsapp";
52
52
  instagram: "instagram";
@@ -58,7 +58,7 @@ export declare const ElementSchema: z.ZodObject<{
58
58
  reservations: "reservations";
59
59
  orders: "orders";
60
60
  }>>;
61
- }, z.core.$strip>>;
61
+ }, z.core.$strip>;
62
62
  options: z.ZodOptional<z.ZodObject<{
63
63
  variant: z.ZodOptional<z.ZodEnum<{
64
64
  default: "default";
@@ -78,11 +78,11 @@ export declare const ResElementSchema: z.ZodObject<{
78
78
  }>;
79
79
  order: z.ZodNumber;
80
80
  visible: z.ZodBoolean;
81
- data: z.ZodOptional<z.ZodObject<{
81
+ data: z.ZodObject<{
82
82
  label: z.ZodOptional<z.ZodString>;
83
83
  href: z.ZodOptional<z.ZodString>;
84
- }, z.core.$strip>>;
85
- meta: z.ZodOptional<z.ZodObject<{
84
+ }, z.core.$strip>;
85
+ meta: z.ZodObject<{
86
86
  kind: z.ZodOptional<z.ZodEnum<{
87
87
  whatsapp: "whatsapp";
88
88
  instagram: "instagram";
@@ -94,7 +94,7 @@ export declare const ResElementSchema: z.ZodObject<{
94
94
  reservations: "reservations";
95
95
  orders: "orders";
96
96
  }>>;
97
- }, z.core.$strip>>;
97
+ }, z.core.$strip>;
98
98
  options: z.ZodOptional<z.ZodObject<{
99
99
  variant: z.ZodOptional<z.ZodEnum<{
100
100
  default: "default";
@@ -27,8 +27,8 @@ exports.ElementSchema = zod_1.default.object({
27
27
  type: exports.ElementTypeSchema,
28
28
  order: zod_1.default.number(),
29
29
  visible: zod_1.default.boolean(),
30
- data: exports.ElementDataSchema.optional(),
31
- meta: exports.ElementMetaSchema.optional(),
30
+ data: exports.ElementDataSchema,
31
+ meta: exports.ElementMetaSchema,
32
32
  options: exports.ElementOptionsSchema.optional(),
33
33
  });
34
34
  exports.ResElementSchema = exports.ElementSchema.extend({
@@ -1 +1 @@
1
- {"version":3,"file":"elements.schema.js","sourceRoot":"","sources":["../../../../src/core/business/elements/elements.schema.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAmB;AAEnB,iEAAsD;AACtD,0EAA+D;AAElD,QAAA,iBAAiB,GAAG,aAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAIzD,MAAM,WAAW,GAA8B,aAAC;KAC7C,MAAM,CAAC,EAAE,CAAC;KACV,QAAQ,CAAC,aAAC,CAAC,GAAG,EAAE,CAAC,CAAC;AAGR,QAAA,oBAAoB,GAAG,aAAC,CAAC,MAAM,CAAC;IACzC,OAAO,EAAE,yBAAO,CAAC,QAAQ,EAAE;IAC3B,KAAK,EAAE,WAAW,CAAC,QAAQ,EAAE;IAC7B,SAAS,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAA;AAIW,QAAA,iBAAiB,GAAG,aAAC,CAAC,MAAM,CAAC;IACtC,KAAK,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAA;AAIW,QAAA,iBAAiB,GAAG,aAAC,CAAC,MAAM,CAAC;IACtC,IAAI,EAAE,+BAAU,CAAC,QAAQ,EAAE;CAC9B,CAAC,CAAA;AAKW,QAAA,aAAa,GAAG,aAAC,CAAC,MAAM,CAAC;IAClC,IAAI,EAAE,yB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;AAKW,QAAA,aAAa,GAAG,aAAC,CAAC,MAAM,CAAC;IAClC,IAAI,EAAE,yBAAiB;IACvB,KAAK,EAAE,aAAC,CAAC,MAAM,EAAE;IACjB,OAAO,EAAE,aAAC,CAAC,OAAO,EAAE;IACpB,IAAI,EAAE,yBAAiB;IACvB,IAAI,EAAE,yBAAiB;IACvB,OAAO,EAAE,4BAAoB,CAAC,QAAQ,EAAE;CAC3C,CAAC,CAAA;AAIW,QAAA,gBAAgB,GAAG,qBAAa,CAAC,MAAM,CAAC;IACjD,UAAU,EAAE,aAAC,CAAC,MAAM,EAAE;CACzB,CAAC,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- export * from "./core/users/user/user.schema";
2
- export * from "./core/users/role/role.schema";
3
1
  export * from "./core/business/business/business.schema";
4
- export * from "./core/business/elements/elements.schema";
5
2
  export * from "./core/business/modules/modules.constants";
6
3
  export * from "./core/business/modules/modules.schema";
7
4
  export * from "./core/business/social-kind/social-kind.schema";
8
5
  export * from "./core/business/style/style.schema";
6
+ export * from "./core/business/elements/elements.schema";
9
7
  export * from "./core/business/theme/theme.schema";
10
8
  export * from "./core/business/variants/variants.schema";
9
+ export * from "./core/users/role/role.schema";
10
+ export * from "./core/users/user/user.schema";
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wCAAwC,CAAC;AACvD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,0CAA0C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wCAAwC,CAAC;AACvD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,oCAAoC,CAAC;AACnD,cAAc,0CAA0C,CAAC;AACzD,cAAc,oCAAoC,CAAC;AACnD,cAAc,0CAA0C,CAAC;AACzD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC"}
package/dist/index.js CHANGED
@@ -14,14 +14,14 @@ 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/users/user/user.schema"), exports);
18
- __exportStar(require("./core/users/role/role.schema"), exports);
19
17
  __exportStar(require("./core/business/business/business.schema"), exports);
20
- __exportStar(require("./core/business/elements/elements.schema"), exports);
21
18
  __exportStar(require("./core/business/modules/modules.constants"), exports);
22
19
  __exportStar(require("./core/business/modules/modules.schema"), exports);
23
20
  __exportStar(require("./core/business/social-kind/social-kind.schema"), exports);
24
21
  __exportStar(require("./core/business/style/style.schema"), exports);
22
+ __exportStar(require("./core/business/elements/elements.schema"), exports);
25
23
  __exportStar(require("./core/business/theme/theme.schema"), exports);
26
24
  __exportStar(require("./core/business/variants/variants.schema"), exports);
25
+ __exportStar(require("./core/users/role/role.schema"), exports);
26
+ __exportStar(require("./core/users/user/user.schema"), exports);
27
27
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,gEAA8C;AAC9C,2EAAyD;AACzD,2EAAyD;AACzD,4EAA0D;AAC1D,yEAAuD;AACvD,iFAA+D;AAC/D,qEAAmD;AACnD,qEAAmD;AACnD,2EAAyD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2EAAyD;AACzD,4EAA0D;AAC1D,yEAAuD;AACvD,iFAA+D;AAC/D,qEAAmD;AACnD,2EAAyD;AACzD,qEAAmD;AACnD,2EAAyD;AACzD,gEAA8C;AAC9C,gEAA8C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielgenarog/shared-contracts",
3
- "version": "1.0.9",
3
+ "version": "1.0.91",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",