@xyo-network/manifest 2.75.15 → 2.75.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.
@@ -1,247 +0,0 @@
1
- // src/schema.json
2
- var $schema = "http://json-schema.org/draft-07/schema#";
3
- var additionalProperties = false;
4
- var definitions = {
5
- architecture: {
6
- description: "Architecture",
7
- enum: [
8
- "386",
9
- "amd64",
10
- "arm",
11
- "arm64",
12
- "loong64",
13
- "mips",
14
- "mipsle",
15
- "mips64",
16
- "mips64le",
17
- "ppc64",
18
- "ppc64le",
19
- "riscv64",
20
- "s390x",
21
- "wasm"
22
- ],
23
- type: "string"
24
- },
25
- config: {
26
- additionalProperties: true,
27
- description: "Config for a module",
28
- id: {
29
- type: "string"
30
- },
31
- properties: {
32
- accountPath: {
33
- description: "HDWallet path to derive account",
34
- type: "string"
35
- },
36
- architecture: {
37
- $ref: "#/definitions/architecture"
38
- },
39
- description: {
40
- type: "string"
41
- },
42
- features: {
43
- items: {
44
- $ref: "#/definitions/feature"
45
- },
46
- type: "array"
47
- },
48
- language: {
49
- $ref: "#/definitions/language"
50
- },
51
- name: {
52
- type: "string"
53
- },
54
- os: {
55
- $ref: "#/definitions/os"
56
- },
57
- schema: {
58
- type: "string"
59
- }
60
- },
61
- required: [
62
- "accountPath",
63
- "name",
64
- "schema"
65
- ],
66
- type: "object"
67
- },
68
- feature: {
69
- description: "Framework",
70
- enum: [
71
- "angular",
72
- "asp.net",
73
- "browser",
74
- "cryengine",
75
- "corona",
76
- "django",
77
- "flutter",
78
- "ionic",
79
- "jquery",
80
- "nodejs",
81
- "phonegap",
82
- "react",
83
- "react-native",
84
- "spring",
85
- "unity",
86
- "unreal",
87
- "vue",
88
- "xamarin"
89
- ],
90
- type: "string"
91
- },
92
- language: {
93
- description: "Language",
94
- enum: [
95
- "c",
96
- "c++",
97
- "c#",
98
- "go",
99
- "java",
100
- "javascript",
101
- "kotlin",
102
- "lua",
103
- "python",
104
- "ruby",
105
- "rust",
106
- "scala",
107
- "solidity",
108
- "swift"
109
- ],
110
- type: "string"
111
- },
112
- module: {
113
- additionalProperties: false,
114
- description: "Module Definition",
115
- properties: {
116
- config: {
117
- $ref: "#/definitions/config"
118
- },
119
- description: {
120
- type: "string"
121
- }
122
- },
123
- required: [
124
- "config"
125
- ],
126
- type: "object"
127
- },
128
- modules: {
129
- description: "List of Modules",
130
- items: {
131
- $ref: "#/definitions/module"
132
- },
133
- nullable: true,
134
- type: "array"
135
- },
136
- node: {
137
- additionalProperties: false,
138
- description: "Node Definition - Generally loaded into an existing or new Node Module",
139
- id: {
140
- type: "string"
141
- },
142
- properties: {
143
- config: {
144
- $ref: "#/definitions/config"
145
- },
146
- description: {
147
- type: "string"
148
- },
149
- modules: {
150
- additionalProperties: false,
151
- description: "Modules in the Node",
152
- properties: {
153
- private: {
154
- $ref: "#/definitions/modules"
155
- },
156
- public: {
157
- $ref: "#/definitions/modules"
158
- }
159
- },
160
- required: [],
161
- type: "object"
162
- },
163
- name: {
164
- type: "string"
165
- }
166
- },
167
- required: [],
168
- type: "object"
169
- },
170
- nodes: {
171
- description: "List of Node Manifests",
172
- items: {
173
- $ref: "#/definitions/node"
174
- },
175
- type: "array"
176
- },
177
- os: {
178
- description: "Operating System",
179
- enum: [
180
- "aix",
181
- "android",
182
- "darwin",
183
- "dragonfly",
184
- "freebsd",
185
- "illumos",
186
- "ios",
187
- "linux",
188
- "netbsd",
189
- "openbsd",
190
- "osx",
191
- "plan9",
192
- "solaris",
193
- "windows"
194
- ],
195
- type: "string"
196
- },
197
- payloads: {
198
- description: "List of Modules",
199
- items: {
200
- $ref: "#/definitions/module"
201
- },
202
- nullable: true,
203
- type: "array"
204
- }
205
- };
206
- var description = "Describes an XYO Package which is a collection of XYO Modules";
207
- var properties = {
208
- $schema: {
209
- type: "string"
210
- },
211
- description: {
212
- type: "string"
213
- },
214
- nodes: {
215
- $ref: "#/definitions/nodes",
216
- description: "The list of Nodes that are defined in the manifest"
217
- },
218
- schema: {
219
- pattern: "^network.xyo.manifest$",
220
- type: "string"
221
- }
222
- };
223
- var required = [
224
- "nodes",
225
- "schema"
226
- ];
227
- var title = "XYO Manifest";
228
- var schema_default = {
229
- $schema,
230
- additionalProperties,
231
- definitions,
232
- description,
233
- properties,
234
- required,
235
- title
236
- };
237
- export {
238
- $schema,
239
- additionalProperties,
240
- schema_default as default,
241
- definitions,
242
- description,
243
- properties,
244
- required,
245
- title
246
- };
247
- //# sourceMappingURL=schema.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/schema.json"],"sourcesContent":["{\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"additionalProperties\": false,\n \"definitions\": {\n \"architecture\": {\n \"description\": \"Architecture\",\n \"enum\": [\n \"386\",\n \"amd64\",\n \"arm\",\n \"arm64\",\n \"loong64\",\n \"mips\",\n \"mipsle\",\n \"mips64\",\n \"mips64le\",\n \"ppc64\",\n \"ppc64le\",\n \"riscv64\",\n \"s390x\",\n \"wasm\"\n ],\n \"type\": \"string\"\n },\n \"config\": {\n \"additionalProperties\": true,\n \"description\": \"Config for a module\",\n \"id\": {\n \"type\": \"string\"\n },\n \"properties\": {\n \"accountPath\": {\n \"description\": \"HDWallet path to derive account\",\n \"type\": \"string\"\n },\n \"architecture\": {\n \"$ref\": \"#/definitions/architecture\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"features\": {\n \"items\": {\n \"$ref\": \"#/definitions/feature\"\n },\n \"type\": \"array\"\n },\n \"language\": {\n \"$ref\": \"#/definitions/language\"\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"os\": {\n \"$ref\": \"#/definitions/os\"\n },\n \"schema\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"accountPath\",\n \"name\",\n \"schema\"\n ],\n \"type\": \"object\"\n },\n \"feature\": {\n \"description\": \"Framework\",\n \"enum\": [\n \"angular\",\n \"asp.net\",\n \"browser\",\n \"cryengine\",\n \"corona\",\n \"django\",\n \"flutter\",\n \"ionic\",\n \"jquery\",\n \"nodejs\",\n \"phonegap\",\n \"react\",\n \"react-native\",\n \"spring\",\n \"unity\",\n \"unreal\",\n \"vue\",\n \"xamarin\"\n ],\n \"type\": \"string\"\n },\n \"language\": {\n \"description\": \"Language\",\n \"enum\": [\n \"c\",\n \"c++\",\n \"c#\",\n \"go\",\n \"java\",\n \"javascript\",\n \"kotlin\",\n \"lua\",\n \"python\",\n \"ruby\",\n \"rust\",\n \"scala\",\n \"solidity\",\n \"swift\"\n ],\n \"type\": \"string\"\n },\n \"module\": {\n \"additionalProperties\": false,\n \"description\": \"Module Definition\",\n \"properties\": {\n \"config\": {\n \"$ref\": \"#/definitions/config\"\n },\n \"description\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"config\"\n ],\n \"type\": \"object\"\n },\n \"modules\": {\n \"description\": \"List of Modules\",\n \"items\": {\n \"$ref\": \"#/definitions/module\"\n },\n \"nullable\": true,\n \"type\": \"array\"\n },\n \"node\": {\n \"additionalProperties\": false,\n \"description\": \"Node Definition - Generally loaded into an existing or new Node Module\",\n \"id\": {\n \"type\": \"string\"\n },\n \"properties\": {\n \"config\": {\n \"$ref\": \"#/definitions/config\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"modules\": {\n \"additionalProperties\": false,\n \"description\": \"Modules in the Node\",\n \"properties\": {\n \"private\": {\n \"$ref\": \"#/definitions/modules\"\n },\n \"public\": {\n \"$ref\": \"#/definitions/modules\"\n }\n },\n \"required\": [],\n \"type\": \"object\"\n },\n \"name\": {\n \"type\": \"string\"\n }\n },\n \"required\": [],\n \"type\": \"object\"\n },\n \"nodes\": {\n \"description\": \"List of Node Manifests\",\n \"items\": {\n \"$ref\": \"#/definitions/node\"\n },\n \"type\": \"array\"\n },\n \"os\": {\n \"description\": \"Operating System\",\n \"enum\": [\n \"aix\",\n \"android\",\n \"darwin\",\n \"dragonfly\",\n \"freebsd\",\n \"illumos\",\n \"ios\",\n \"linux\",\n \"netbsd\",\n \"openbsd\",\n \"osx\",\n \"plan9\",\n \"solaris\",\n \"windows\"\n ],\n \"type\": \"string\"\n },\n \"payloads\": {\n \"description\": \"List of Modules\",\n \"items\": {\n \"$ref\": \"#/definitions/module\"\n },\n \"nullable\": true,\n \"type\": \"array\"\n }\n },\n \"description\": \"Describes an XYO Package which is a collection of XYO Modules\",\n \"properties\": {\n \"$schema\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"nodes\": {\n \"$ref\": \"#/definitions/nodes\",\n \"description\": \"The list of Nodes that are defined in the manifest\"\n },\n \"schema\": {\n \"pattern\": \"^network.xyo.manifest$\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"nodes\",\n \"schema\"\n ],\n \"title\": \"XYO Manifest\"\n}"],"mappings":";AACE,cAAW;AACX,2BAAwB;AACxB,kBAAe;AAAA,EACb,cAAgB;AAAA,IACd,aAAe;AAAA,IACf,MAAQ;AAAA,MACN;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,IACA,MAAQ;AAAA,EACV;AAAA,EACA,QAAU;AAAA,IACR,sBAAwB;AAAA,IACxB,aAAe;AAAA,IACf,IAAM;AAAA,MACJ,MAAQ;AAAA,IACV;AAAA,IACA,YAAc;AAAA,MACZ,aAAe;AAAA,QACb,aAAe;AAAA,QACf,MAAQ;AAAA,MACV;AAAA,MACA,cAAgB;AAAA,QACd,MAAQ;AAAA,MACV;AAAA,MACA,aAAe;AAAA,QACb,MAAQ;AAAA,MACV;AAAA,MACA,UAAY;AAAA,QACV,OAAS;AAAA,UACP,MAAQ;AAAA,QACV;AAAA,QACA,MAAQ;AAAA,MACV;AAAA,MACA,UAAY;AAAA,QACV,MAAQ;AAAA,MACV;AAAA,MACA,MAAQ;AAAA,QACN,MAAQ;AAAA,MACV;AA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MA;AAAA,EACA;AAAA,EAgBA;AAAA,EAIA;AACF;","names":[]}
@@ -1,41 +0,0 @@
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/standardCreatableModules.ts
21
- var standardCreatableModules_exports = {};
22
- __export(standardCreatableModules_exports, {
23
- standardCreatableModules: () => standardCreatableModules
24
- });
25
- module.exports = __toCommonJS(standardCreatableModules_exports);
26
- var import_http_bridge = require("@xyo-network/http-bridge");
27
- var import_memory_archivist = require("@xyo-network/memory-archivist");
28
- var import_module_model = require("@xyo-network/module-model");
29
- var import_node_memory = require("@xyo-network/node-memory");
30
- var import_sentinel = require("@xyo-network/sentinel");
31
- var standardCreatableModules = {
32
- "network.xyo.archivist.config": import_memory_archivist.MemoryArchivist,
33
- "network.xyo.bridge.http.config": import_module_model.ModuleFactory.withParams(import_http_bridge.HttpBridge, { config: { schema: import_http_bridge.HttpBridge.configSchema } }),
34
- "network.xyo.node.config": import_node_memory.MemoryNode,
35
- "network.xyo.sentinel.config": import_sentinel.MemorySentinel
36
- };
37
- // Annotate the CommonJS export names for ESM import in node:
38
- 0 && (module.exports = {
39
- standardCreatableModules
40
- });
41
- //# sourceMappingURL=standardCreatableModules.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/standardCreatableModules.ts"],"sourcesContent":["import { HttpBridge } from '@xyo-network/http-bridge'\nimport { MemoryArchivist } from '@xyo-network/memory-archivist'\nimport { CreatableModuleDictionary, ModuleFactory } from '@xyo-network/module-model'\nimport { MemoryNode } from '@xyo-network/node-memory'\nimport { MemorySentinel } from '@xyo-network/sentinel'\n\nexport const standardCreatableModules: CreatableModuleDictionary = {\n 'network.xyo.archivist.config': MemoryArchivist,\n 'network.xyo.bridge.http.config': ModuleFactory.withParams(HttpBridge, { config: { schema: HttpBridge.configSchema } }),\n 'network.xyo.node.config': MemoryNode,\n 'network.xyo.sentinel.config': MemorySentinel,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAA2B;AAC3B,8BAAgC;AAChC,0BAAyD;AACzD,yBAA2B;AAC3B,sBAA+B;AAExB,IAAM,2BAAsD;AAAA,EACjE,gCAAgC;AAAA,EAChC,kCAAkC,kCAAc,WAAW,+BAAY,EAAE,QAAQ,EAAE,QAAQ,8BAAW,aAAa,EAAE,CAAC;AAAA,EACtH,2BAA2B;AAAA,EAC3B,+BAA+B;AACjC;","names":[]}
@@ -1,16 +0,0 @@
1
- // src/standardCreatableModules.ts
2
- import { HttpBridge } from "@xyo-network/http-bridge";
3
- import { MemoryArchivist } from "@xyo-network/memory-archivist";
4
- import { ModuleFactory } from "@xyo-network/module-model";
5
- import { MemoryNode } from "@xyo-network/node-memory";
6
- import { MemorySentinel } from "@xyo-network/sentinel";
7
- var standardCreatableModules = {
8
- "network.xyo.archivist.config": MemoryArchivist,
9
- "network.xyo.bridge.http.config": ModuleFactory.withParams(HttpBridge, { config: { schema: HttpBridge.configSchema } }),
10
- "network.xyo.node.config": MemoryNode,
11
- "network.xyo.sentinel.config": MemorySentinel
12
- };
13
- export {
14
- standardCreatableModules
15
- };
16
- //# sourceMappingURL=standardCreatableModules.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/standardCreatableModules.ts"],"sourcesContent":["import { HttpBridge } from '@xyo-network/http-bridge'\nimport { MemoryArchivist } from '@xyo-network/memory-archivist'\nimport { CreatableModuleDictionary, ModuleFactory } from '@xyo-network/module-model'\nimport { MemoryNode } from '@xyo-network/node-memory'\nimport { MemorySentinel } from '@xyo-network/sentinel'\n\nexport const standardCreatableModules: CreatableModuleDictionary = {\n 'network.xyo.archivist.config': MemoryArchivist,\n 'network.xyo.bridge.http.config': ModuleFactory.withParams(HttpBridge, { config: { schema: HttpBridge.configSchema } }),\n 'network.xyo.node.config': MemoryNode,\n 'network.xyo.sentinel.config': MemorySentinel,\n}\n"],"mappings":";AAAA,SAAS,kBAAkB;AAC3B,SAAS,uBAAuB;AAChC,SAAoC,qBAAqB;AACzD,SAAS,kBAAkB;AAC3B,SAAS,sBAAsB;AAExB,IAAM,2BAAsD;AAAA,EACjE,gCAAgC;AAAA,EAChC,kCAAkC,cAAc,WAAW,YAAY,EAAE,QAAQ,EAAE,QAAQ,WAAW,aAAa,EAAE,CAAC;AAAA,EACtH,2BAA2B;AAAA,EAC3B,+BAA+B;AACjC;","names":[]}