@jpmorganchase/mosaic-schemas 0.1.0-beta.6

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.
@@ -0,0 +1,178 @@
1
+ import { z } from 'zod';
2
+ export declare const mosaicConfigSchema: z.ZodObject<{
3
+ /**
4
+ * A collection of file extensions that can be served
5
+ * e.g. [".mdx", ".json"]
6
+ */
7
+ pageExtensions: z.ZodArray<z.ZodString, "atleastone">;
8
+ /**
9
+ * A collection of filenames to ignore
10
+ * These are typically generated by plugins.
11
+ */
12
+ ignorePages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
+ serialisers: z.ZodArray<z.ZodObject<z.extendShape<{
14
+ modulePath: z.ZodString;
15
+ options: z.ZodOptional<z.ZodUnknown>;
16
+ runTimeOnly: z.ZodOptional<z.ZodBoolean>;
17
+ priority: z.ZodOptional<z.ZodNumber>;
18
+ }, {
19
+ filter: z.ZodEffects<z.ZodAny, RegExp, any>;
20
+ }>, "strip", z.ZodTypeAny, {
21
+ options?: unknown;
22
+ runTimeOnly?: boolean | undefined;
23
+ priority?: number | undefined;
24
+ filter: RegExp;
25
+ modulePath: string;
26
+ }, {
27
+ filter?: any;
28
+ options?: unknown;
29
+ runTimeOnly?: boolean | undefined;
30
+ priority?: number | undefined;
31
+ modulePath: string;
32
+ }>, "many">;
33
+ plugins: z.ZodArray<z.ZodObject<{
34
+ modulePath: z.ZodString;
35
+ options: z.ZodOptional<z.ZodUnknown>;
36
+ runTimeOnly: z.ZodOptional<z.ZodBoolean>;
37
+ priority: z.ZodOptional<z.ZodNumber>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ options?: unknown;
40
+ runTimeOnly?: boolean | undefined;
41
+ priority?: number | undefined;
42
+ modulePath: string;
43
+ }, {
44
+ options?: unknown;
45
+ runTimeOnly?: boolean | undefined;
46
+ priority?: number | undefined;
47
+ modulePath: string;
48
+ }>, "many">;
49
+ sources: z.ZodArray<z.ZodObject<z.extendShape<{
50
+ modulePath: z.ZodString;
51
+ options: z.ZodOptional<z.ZodUnknown>;
52
+ runTimeOnly: z.ZodOptional<z.ZodBoolean>;
53
+ priority: z.ZodOptional<z.ZodNumber>;
54
+ }, {
55
+ namespace: z.ZodString;
56
+ cache: z.ZodOptional<z.ZodBoolean>;
57
+ workflows: z.ZodOptional<z.ZodArray<z.ZodObject<{
58
+ name: z.ZodString;
59
+ options: z.ZodUnknown;
60
+ action: z.ZodAny;
61
+ }, "strip", z.ZodTypeAny, {
62
+ options?: unknown;
63
+ action?: any;
64
+ name: string;
65
+ }, {
66
+ options?: unknown;
67
+ action?: any;
68
+ name: string;
69
+ }>, "many">>;
70
+ }>, "strip", z.ZodTypeAny, {
71
+ options?: unknown;
72
+ runTimeOnly?: boolean | undefined;
73
+ priority?: number | undefined;
74
+ cache?: boolean | undefined;
75
+ workflows?: {
76
+ options?: unknown;
77
+ action?: any;
78
+ name: string;
79
+ }[] | undefined;
80
+ modulePath: string;
81
+ namespace: string;
82
+ }, {
83
+ options?: unknown;
84
+ runTimeOnly?: boolean | undefined;
85
+ priority?: number | undefined;
86
+ cache?: boolean | undefined;
87
+ workflows?: {
88
+ options?: unknown;
89
+ action?: any;
90
+ name: string;
91
+ }[] | undefined;
92
+ modulePath: string;
93
+ namespace: string;
94
+ }>, "atleastone">;
95
+ }, "strip", z.ZodTypeAny, {
96
+ ignorePages?: string[] | undefined;
97
+ pageExtensions: [string, ...string[]];
98
+ serialisers: {
99
+ options?: unknown;
100
+ runTimeOnly?: boolean | undefined;
101
+ priority?: number | undefined;
102
+ filter: RegExp;
103
+ modulePath: string;
104
+ }[];
105
+ plugins: {
106
+ options?: unknown;
107
+ runTimeOnly?: boolean | undefined;
108
+ priority?: number | undefined;
109
+ modulePath: string;
110
+ }[];
111
+ sources: [{
112
+ options?: unknown;
113
+ runTimeOnly?: boolean | undefined;
114
+ priority?: number | undefined;
115
+ cache?: boolean | undefined;
116
+ workflows?: {
117
+ options?: unknown;
118
+ action?: any;
119
+ name: string;
120
+ }[] | undefined;
121
+ modulePath: string;
122
+ namespace: string;
123
+ }, ...{
124
+ options?: unknown;
125
+ runTimeOnly?: boolean | undefined;
126
+ priority?: number | undefined;
127
+ cache?: boolean | undefined;
128
+ workflows?: {
129
+ options?: unknown;
130
+ action?: any;
131
+ name: string;
132
+ }[] | undefined;
133
+ modulePath: string;
134
+ namespace: string;
135
+ }[]];
136
+ }, {
137
+ ignorePages?: string[] | undefined;
138
+ pageExtensions: [string, ...string[]];
139
+ serialisers: {
140
+ filter?: any;
141
+ options?: unknown;
142
+ runTimeOnly?: boolean | undefined;
143
+ priority?: number | undefined;
144
+ modulePath: string;
145
+ }[];
146
+ plugins: {
147
+ options?: unknown;
148
+ runTimeOnly?: boolean | undefined;
149
+ priority?: number | undefined;
150
+ modulePath: string;
151
+ }[];
152
+ sources: [{
153
+ options?: unknown;
154
+ runTimeOnly?: boolean | undefined;
155
+ priority?: number | undefined;
156
+ cache?: boolean | undefined;
157
+ workflows?: {
158
+ options?: unknown;
159
+ action?: any;
160
+ name: string;
161
+ }[] | undefined;
162
+ modulePath: string;
163
+ namespace: string;
164
+ }, ...{
165
+ options?: unknown;
166
+ runTimeOnly?: boolean | undefined;
167
+ priority?: number | undefined;
168
+ cache?: boolean | undefined;
169
+ workflows?: {
170
+ options?: unknown;
171
+ action?: any;
172
+ name: string;
173
+ }[] | undefined;
174
+ modulePath: string;
175
+ namespace: string;
176
+ }[]];
177
+ }>;
178
+ export declare type MosaicConfig = z.infer<typeof mosaicConfigSchema>;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.mosaicConfigSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const fileExtensionSchema_1 = require("./fileExtensionSchema");
6
+ const PluginModuleSchema_1 = require("./PluginModuleSchema");
7
+ const SerialiserModuleSchema_1 = require("./SerialiserModuleSchema");
8
+ const SourceModuleSchema_1 = require("./SourceModuleSchema");
9
+ exports.mosaicConfigSchema = zod_1.z.object({
10
+ /**
11
+ * A collection of file extensions that can be served
12
+ * e.g. [".mdx", ".json"]
13
+ */
14
+ pageExtensions: fileExtensionSchema_1.fileExtensionSchema.array().nonempty(),
15
+ /**
16
+ * A collection of filenames to ignore
17
+ * These are typically generated by plugins.
18
+ */
19
+ ignorePages: zod_1.z.string().array().optional(),
20
+ serialisers: zod_1.z.array(SerialiserModuleSchema_1.serialiserModuleSchema),
21
+ plugins: zod_1.z.array(PluginModuleSchema_1.pluginModuleSchema),
22
+ sources: zod_1.z.array(SourceModuleSchema_1.sourceModuleSchema).nonempty()
23
+ });
24
+ //# sourceMappingURL=MosaicConfigSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MosaicConfigSchema.js","sourceRoot":"","sources":["../src/MosaicConfigSchema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,+DAA4D;AAC5D,6DAA0D;AAC1D,qEAAkE;AAClE,6DAA0D;AAE7C,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC;;;OAGG;IACH,cAAc,EAAE,yCAAmB,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACtD;;;OAGG;IACH,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC1C,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,+CAAsB,CAAC;IAC5C,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,uCAAkB,CAAC;IACpC,OAAO,EAAE,OAAC,CAAC,KAAK,CAAC,uCAAkB,CAAC,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { z } from 'zod';
2
+ export declare const pluginModuleSchema: z.ZodObject<{
3
+ /**
4
+ * Path to the JS file for this plugin (can either export a `default` module with lifecycle methods,
5
+ * or export the methods individually)
6
+ */
7
+ modulePath: z.ZodString;
8
+ /**
9
+ * Options to pass to the plugin lifecycle methods.
10
+ */
11
+ options: z.ZodOptional<z.ZodUnknown>;
12
+ /**
13
+ * Exclude this plugin when running `mosaic build`
14
+ */
15
+ runTimeOnly: z.ZodOptional<z.ZodBoolean>;
16
+ /**
17
+ * The importance of this plugin. This highest number plugin will be run first
18
+ */
19
+ priority: z.ZodOptional<z.ZodNumber>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ options?: unknown;
22
+ runTimeOnly?: boolean | undefined;
23
+ priority?: number | undefined;
24
+ modulePath: string;
25
+ }, {
26
+ options?: unknown;
27
+ runTimeOnly?: boolean | undefined;
28
+ priority?: number | undefined;
29
+ modulePath: string;
30
+ }>;
31
+ export declare type PluginModuleDefinition = z.infer<typeof pluginModuleSchema>;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.pluginModuleSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.pluginModuleSchema = zod_1.z.object({
6
+ /**
7
+ * Path to the JS file for this plugin (can either export a `default` module with lifecycle methods,
8
+ * or export the methods individually)
9
+ */
10
+ modulePath: zod_1.z.string({ required_error: 'A path to the plugin module is required.' }),
11
+ /**
12
+ * Options to pass to the plugin lifecycle methods.
13
+ */
14
+ options: zod_1.z.unknown().optional(),
15
+ /**
16
+ * Exclude this plugin when running `mosaic build`
17
+ */
18
+ runTimeOnly: zod_1.z.boolean().optional(),
19
+ /**
20
+ * The importance of this plugin. This highest number plugin will be run first
21
+ */
22
+ priority: zod_1.z.number().optional()
23
+ });
24
+ //# sourceMappingURL=PluginModuleSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PluginModuleSchema.js","sourceRoot":"","sources":["../src/PluginModuleSchema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC;;;OAGG;IACH,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,cAAc,EAAE,0CAA0C,EAAE,CAAC;IACpF;;OAEG;IACH,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B;;OAEG;IACH,WAAW,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACnC;;OAEG;IACH,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { z } from 'zod';
2
+ export declare const serialiserModuleSchema: z.ZodObject<z.extendShape<{
3
+ modulePath: z.ZodString;
4
+ options: z.ZodOptional<z.ZodUnknown>;
5
+ runTimeOnly: z.ZodOptional<z.ZodBoolean>;
6
+ priority: z.ZodOptional<z.ZodNumber>;
7
+ }, {
8
+ filter: z.ZodEffects<z.ZodAny, RegExp, any>;
9
+ }>, "strip", z.ZodTypeAny, {
10
+ options?: unknown;
11
+ runTimeOnly?: boolean | undefined;
12
+ priority?: number | undefined;
13
+ filter: RegExp;
14
+ modulePath: string;
15
+ }, {
16
+ filter?: any;
17
+ options?: unknown;
18
+ runTimeOnly?: boolean | undefined;
19
+ priority?: number | undefined;
20
+ modulePath: string;
21
+ }>;
22
+ export declare type SerialiserModuleDefinition = z.infer<typeof serialiserModuleSchema>;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.serialiserModuleSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const PluginModuleSchema_1 = require("./PluginModuleSchema");
6
+ exports.serialiserModuleSchema = PluginModuleSchema_1.pluginModuleSchema.merge(zod_1.z.object({
7
+ filter: zod_1.z
8
+ .any({ required_error: 'A regex is required to filter pages' })
9
+ .transform(val => new RegExp(val))
10
+ }));
11
+ //# sourceMappingURL=SerialiserModuleSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SerialiserModuleSchema.js","sourceRoot":"","sources":["../src/SerialiserModuleSchema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,6DAA0D;AAE7C,QAAA,sBAAsB,GAAG,uCAAkB,CAAC,KAAK,CAC5D,OAAC,CAAC,MAAM,CAAC;IACP,MAAM,EAAE,OAAC;SACN,GAAG,CAAC,EAAE,cAAc,EAAE,qCAAqC,EAAE,CAAC;SAC9D,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC;CACrC,CAAC,CACH,CAAC"}
@@ -0,0 +1,57 @@
1
+ import { z } from 'zod';
2
+ export declare const sourceModuleSchema: z.ZodObject<z.extendShape<{
3
+ modulePath: z.ZodString;
4
+ options: z.ZodOptional<z.ZodUnknown>;
5
+ runTimeOnly: z.ZodOptional<z.ZodBoolean>;
6
+ priority: z.ZodOptional<z.ZodNumber>;
7
+ }, {
8
+ /**
9
+ * each site has it's own namespace, think of this as your content's uid
10
+ */
11
+ namespace: z.ZodString;
12
+ /**
13
+ * set to true to cache the the source pages
14
+ */
15
+ cache: z.ZodOptional<z.ZodBoolean>;
16
+ /**
17
+ * A collection of workflows that can be triggered for this source
18
+ */
19
+ workflows: z.ZodOptional<z.ZodArray<z.ZodObject<{
20
+ name: z.ZodString;
21
+ options: z.ZodUnknown;
22
+ action: z.ZodAny;
23
+ }, "strip", z.ZodTypeAny, {
24
+ options?: unknown;
25
+ action?: any;
26
+ name: string;
27
+ }, {
28
+ options?: unknown;
29
+ action?: any;
30
+ name: string;
31
+ }>, "many">>;
32
+ }>, "strip", z.ZodTypeAny, {
33
+ options?: unknown;
34
+ runTimeOnly?: boolean | undefined;
35
+ priority?: number | undefined;
36
+ cache?: boolean | undefined;
37
+ workflows?: {
38
+ options?: unknown;
39
+ action?: any;
40
+ name: string;
41
+ }[] | undefined;
42
+ modulePath: string;
43
+ namespace: string;
44
+ }, {
45
+ options?: unknown;
46
+ runTimeOnly?: boolean | undefined;
47
+ priority?: number | undefined;
48
+ cache?: boolean | undefined;
49
+ workflows?: {
50
+ options?: unknown;
51
+ action?: any;
52
+ name: string;
53
+ }[] | undefined;
54
+ modulePath: string;
55
+ namespace: string;
56
+ }>;
57
+ export declare type SourceModuleDefinition = z.infer<typeof sourceModuleSchema>;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sourceModuleSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const PluginModuleSchema_1 = require("./PluginModuleSchema");
6
+ const SourceWorkflowSchema_1 = require("./SourceWorkflowSchema");
7
+ exports.sourceModuleSchema = PluginModuleSchema_1.pluginModuleSchema.merge(zod_1.z.object({
8
+ /**
9
+ * each site has it's own namespace, think of this as your content's uid
10
+ */
11
+ namespace: zod_1.z.string(),
12
+ /**
13
+ * set to true to cache the the source pages
14
+ */
15
+ cache: zod_1.z.boolean().optional(),
16
+ /**
17
+ * A collection of workflows that can be triggered for this source
18
+ */
19
+ workflows: zod_1.z.array(SourceWorkflowSchema_1.sourceWorkflowSchema).optional()
20
+ }));
21
+ //# sourceMappingURL=SourceModuleSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SourceModuleSchema.js","sourceRoot":"","sources":["../src/SourceModuleSchema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,6DAA0D;AAC1D,iEAA8D;AAEjD,QAAA,kBAAkB,GAAG,uCAAkB,CAAC,KAAK,CACxD,OAAC,CAAC,MAAM,CAAC;IACP;;OAEG;IACH,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB;;OAEG;IACH,KAAK,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC7B;;OAEG;IACH,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,2CAAoB,CAAC,CAAC,QAAQ,EAAE;CACpD,CAAC,CACH,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { z } from 'zod';
2
+ export declare const sourceWorkflowSchema: z.ZodObject<{
3
+ /**
4
+ * The name of the workflow
5
+ */
6
+ name: z.ZodString;
7
+ /**
8
+ * Workflow config options
9
+ */
10
+ options: z.ZodUnknown;
11
+ /**
12
+ * action to run when workflow is triggered
13
+ */
14
+ action: z.ZodAny;
15
+ }, "strip", z.ZodTypeAny, {
16
+ options?: unknown;
17
+ action?: any;
18
+ name: string;
19
+ }, {
20
+ options?: unknown;
21
+ action?: any;
22
+ name: string;
23
+ }>;
24
+ export declare type SourceWorkflow = z.infer<typeof sourceWorkflowSchema>;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sourceWorkflowSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.sourceWorkflowSchema = zod_1.z.object({
6
+ /**
7
+ * The name of the workflow
8
+ */
9
+ name: zod_1.z.string(),
10
+ /**
11
+ * Workflow config options
12
+ */
13
+ options: zod_1.z.unknown(),
14
+ /**
15
+ * action to run when workflow is triggered
16
+ */
17
+ action: zod_1.z.any()
18
+ });
19
+ //# sourceMappingURL=SourceWorkflowSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SourceWorkflowSchema.js","sourceRoot":"","sources":["../src/SourceWorkflowSchema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C;;OAEG;IACH,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB;;OAEG;IACH,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;IACpB;;OAEG;IACH,MAAM,EAAE,OAAC,CAAC,GAAG,EAAE;CAChB,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { z } from 'zod';
2
+ export declare const fileExtensionSchema: z.ZodString;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fileExtensionSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.fileExtensionSchema = zod_1.z
6
+ .string()
7
+ .startsWith('.', 'Page extensions must start with a "."');
8
+ //# sourceMappingURL=fileExtensionSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileExtensionSchema.js","sourceRoot":"","sources":["../src/fileExtensionSchema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,mBAAmB,GAAG,OAAC;KACjC,MAAM,EAAE;KACR,UAAU,CAAC,GAAG,EAAE,uCAAuC,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ export * from './PluginModuleSchema';
2
+ export * from './MosaicConfigSchema';
3
+ export * from './SerialiserModuleSchema';
4
+ export * from './SourceModuleSchema';
5
+ export * from './SourceWorkflowSchema';
6
+ export * from './fileExtensionSchema';
package/dist/index.js ADDED
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./PluginModuleSchema"), exports);
18
+ __exportStar(require("./MosaicConfigSchema"), exports);
19
+ __exportStar(require("./SerialiserModuleSchema"), exports);
20
+ __exportStar(require("./SourceModuleSchema"), exports);
21
+ __exportStar(require("./SourceWorkflowSchema"), exports);
22
+ __exportStar(require("./fileExtensionSchema"), exports);
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,uDAAqC;AACrC,2DAAyC;AACzC,uDAAqC;AACrC,yDAAuC;AACvC,wDAAsC"}
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@jpmorganchase/mosaic-schemas",
3
+ "version": "0.1.0-beta.6",
4
+ "author": "",
5
+ "description": "Mosaic Schemas",
6
+ "license": "Apache-2.0",
7
+ "main": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "engines": {
10
+ "node": ">= 12.0.0"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git@github.com:jpmorganchase/mosaic.git"
15
+ },
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "scripts": {
20
+ "build": "tsc",
21
+ "clean": "rm -fr dist"
22
+ },
23
+ "dependencies": {
24
+ "zod": "^3.19.1"
25
+ }
26
+ }