@xyo-network/manifest-model 2.74.4 → 2.75.0
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/browser/Payload.cjs +34 -0
- package/dist/browser/Payload.cjs.map +1 -0
- package/dist/browser/Payload.d.mts.map +1 -0
- package/dist/browser/Payload.d.ts.map +1 -0
- package/dist/browser/Payload.js +13 -0
- package/dist/browser/Payload.js.map +1 -0
- package/dist/{index.js → browser/index.cjs} +1 -8
- package/dist/browser/index.cjs.map +1 -0
- package/dist/{index.d.mts.map → browser/index.d.mts.map} +1 -1
- package/dist/{index.d.ts.map → browser/index.d.ts.map} +1 -1
- package/dist/{index.mjs → browser/index.js} +1 -1
- package/dist/browser/index.js.map +1 -0
- package/dist/node/Payload.d.mts +45 -0
- package/dist/node/Payload.d.mts.map +1 -0
- package/dist/node/Payload.d.ts +45 -0
- package/dist/node/Payload.d.ts.map +1 -0
- package/dist/node/Payload.js +39 -0
- package/dist/node/Payload.js.map +1 -0
- package/dist/node/Payload.mjs +12 -0
- package/dist/node/Payload.mjs.map +1 -0
- package/dist/node/index.d.mts +2 -0
- package/dist/node/index.d.mts.map +1 -0
- package/dist/node/index.d.ts +2 -0
- package/dist/node/index.d.ts.map +1 -0
- package/dist/node/index.js +23 -0
- package/dist/node/index.js.map +1 -0
- package/dist/node/index.mjs +2 -0
- package/dist/node/index.mjs.map +1 -0
- package/package.json +25 -13
- package/dist/Payload.d.mts.map +0 -1
- package/dist/Payload.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.mjs.map +0 -1
- /package/dist/{Payload.d.mts → browser/Payload.d.mts} +0 -0
- /package/dist/{Payload.d.ts → browser/Payload.d.ts} +0 -0
- /package/dist/{index.d.mts → browser/index.d.mts} +0 -0
- /package/dist/{index.d.ts → browser/index.d.ts} +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/Payload.ts
|
|
21
|
+
var Payload_exports = {};
|
|
22
|
+
__export(Payload_exports, {
|
|
23
|
+
ManifestPayloadSchema: () => ManifestPayloadSchema,
|
|
24
|
+
ModuleManifestPayloadSchema: () => ModuleManifestPayloadSchema,
|
|
25
|
+
NodeManifestPayloadSchema: () => NodeManifestPayloadSchema,
|
|
26
|
+
isManifestPayload: () => isManifestPayload
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(Payload_exports);
|
|
29
|
+
var import_payload_model = require("@xyo-network/payload-model");
|
|
30
|
+
var ManifestPayloadSchema = "network.xyo.manifest";
|
|
31
|
+
var ModuleManifestPayloadSchema = "network.xyo.module.manifest";
|
|
32
|
+
var NodeManifestPayloadSchema = "network.xyo.node.manifest";
|
|
33
|
+
var isManifestPayload = (0, import_payload_model.isPayloadOfSchemaType)(ManifestPayloadSchema);
|
|
34
|
+
//# sourceMappingURL=Payload.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Payload.ts"],"sourcesContent":["export type ManifestPayloadSchema = 'network.xyo.manifest'\nexport const ManifestPayloadSchema: ManifestPayloadSchema = 'network.xyo.manifest'\n\nexport type ModuleManifestPayloadSchema = 'network.xyo.module.manifest'\nexport const ModuleManifestPayloadSchema: ModuleManifestPayloadSchema = 'network.xyo.module.manifest'\n\nexport type NodeManifestPayloadSchema = 'network.xyo.node.manifest'\nexport const NodeManifestPayloadSchema: NodeManifestPayloadSchema = 'network.xyo.node.manifest'\n\nimport { isPayloadOfSchemaType, Payload } from '@xyo-network/payload-model'\n\nexport interface Manifest {\n description?: string\n}\n\nexport interface ConfigManifest {\n accountPath?: string\n features?: string[]\n labels?: Record<string, string | undefined>\n language?: string\n name: string\n os?: string\n schema: string\n}\n\nexport interface NodeManifest extends ModuleManifest {\n modules?: {\n private?: ModuleManifest[]\n public?: ModuleManifest[]\n }\n}\n\nexport interface NodeManifestPayload extends NodeManifest {\n schema: NodeManifestPayloadSchema\n}\n\nexport interface ModuleManifest extends Manifest {\n config: ConfigManifest\n lazyStart?: boolean\n}\n\nexport interface ModuleManifestPayload extends ModuleManifest {\n schema: ModuleManifestPayloadSchema | string\n}\n\nexport interface ManifestPayload {\n modules?: Record<string, ModuleManifest>\n nodes: NodeManifest[]\n payloads?: Record<string, Payload>\n schema: ManifestPayloadSchema\n}\n\nexport const isManifestPayload = isPayloadOfSchemaType<ManifestPayload>(ManifestPayloadSchema)\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,2BAA+C;AARxC,IAAM,wBAA+C;AAGrD,IAAM,8BAA2D;AAGjE,IAAM,4BAAuD;AA6C7D,IAAM,wBAAoB,4CAAuC,qBAAqB;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,CAAA;A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,MAAM,WAAW,cAAe,SAAQ,QAAQ;IAC9C,MAAM,EAAE,cAAc,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC3D,MAAM,EAAE,2BAA2B,GAAG,MAAM,CAAA;CAC7C;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;IACxC,KAAK,EAAE,YAAY,EAAE,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,MAAM,EAAE,qBAAqB,CAAA;CAC9B;AAED,eAAO,MAAM,iBAAiB;;+EAAgE,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// src/Payload.ts
|
|
2
|
+
import { isPayloadOfSchemaType } from "@xyo-network/payload-model";
|
|
3
|
+
var ManifestPayloadSchema = "network.xyo.manifest";
|
|
4
|
+
var ModuleManifestPayloadSchema = "network.xyo.module.manifest";
|
|
5
|
+
var NodeManifestPayloadSchema = "network.xyo.node.manifest";
|
|
6
|
+
var isManifestPayload = isPayloadOfSchemaType(ManifestPayloadSchema);
|
|
7
|
+
export {
|
|
8
|
+
ManifestPayloadSchema,
|
|
9
|
+
ModuleManifestPayloadSchema,
|
|
10
|
+
NodeManifestPayloadSchema,
|
|
11
|
+
isManifestPayload
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=Payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Payload.ts"],"sourcesContent":["export type ManifestPayloadSchema = 'network.xyo.manifest'\nexport const ManifestPayloadSchema: ManifestPayloadSchema = 'network.xyo.manifest'\n\nexport type ModuleManifestPayloadSchema = 'network.xyo.module.manifest'\nexport const ModuleManifestPayloadSchema: ModuleManifestPayloadSchema = 'network.xyo.module.manifest'\n\nexport type NodeManifestPayloadSchema = 'network.xyo.node.manifest'\nexport const NodeManifestPayloadSchema: NodeManifestPayloadSchema = 'network.xyo.node.manifest'\n\nimport { isPayloadOfSchemaType, Payload } from '@xyo-network/payload-model'\n\nexport interface Manifest {\n description?: string\n}\n\nexport interface ConfigManifest {\n accountPath?: string\n features?: string[]\n labels?: Record<string, string | undefined>\n language?: string\n name: string\n os?: string\n schema: string\n}\n\nexport interface NodeManifest extends ModuleManifest {\n modules?: {\n private?: ModuleManifest[]\n public?: ModuleManifest[]\n }\n}\n\nexport interface NodeManifestPayload extends NodeManifest {\n schema: NodeManifestPayloadSchema\n}\n\nexport interface ModuleManifest extends Manifest {\n config: ConfigManifest\n lazyStart?: boolean\n}\n\nexport interface ModuleManifestPayload extends ModuleManifest {\n schema: ModuleManifestPayloadSchema | string\n}\n\nexport interface ManifestPayload {\n modules?: Record<string, ModuleManifest>\n nodes: NodeManifest[]\n payloads?: Record<string, Payload>\n schema: ManifestPayloadSchema\n}\n\nexport const isManifestPayload = isPayloadOfSchemaType<ManifestPayload>(ManifestPayloadSchema)\n"],"mappings":";AASA,SAAS,6BAAsC;AARxC,IAAM,wBAA+C;AAGrD,IAAM,8BAA2D;AAGjE,IAAM,4BAAuD;AA6C7D,IAAM,oBAAoB,sBAAuC,qBAAqB;","names":[]}
|
|
@@ -33,11 +33,4 @@ var ManifestPayloadSchema = "network.xyo.manifest";
|
|
|
33
33
|
var ModuleManifestPayloadSchema = "network.xyo.module.manifest";
|
|
34
34
|
var NodeManifestPayloadSchema = "network.xyo.node.manifest";
|
|
35
35
|
var isManifestPayload = (0, import_payload_model.isPayloadOfSchemaType)(ManifestPayloadSchema);
|
|
36
|
-
|
|
37
|
-
0 && (module.exports = {
|
|
38
|
-
ManifestPayloadSchema,
|
|
39
|
-
ModuleManifestPayloadSchema,
|
|
40
|
-
NodeManifestPayloadSchema,
|
|
41
|
-
isManifestPayload
|
|
42
|
-
});
|
|
43
|
-
//# sourceMappingURL=index.js.map
|
|
36
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Payload.ts"],"sourcesContent":["export * from './Payload'\n","export type ManifestPayloadSchema = 'network.xyo.manifest'\nexport const ManifestPayloadSchema: ManifestPayloadSchema = 'network.xyo.manifest'\n\nexport type ModuleManifestPayloadSchema = 'network.xyo.module.manifest'\nexport const ModuleManifestPayloadSchema: ModuleManifestPayloadSchema = 'network.xyo.module.manifest'\n\nexport type NodeManifestPayloadSchema = 'network.xyo.node.manifest'\nexport const NodeManifestPayloadSchema: NodeManifestPayloadSchema = 'network.xyo.node.manifest'\n\nimport { isPayloadOfSchemaType, Payload } from '@xyo-network/payload-model'\n\nexport interface Manifest {\n description?: string\n}\n\nexport interface ConfigManifest {\n accountPath?: string\n features?: string[]\n labels?: Record<string, string | undefined>\n language?: string\n name: string\n os?: string\n schema: string\n}\n\nexport interface NodeManifest extends ModuleManifest {\n modules?: {\n private?: ModuleManifest[]\n public?: ModuleManifest[]\n }\n}\n\nexport interface NodeManifestPayload extends NodeManifest {\n schema: NodeManifestPayloadSchema\n}\n\nexport interface ModuleManifest extends Manifest {\n config: ConfigManifest\n lazyStart?: boolean\n}\n\nexport interface ModuleManifestPayload extends ModuleManifest {\n schema: ModuleManifestPayloadSchema | string\n}\n\nexport interface ManifestPayload {\n modules?: Record<string, ModuleManifest>\n nodes: NodeManifest[]\n payloads?: Record<string, Payload>\n schema: ManifestPayloadSchema\n}\n\nexport const isManifestPayload = isPayloadOfSchemaType<ManifestPayload>(ManifestPayloadSchema)\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACSA,2BAA+C;AARxC,IAAM,wBAA+C;AAGrD,IAAM,8BAA2D;AAGjE,IAAM,4BAAuD;AA6C7D,IAAM,wBAAoB,4CAAuC,qBAAqB;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Payload.ts"],"sourcesContent":["export type ManifestPayloadSchema = 'network.xyo.manifest'\nexport const ManifestPayloadSchema: ManifestPayloadSchema = 'network.xyo.manifest'\n\nexport type ModuleManifestPayloadSchema = 'network.xyo.module.manifest'\nexport const ModuleManifestPayloadSchema: ModuleManifestPayloadSchema = 'network.xyo.module.manifest'\n\nexport type NodeManifestPayloadSchema = 'network.xyo.node.manifest'\nexport const NodeManifestPayloadSchema: NodeManifestPayloadSchema = 'network.xyo.node.manifest'\n\nimport { isPayloadOfSchemaType, Payload } from '@xyo-network/payload-model'\n\nexport interface Manifest {\n description?: string\n}\n\nexport interface ConfigManifest {\n accountPath?: string\n features?: string[]\n labels?: Record<string, string | undefined>\n language?: string\n name: string\n os?: string\n schema: string\n}\n\nexport interface NodeManifest extends ModuleManifest {\n modules?: {\n private?: ModuleManifest[]\n public?: ModuleManifest[]\n }\n}\n\nexport interface NodeManifestPayload extends NodeManifest {\n schema: NodeManifestPayloadSchema\n}\n\nexport interface ModuleManifest extends Manifest {\n config: ConfigManifest\n lazyStart?: boolean\n}\n\nexport interface ModuleManifestPayload extends ModuleManifest {\n schema: ModuleManifestPayloadSchema | string\n}\n\nexport interface ManifestPayload {\n modules?: Record<string, ModuleManifest>\n nodes: NodeManifest[]\n payloads?: Record<string, Payload>\n schema: ManifestPayloadSchema\n}\n\nexport const isManifestPayload = isPayloadOfSchemaType<ManifestPayload>(ManifestPayloadSchema)\n"],"mappings":";AASA,SAAS,6BAAsC;AARxC,IAAM,wBAA+C;AAGrD,IAAM,8BAA2D;AAGjE,IAAM,4BAAuD;AA6C7D,IAAM,oBAAoB,sBAAuC,qBAAqB;","names":[]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export type ManifestPayloadSchema = 'network.xyo.manifest';
|
|
2
|
+
export declare const ManifestPayloadSchema: ManifestPayloadSchema;
|
|
3
|
+
export type ModuleManifestPayloadSchema = 'network.xyo.module.manifest';
|
|
4
|
+
export declare const ModuleManifestPayloadSchema: ModuleManifestPayloadSchema;
|
|
5
|
+
export type NodeManifestPayloadSchema = 'network.xyo.node.manifest';
|
|
6
|
+
export declare const NodeManifestPayloadSchema: NodeManifestPayloadSchema;
|
|
7
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
8
|
+
export interface Manifest {
|
|
9
|
+
description?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ConfigManifest {
|
|
12
|
+
accountPath?: string;
|
|
13
|
+
features?: string[];
|
|
14
|
+
labels?: Record<string, string | undefined>;
|
|
15
|
+
language?: string;
|
|
16
|
+
name: string;
|
|
17
|
+
os?: string;
|
|
18
|
+
schema: string;
|
|
19
|
+
}
|
|
20
|
+
export interface NodeManifest extends ModuleManifest {
|
|
21
|
+
modules?: {
|
|
22
|
+
private?: ModuleManifest[];
|
|
23
|
+
public?: ModuleManifest[];
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export interface NodeManifestPayload extends NodeManifest {
|
|
27
|
+
schema: NodeManifestPayloadSchema;
|
|
28
|
+
}
|
|
29
|
+
export interface ModuleManifest extends Manifest {
|
|
30
|
+
config: ConfigManifest;
|
|
31
|
+
lazyStart?: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface ModuleManifestPayload extends ModuleManifest {
|
|
34
|
+
schema: ModuleManifestPayloadSchema | string;
|
|
35
|
+
}
|
|
36
|
+
export interface ManifestPayload {
|
|
37
|
+
modules?: Record<string, ModuleManifest>;
|
|
38
|
+
nodes: NodeManifest[];
|
|
39
|
+
payloads?: Record<string, Payload>;
|
|
40
|
+
schema: ManifestPayloadSchema;
|
|
41
|
+
}
|
|
42
|
+
export declare const isManifestPayload: (x: {
|
|
43
|
+
schema: string;
|
|
44
|
+
} & import("@xyo-network/payload-model").PayloadFields) => x is ManifestPayload;
|
|
45
|
+
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,CAAA;AAC1D,eAAO,MAAM,qBAAqB,EAAE,qBAA8C,CAAA;AAElF,MAAM,MAAM,2BAA2B,GAAG,6BAA6B,CAAA;AACvE,eAAO,MAAM,2BAA2B,EAAE,2BAA2D,CAAA;AAErG,MAAM,MAAM,yBAAyB,GAAG,2BAA2B,CAAA;AACnE,eAAO,MAAM,yBAAyB,EAAE,yBAAuD,CAAA;AAE/F,OAAO,EAAyB,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE3E,MAAM,WAAW,QAAQ;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,cAAc;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAA;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,YAAa,SAAQ,cAAc;IAClD,OAAO,CAAC,EAAE;QACR,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;QAC1B,MAAM,CAAC,EAAE,cAAc,EAAE,CAAA;KAC1B,CAAA;CACF;AAED,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,MAAM,EAAE,yBAAyB,CAAA;CAClC;AAED,MAAM,WAAW,cAAe,SAAQ,QAAQ;IAC9C,MAAM,EAAE,cAAc,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC3D,MAAM,EAAE,2BAA2B,GAAG,MAAM,CAAA;CAC7C;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;IACxC,KAAK,EAAE,YAAY,EAAE,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,MAAM,EAAE,qBAAqB,CAAA;CAC9B;AAED,eAAO,MAAM,iBAAiB;;+EAAgE,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export type ManifestPayloadSchema = 'network.xyo.manifest';
|
|
2
|
+
export declare const ManifestPayloadSchema: ManifestPayloadSchema;
|
|
3
|
+
export type ModuleManifestPayloadSchema = 'network.xyo.module.manifest';
|
|
4
|
+
export declare const ModuleManifestPayloadSchema: ModuleManifestPayloadSchema;
|
|
5
|
+
export type NodeManifestPayloadSchema = 'network.xyo.node.manifest';
|
|
6
|
+
export declare const NodeManifestPayloadSchema: NodeManifestPayloadSchema;
|
|
7
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
8
|
+
export interface Manifest {
|
|
9
|
+
description?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ConfigManifest {
|
|
12
|
+
accountPath?: string;
|
|
13
|
+
features?: string[];
|
|
14
|
+
labels?: Record<string, string | undefined>;
|
|
15
|
+
language?: string;
|
|
16
|
+
name: string;
|
|
17
|
+
os?: string;
|
|
18
|
+
schema: string;
|
|
19
|
+
}
|
|
20
|
+
export interface NodeManifest extends ModuleManifest {
|
|
21
|
+
modules?: {
|
|
22
|
+
private?: ModuleManifest[];
|
|
23
|
+
public?: ModuleManifest[];
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export interface NodeManifestPayload extends NodeManifest {
|
|
27
|
+
schema: NodeManifestPayloadSchema;
|
|
28
|
+
}
|
|
29
|
+
export interface ModuleManifest extends Manifest {
|
|
30
|
+
config: ConfigManifest;
|
|
31
|
+
lazyStart?: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface ModuleManifestPayload extends ModuleManifest {
|
|
34
|
+
schema: ModuleManifestPayloadSchema | string;
|
|
35
|
+
}
|
|
36
|
+
export interface ManifestPayload {
|
|
37
|
+
modules?: Record<string, ModuleManifest>;
|
|
38
|
+
nodes: NodeManifest[];
|
|
39
|
+
payloads?: Record<string, Payload>;
|
|
40
|
+
schema: ManifestPayloadSchema;
|
|
41
|
+
}
|
|
42
|
+
export declare const isManifestPayload: (x: {
|
|
43
|
+
schema: string;
|
|
44
|
+
} & import("@xyo-network/payload-model").PayloadFields) => x is ManifestPayload;
|
|
45
|
+
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,CAAA;AAC1D,eAAO,MAAM,qBAAqB,EAAE,qBAA8C,CAAA;AAElF,MAAM,MAAM,2BAA2B,GAAG,6BAA6B,CAAA;AACvE,eAAO,MAAM,2BAA2B,EAAE,2BAA2D,CAAA;AAErG,MAAM,MAAM,yBAAyB,GAAG,2BAA2B,CAAA;AACnE,eAAO,MAAM,yBAAyB,EAAE,yBAAuD,CAAA;AAE/F,OAAO,EAAyB,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE3E,MAAM,WAAW,QAAQ;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,cAAc;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAA;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,YAAa,SAAQ,cAAc;IAClD,OAAO,CAAC,EAAE;QACR,OAAO,CAAC,EAAE,cAAc,EAAE,CAAA;QAC1B,MAAM,CAAC,EAAE,cAAc,EAAE,CAAA;KAC1B,CAAA;CACF;AAED,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,MAAM,EAAE,yBAAyB,CAAA;CAClC;AAED,MAAM,WAAW,cAAe,SAAQ,QAAQ;IAC9C,MAAM,EAAE,cAAc,CAAA;IACtB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAC3D,MAAM,EAAE,2BAA2B,GAAG,MAAM,CAAA;CAC7C;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;IACxC,KAAK,EAAE,YAAY,EAAE,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,MAAM,EAAE,qBAAqB,CAAA;CAC9B;AAED,eAAO,MAAM,iBAAiB;;+EAAgE,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var Payload_exports = {};
|
|
20
|
+
__export(Payload_exports, {
|
|
21
|
+
ManifestPayloadSchema: () => ManifestPayloadSchema,
|
|
22
|
+
ModuleManifestPayloadSchema: () => ModuleManifestPayloadSchema,
|
|
23
|
+
NodeManifestPayloadSchema: () => NodeManifestPayloadSchema,
|
|
24
|
+
isManifestPayload: () => isManifestPayload
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(Payload_exports);
|
|
27
|
+
var import_payload_model = require("@xyo-network/payload-model");
|
|
28
|
+
const ManifestPayloadSchema = "network.xyo.manifest";
|
|
29
|
+
const ModuleManifestPayloadSchema = "network.xyo.module.manifest";
|
|
30
|
+
const NodeManifestPayloadSchema = "network.xyo.node.manifest";
|
|
31
|
+
const isManifestPayload = (0, import_payload_model.isPayloadOfSchemaType)(ManifestPayloadSchema);
|
|
32
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
+
0 && (module.exports = {
|
|
34
|
+
ManifestPayloadSchema,
|
|
35
|
+
ModuleManifestPayloadSchema,
|
|
36
|
+
NodeManifestPayloadSchema,
|
|
37
|
+
isManifestPayload
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=Payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Payload.ts"],"sourcesContent":["export type ManifestPayloadSchema = 'network.xyo.manifest'\nexport const ManifestPayloadSchema: ManifestPayloadSchema = 'network.xyo.manifest'\n\nexport type ModuleManifestPayloadSchema = 'network.xyo.module.manifest'\nexport const ModuleManifestPayloadSchema: ModuleManifestPayloadSchema = 'network.xyo.module.manifest'\n\nexport type NodeManifestPayloadSchema = 'network.xyo.node.manifest'\nexport const NodeManifestPayloadSchema: NodeManifestPayloadSchema = 'network.xyo.node.manifest'\n\nimport { isPayloadOfSchemaType, Payload } from '@xyo-network/payload-model'\n\nexport interface Manifest {\n description?: string\n}\n\nexport interface ConfigManifest {\n accountPath?: string\n features?: string[]\n labels?: Record<string, string | undefined>\n language?: string\n name: string\n os?: string\n schema: string\n}\n\nexport interface NodeManifest extends ModuleManifest {\n modules?: {\n private?: ModuleManifest[]\n public?: ModuleManifest[]\n }\n}\n\nexport interface NodeManifestPayload extends NodeManifest {\n schema: NodeManifestPayloadSchema\n}\n\nexport interface ModuleManifest extends Manifest {\n config: ConfigManifest\n lazyStart?: boolean\n}\n\nexport interface ModuleManifestPayload extends ModuleManifest {\n schema: ModuleManifestPayloadSchema | string\n}\n\nexport interface ManifestPayload {\n modules?: Record<string, ModuleManifest>\n nodes: NodeManifest[]\n payloads?: Record<string, Payload>\n schema: ManifestPayloadSchema\n}\n\nexport const isManifestPayload = isPayloadOfSchemaType<ManifestPayload>(ManifestPayloadSchema)\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,2BAA+C;AARxC,MAAM,wBAA+C;AAGrD,MAAM,8BAA2D;AAGjE,MAAM,4BAAuD;AA6C7D,MAAM,wBAAoB,4CAAuC,qBAAqB;","names":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const ManifestPayloadSchema = "network.xyo.manifest";
|
|
2
|
+
const ModuleManifestPayloadSchema = "network.xyo.module.manifest";
|
|
3
|
+
const NodeManifestPayloadSchema = "network.xyo.node.manifest";
|
|
4
|
+
import { isPayloadOfSchemaType } from "@xyo-network/payload-model";
|
|
5
|
+
const isManifestPayload = isPayloadOfSchemaType(ManifestPayloadSchema);
|
|
6
|
+
export {
|
|
7
|
+
ManifestPayloadSchema,
|
|
8
|
+
ModuleManifestPayloadSchema,
|
|
9
|
+
NodeManifestPayloadSchema,
|
|
10
|
+
isManifestPayload
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=Payload.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Payload.ts"],"sourcesContent":["export type ManifestPayloadSchema = 'network.xyo.manifest'\nexport const ManifestPayloadSchema: ManifestPayloadSchema = 'network.xyo.manifest'\n\nexport type ModuleManifestPayloadSchema = 'network.xyo.module.manifest'\nexport const ModuleManifestPayloadSchema: ModuleManifestPayloadSchema = 'network.xyo.module.manifest'\n\nexport type NodeManifestPayloadSchema = 'network.xyo.node.manifest'\nexport const NodeManifestPayloadSchema: NodeManifestPayloadSchema = 'network.xyo.node.manifest'\n\nimport { isPayloadOfSchemaType, Payload } from '@xyo-network/payload-model'\n\nexport interface Manifest {\n description?: string\n}\n\nexport interface ConfigManifest {\n accountPath?: string\n features?: string[]\n labels?: Record<string, string | undefined>\n language?: string\n name: string\n os?: string\n schema: string\n}\n\nexport interface NodeManifest extends ModuleManifest {\n modules?: {\n private?: ModuleManifest[]\n public?: ModuleManifest[]\n }\n}\n\nexport interface NodeManifestPayload extends NodeManifest {\n schema: NodeManifestPayloadSchema\n}\n\nexport interface ModuleManifest extends Manifest {\n config: ConfigManifest\n lazyStart?: boolean\n}\n\nexport interface ModuleManifestPayload extends ModuleManifest {\n schema: ModuleManifestPayloadSchema | string\n}\n\nexport interface ManifestPayload {\n modules?: Record<string, ModuleManifest>\n nodes: NodeManifest[]\n payloads?: Record<string, Payload>\n schema: ManifestPayloadSchema\n}\n\nexport const isManifestPayload = isPayloadOfSchemaType<ManifestPayload>(ManifestPayloadSchema)\n"],"mappings":"AACO,MAAM,wBAA+C;AAGrD,MAAM,8BAA2D;AAGjE,MAAM,4BAAuD;AAEpE,SAAS,6BAAsC;AA2CxC,MAAM,oBAAoB,sBAAuC,qBAAqB;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var src_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(src_exports);
|
|
18
|
+
__reExport(src_exports, require("./Payload"), module.exports);
|
|
19
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
20
|
+
0 && (module.exports = {
|
|
21
|
+
...require("./Payload")
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './Payload'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,sBAAd;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from './Payload'\n"],"mappings":"AAAA,cAAc;","names":[]}
|
package/package.json
CHANGED
|
@@ -10,24 +10,36 @@
|
|
|
10
10
|
},
|
|
11
11
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/payload-model": "~2.
|
|
13
|
+
"@xyo-network/payload-model": "~2.75.0"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@xylabs/ts-scripts-yarn3": "^3.0.
|
|
17
|
-
"@xylabs/tsconfig": "^3.0.
|
|
16
|
+
"@xylabs/ts-scripts-yarn3": "^3.0.70",
|
|
17
|
+
"@xylabs/tsconfig": "^3.0.70",
|
|
18
18
|
"typescript": "^5.2.2"
|
|
19
19
|
},
|
|
20
20
|
"docs": "dist/docs.json",
|
|
21
|
-
"types": "dist/index.d.ts",
|
|
21
|
+
"types": "dist/node/index.d.ts",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
24
|
+
"browser": {
|
|
25
|
+
"require": {
|
|
26
|
+
"types": "./dist/browser/index.d.ts",
|
|
27
|
+
"default": "./dist/browser/index.cjs"
|
|
28
|
+
},
|
|
29
|
+
"import": {
|
|
30
|
+
"types": "./dist/browser/index.d.mts",
|
|
31
|
+
"default": "./dist/browser/index.js"
|
|
32
|
+
}
|
|
27
33
|
},
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
|
|
34
|
+
"node": {
|
|
35
|
+
"require": {
|
|
36
|
+
"types": "./dist/node/index.d.ts",
|
|
37
|
+
"default": "./dist/node/index.js"
|
|
38
|
+
},
|
|
39
|
+
"import": {
|
|
40
|
+
"types": "./dist/node/index.d.mts",
|
|
41
|
+
"default": "./dist/node/index.mjs"
|
|
42
|
+
}
|
|
31
43
|
}
|
|
32
44
|
},
|
|
33
45
|
"./docs": {
|
|
@@ -35,8 +47,8 @@
|
|
|
35
47
|
},
|
|
36
48
|
"./package.json": "./package.json"
|
|
37
49
|
},
|
|
38
|
-
"main": "dist/index.js",
|
|
39
|
-
"module": "dist/index.mjs",
|
|
50
|
+
"main": "dist/node/index.js",
|
|
51
|
+
"module": "dist/node/index.mjs",
|
|
40
52
|
"homepage": "https://xyo.network",
|
|
41
53
|
"license": "LGPL-3.0",
|
|
42
54
|
"name": "@xyo-network/manifest-model",
|
|
@@ -48,5 +60,5 @@
|
|
|
48
60
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
49
61
|
},
|
|
50
62
|
"sideEffects": false,
|
|
51
|
-
"version": "2.
|
|
63
|
+
"version": "2.75.0"
|
|
52
64
|
}
|
package/dist/Payload.d.mts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../src/Payload.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,CAAA;AAC1D,eAAO,MAAM,qBAAqB,EAAE,qBAA8C,CAAA;AAElF,MAAM,MAAM,2BAA2B,GAAG,6BAA6B,CAAA;AACvE,eAAO,MAAM,2BAA2B,EAAE,2BAA2D,CAAA;AAErG,MAAM,MAAM,yBAAyB,GAAG,2BAA2B,CAAA;AACnE,eAAO,MAAM,yBAAyB,EAAE,yBAAuD,CAAA;AAE/F,OAAO,EAAyB,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE3E,MAAM,WAAW,QAAQ;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,cAAc;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAA;I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AClC,MAAM,EAAE,qBAAqB,CAAA;CAC9B;AAED,eAAO,MAAM,iBAAiB;;+EAAgE,CAAA"}
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts","../src/Payload.ts"],"sourcesContent":["export * from './Payload'\n","export type ManifestPayloadSchema = 'network.xyo.manifest'\nexport const ManifestPayloadSchema: ManifestPayloadSchema = 'network.xyo.manifest'\n\nexport type ModuleManifestPayloadSchema = 'network.xyo.module.manifest'\nexport const ModuleManifestPayloadSchema: ModuleManifestPayloadSchema = 'network.xyo.module.manifest'\n\nexport type NodeManifestPayloadSchema = 'network.xyo.node.manifest'\nexport const NodeManifestPayloadSchema: NodeManifestPayloadSchema = 'network.xyo.node.manifest'\n\nimport { isPayloadOfSchemaType, Payload } from '@xyo-network/payload-model'\n\nexport interface Manifest {\n description?: string\n}\n\nexport interface ConfigManifest {\n accountPath?: string\n features?: string[]\n labels?: Record<string, string | undefined>\n language?: string\n name: string\n os?: string\n schema: string\n}\n\nexport interface NodeManifest extends ModuleManifest {\n modules?: {\n private?: ModuleManifest[]\n public?: ModuleManifest[]\n }\n}\n\nexport interface NodeManifestPayload extends NodeManifest {\n schema: NodeManifestPayloadSchema\n}\n\nexport interface ModuleManifest extends Manifest {\n config: ConfigManifest\n lazyStart?: boolean\n}\n\nexport interface ModuleManifestPayload extends ModuleManifest {\n schema: ModuleManifestPayloadSchema | string\n}\n\nexport interface ManifestPayload {\n modules?: Record<string, ModuleManifest>\n nodes: NodeManifest[]\n payloads?: Record<string, Payload>\n schema: ManifestPayloadSchema\n}\n\nexport const isManifestPayload = isPayloadOfSchemaType<ManifestPayload>(ManifestPayloadSchema)\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACSA,2BAA+C;AARxC,IAAM,wBAA+C;AAGrD,IAAM,8BAA2D;AAGjE,IAAM,4BAAuD;AA6C7D,IAAM,wBAAoB,4CAAuC,qBAAqB;","names":[]}
|
package/dist/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/Payload.ts"],"sourcesContent":["export type ManifestPayloadSchema = 'network.xyo.manifest'\nexport const ManifestPayloadSchema: ManifestPayloadSchema = 'network.xyo.manifest'\n\nexport type ModuleManifestPayloadSchema = 'network.xyo.module.manifest'\nexport const ModuleManifestPayloadSchema: ModuleManifestPayloadSchema = 'network.xyo.module.manifest'\n\nexport type NodeManifestPayloadSchema = 'network.xyo.node.manifest'\nexport const NodeManifestPayloadSchema: NodeManifestPayloadSchema = 'network.xyo.node.manifest'\n\nimport { isPayloadOfSchemaType, Payload } from '@xyo-network/payload-model'\n\nexport interface Manifest {\n description?: string\n}\n\nexport interface ConfigManifest {\n accountPath?: string\n features?: string[]\n labels?: Record<string, string | undefined>\n language?: string\n name: string\n os?: string\n schema: string\n}\n\nexport interface NodeManifest extends ModuleManifest {\n modules?: {\n private?: ModuleManifest[]\n public?: ModuleManifest[]\n }\n}\n\nexport interface NodeManifestPayload extends NodeManifest {\n schema: NodeManifestPayloadSchema\n}\n\nexport interface ModuleManifest extends Manifest {\n config: ConfigManifest\n lazyStart?: boolean\n}\n\nexport interface ModuleManifestPayload extends ModuleManifest {\n schema: ModuleManifestPayloadSchema | string\n}\n\nexport interface ManifestPayload {\n modules?: Record<string, ModuleManifest>\n nodes: NodeManifest[]\n payloads?: Record<string, Payload>\n schema: ManifestPayloadSchema\n}\n\nexport const isManifestPayload = isPayloadOfSchemaType<ManifestPayload>(ManifestPayloadSchema)\n"],"mappings":";AASA,SAAS,6BAAsC;AARxC,IAAM,wBAA+C;AAGrD,IAAM,8BAA2D;AAGjE,IAAM,4BAAuD;AA6C7D,IAAM,oBAAoB,sBAAuC,qBAAqB;","names":[]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|