codify-schemas 1.0.14 → 1.0.16
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.d.ts +13 -2
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +5 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
declare const ConfigFileSchema: {
|
|
2
|
+
default: {
|
|
3
|
+
$schema: string;
|
|
4
|
+
$id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
type: string;
|
|
7
|
+
items: {
|
|
8
|
+
$ref: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export { ConfigFileSchema };
|
|
2
13
|
export { default as ProjectSchema } from './project-schema.json';
|
|
3
14
|
export { default as ResourceSchema } from './resource-schema.json';
|
|
4
15
|
export { default as IpcMessageSchema } from './ipc-message-schema.json';
|
|
@@ -9,4 +20,4 @@ export { default as PlanRequestDataSchema } from './messages/plan-request-data-s
|
|
|
9
20
|
export { default as PlanResponseDataSchema } from './messages/plan-response-data-schema.json';
|
|
10
21
|
export { default as ValidateRequestDataSchema } from './messages/validate-request-data-schema.json';
|
|
11
22
|
export { default as ValidateResponseDataSchema } from './messages/validate-response-data-schema.json';
|
|
12
|
-
export
|
|
23
|
+
export * from './types/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
const ConfigFileSchema = await import('./config-file-schema.json', {
|
|
2
|
+
assert: { type: 'json' }
|
|
3
|
+
});
|
|
4
|
+
export { ConfigFileSchema };
|
|
2
5
|
export { default as ProjectSchema } from './project-schema.json';
|
|
3
6
|
export { default as ResourceSchema } from './resource-schema.json';
|
|
4
7
|
export { default as IpcMessageSchema } from './ipc-message-schema.json';
|
|
@@ -9,4 +12,5 @@ export { default as PlanRequestDataSchema } from './messages/plan-request-data-s
|
|
|
9
12
|
export { default as PlanResponseDataSchema } from './messages/plan-response-data-schema.json';
|
|
10
13
|
export { default as ValidateRequestDataSchema } from './messages/validate-request-data-schema.json';
|
|
11
14
|
export { default as ValidateResponseDataSchema } from './messages/validate-response-data-schema.json';
|
|
15
|
+
export * from './types/index.js';
|
|
12
16
|
//# 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,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG,MAAM,MAAM,CAAC,2BAA2B,EAAE;IACjE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAC;CACxB,CAAC,CAAA;AACF,OAAO,EAAE,gBAAgB,EAAE,CAAA;AAC3B,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,4CAA4C,CAAA;AAC/F,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAChG,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AAC5F,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,8CAA8C,CAAC;AACpG,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AACtG,cAAc,kBAAkB,CAAC"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
const ConfigFileSchema = await import('./config-file-schema.json', {
|
|
2
|
+
assert: { type: 'json'}
|
|
3
|
+
})
|
|
4
|
+
export { ConfigFileSchema }
|
|
2
5
|
export { default as ProjectSchema } from './project-schema.json';
|
|
3
6
|
export { default as ResourceSchema } from './resource-schema.json';
|
|
4
7
|
export { default as IpcMessageSchema } from './ipc-message-schema.json';
|
|
@@ -9,4 +12,4 @@ export { default as PlanRequestDataSchema } from './messages/plan-request-data-s
|
|
|
9
12
|
export { default as PlanResponseDataSchema } from './messages/plan-response-data-schema.json';
|
|
10
13
|
export { default as ValidateRequestDataSchema } from './messages/validate-request-data-schema.json';
|
|
11
14
|
export { default as ValidateResponseDataSchema } from './messages/validate-response-data-schema.json';
|
|
12
|
-
export
|
|
15
|
+
export * from './types/index.js';
|