@xyo-network/diviner-schema-stats-model 2.75.14 → 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.
- package/package.json +6 -6
- package/dist/browser/Config.cjs +0 -32
- package/dist/browser/Config.cjs.map +0 -1
- package/dist/browser/Config.js +0 -9
- package/dist/browser/Config.js.map +0 -1
- package/dist/browser/Params.cjs +0 -19
- package/dist/browser/Params.cjs.map +0 -1
- package/dist/browser/Params.js +0 -1
- package/dist/browser/Params.js.map +0 -1
- package/dist/browser/Payload.cjs +0 -32
- package/dist/browser/Payload.cjs.map +0 -1
- package/dist/browser/Payload.js +0 -9
- package/dist/browser/Payload.js.map +0 -1
- package/dist/browser/Query.cjs +0 -34
- package/dist/browser/Query.cjs.map +0 -1
- package/dist/browser/Query.js +0 -11
- package/dist/browser/Query.js.map +0 -1
- package/dist/browser/Schema.cjs +0 -27
- package/dist/browser/Schema.cjs.map +0 -1
- package/dist/browser/Schema.js +0 -6
- package/dist/browser/Schema.js.map +0 -1
- package/dist/node/Config.js +0 -36
- package/dist/node/Config.js.map +0 -1
- package/dist/node/Config.mjs +0 -9
- package/dist/node/Config.mjs.map +0 -1
- package/dist/node/Params.js +0 -19
- package/dist/node/Params.js.map +0 -1
- package/dist/node/Params.mjs +0 -1
- package/dist/node/Params.mjs.map +0 -1
- package/dist/node/Payload.js +0 -36
- package/dist/node/Payload.js.map +0 -1
- package/dist/node/Payload.mjs +0 -9
- package/dist/node/Payload.mjs.map +0 -1
- package/dist/node/Query.js +0 -39
- package/dist/node/Query.js.map +0 -1
- package/dist/node/Query.mjs +0 -11
- package/dist/node/Query.mjs.map +0 -1
- package/dist/node/Schema.js +0 -31
- package/dist/node/Schema.js.map +0 -1
- package/dist/node/Schema.mjs +0 -6
- package/dist/node/Schema.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/diviner-model": "~2.75.
|
|
14
|
-
"@xyo-network/module-model": "~2.75.
|
|
15
|
-
"@xyo-network/payload-model": "~2.75.
|
|
13
|
+
"@xyo-network/diviner-model": "~2.75.16",
|
|
14
|
+
"@xyo-network/module-model": "~2.75.16",
|
|
15
|
+
"@xyo-network/payload-model": "~2.75.16"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@xylabs/ts-scripts-yarn3": "^3.
|
|
19
|
-
"@xylabs/tsconfig": "^3.
|
|
18
|
+
"@xylabs/ts-scripts-yarn3": "^3.1.3",
|
|
19
|
+
"@xylabs/tsconfig": "^3.1.3",
|
|
20
20
|
"typescript": "^5.2.2"
|
|
21
21
|
},
|
|
22
22
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
63
63
|
},
|
|
64
64
|
"sideEffects": false,
|
|
65
|
-
"version": "2.75.
|
|
65
|
+
"version": "2.75.16"
|
|
66
66
|
}
|
package/dist/browser/Config.cjs
DELETED
|
@@ -1,32 +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/Config.ts
|
|
21
|
-
var Config_exports = {};
|
|
22
|
-
__export(Config_exports, {
|
|
23
|
-
SchemaStatsDivinerConfigSchema: () => SchemaStatsDivinerConfigSchema
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(Config_exports);
|
|
26
|
-
|
|
27
|
-
// src/Schema.ts
|
|
28
|
-
var SchemaStatsDivinerSchema = "network.xyo.diviner.schema.stats";
|
|
29
|
-
|
|
30
|
-
// src/Config.ts
|
|
31
|
-
var SchemaStatsDivinerConfigSchema = `${SchemaStatsDivinerSchema}.config`;
|
|
32
|
-
//# sourceMappingURL=Config.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Config.ts","../../src/Schema.ts"],"sourcesContent":["import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema'\n\nexport type SchemaStatsDivinerConfigSchema = `${SchemaStatsDivinerSchema}.config`\nexport const SchemaStatsDivinerConfigSchema: SchemaStatsDivinerConfigSchema = `${SchemaStatsDivinerSchema}.config`\n\nexport type SchemaStatsDivinerConfig<T extends Payload = Payload> = DivinerConfig<\n T & {\n schema: SchemaStatsDivinerConfigSchema\n }\n>\n","export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,2BAAqD;;;ADK3D,IAAM,iCAAiE,GAAG,wBAAwB;","names":[]}
|
package/dist/browser/Config.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// src/Schema.ts
|
|
2
|
-
var SchemaStatsDivinerSchema = "network.xyo.diviner.schema.stats";
|
|
3
|
-
|
|
4
|
-
// src/Config.ts
|
|
5
|
-
var SchemaStatsDivinerConfigSchema = `${SchemaStatsDivinerSchema}.config`;
|
|
6
|
-
export {
|
|
7
|
-
SchemaStatsDivinerConfigSchema
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=Config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts"],"sourcesContent":["export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema'\n\nexport type SchemaStatsDivinerConfigSchema = `${SchemaStatsDivinerSchema}.config`\nexport const SchemaStatsDivinerConfigSchema: SchemaStatsDivinerConfigSchema = `${SchemaStatsDivinerSchema}.config`\n\nexport type SchemaStatsDivinerConfig<T extends Payload = Payload> = DivinerConfig<\n T & {\n schema: SchemaStatsDivinerConfigSchema\n }\n>\n"],"mappings":";AACO,IAAM,2BAAqD;;;ACK3D,IAAM,iCAAiE,GAAG,wBAAwB;","names":[]}
|
package/dist/browser/Params.cjs
DELETED
|
@@ -1,19 +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 __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 __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// src/Params.ts
|
|
17
|
-
var Params_exports = {};
|
|
18
|
-
module.exports = __toCommonJS(Params_exports);
|
|
19
|
-
//# sourceMappingURL=Params.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Params.ts"],"sourcesContent":["import { DivinerParams } from '@xyo-network/diviner-model'\nimport { AnyConfigSchema } from '@xyo-network/module-model'\n\nimport { SchemaStatsDivinerConfig } from './Config'\n\nexport type SchemaStatsDivinerParams = DivinerParams<AnyConfigSchema<SchemaStatsDivinerConfig>>\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
package/dist/browser/Params.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=Params.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/browser/Payload.cjs
DELETED
|
@@ -1,32 +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/Payload.ts
|
|
21
|
-
var Payload_exports = {};
|
|
22
|
-
__export(Payload_exports, {
|
|
23
|
-
isSchemaStatsPayload: () => isSchemaStatsPayload
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(Payload_exports);
|
|
26
|
-
|
|
27
|
-
// src/Schema.ts
|
|
28
|
-
var SchemaStatsDivinerSchema = "network.xyo.diviner.schema.stats";
|
|
29
|
-
|
|
30
|
-
// src/Payload.ts
|
|
31
|
-
var isSchemaStatsPayload = (x) => x?.schema === SchemaStatsDivinerSchema;
|
|
32
|
-
//# sourceMappingURL=Payload.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Payload.ts","../../src/Schema.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema'\n\nexport type SchemaStatsPayload = Payload<{\n count: Record<string, number>\n //the name of the schema that the count is for. If name is undefined, then it is the count for all schemas\n name?: string\n schema: SchemaStatsDivinerSchema\n}>\n\nexport const isSchemaStatsPayload = (x?: Payload | null): x is SchemaStatsPayload => x?.schema === SchemaStatsDivinerSchema\n","export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,2BAAqD;;;ADU3D,IAAM,uBAAuB,CAAC,MAAgD,GAAG,WAAW;","names":[]}
|
package/dist/browser/Payload.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts","../../src/Payload.ts"],"sourcesContent":["export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema'\n\nexport type SchemaStatsPayload = Payload<{\n count: Record<string, number>\n //the name of the schema that the count is for. If name is undefined, then it is the count for all schemas\n name?: string\n schema: SchemaStatsDivinerSchema\n}>\n\nexport const isSchemaStatsPayload = (x?: Payload | null): x is SchemaStatsPayload => x?.schema === SchemaStatsDivinerSchema\n"],"mappings":";AACO,IAAM,2BAAqD;;;ACU3D,IAAM,uBAAuB,CAAC,MAAgD,GAAG,WAAW;","names":[]}
|
package/dist/browser/Query.cjs
DELETED
|
@@ -1,34 +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/Query.ts
|
|
21
|
-
var Query_exports = {};
|
|
22
|
-
__export(Query_exports, {
|
|
23
|
-
SchemaStatsQuerySchema: () => SchemaStatsQuerySchema,
|
|
24
|
-
isSchemaStatsQueryPayload: () => isSchemaStatsQueryPayload
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(Query_exports);
|
|
27
|
-
|
|
28
|
-
// src/Schema.ts
|
|
29
|
-
var SchemaStatsDivinerSchema = "network.xyo.diviner.schema.stats";
|
|
30
|
-
|
|
31
|
-
// src/Query.ts
|
|
32
|
-
var SchemaStatsQuerySchema = `${SchemaStatsDivinerSchema}.query`;
|
|
33
|
-
var isSchemaStatsQueryPayload = (x) => x?.schema === SchemaStatsQuerySchema;
|
|
34
|
-
//# sourceMappingURL=Query.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Query.ts","../../src/Schema.ts"],"sourcesContent":["import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema'\n\nexport type SchemaStatsQuerySchema = `${SchemaStatsDivinerSchema}.query`\nexport const SchemaStatsQuerySchema: SchemaStatsQuerySchema = `${SchemaStatsDivinerSchema}.query`\n\nexport type SchemaStatsQueryPayload = Query<{ schema: SchemaStatsQuerySchema }>\nexport const isSchemaStatsQueryPayload = (x?: Payload | null): x is SchemaStatsQueryPayload => x?.schema === SchemaStatsQuerySchema\n","export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,2BAAqD;;;ADI3D,IAAM,yBAAiD,GAAG,wBAAwB;AAGlF,IAAM,4BAA4B,CAAC,MAAqD,GAAG,WAAW;","names":[]}
|
package/dist/browser/Query.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// src/Schema.ts
|
|
2
|
-
var SchemaStatsDivinerSchema = "network.xyo.diviner.schema.stats";
|
|
3
|
-
|
|
4
|
-
// src/Query.ts
|
|
5
|
-
var SchemaStatsQuerySchema = `${SchemaStatsDivinerSchema}.query`;
|
|
6
|
-
var isSchemaStatsQueryPayload = (x) => x?.schema === SchemaStatsQuerySchema;
|
|
7
|
-
export {
|
|
8
|
-
SchemaStatsQuerySchema,
|
|
9
|
-
isSchemaStatsQueryPayload
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=Query.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts","../../src/Query.ts"],"sourcesContent":["export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema'\n\nexport type SchemaStatsQuerySchema = `${SchemaStatsDivinerSchema}.query`\nexport const SchemaStatsQuerySchema: SchemaStatsQuerySchema = `${SchemaStatsDivinerSchema}.query`\n\nexport type SchemaStatsQueryPayload = Query<{ schema: SchemaStatsQuerySchema }>\nexport const isSchemaStatsQueryPayload = (x?: Payload | null): x is SchemaStatsQueryPayload => x?.schema === SchemaStatsQuerySchema\n"],"mappings":";AACO,IAAM,2BAAqD;;;ACI3D,IAAM,yBAAiD,GAAG,wBAAwB;AAGlF,IAAM,4BAA4B,CAAC,MAAqD,GAAG,WAAW;","names":[]}
|
package/dist/browser/Schema.cjs
DELETED
|
@@ -1,27 +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/Schema.ts
|
|
21
|
-
var Schema_exports = {};
|
|
22
|
-
__export(Schema_exports, {
|
|
23
|
-
SchemaStatsDivinerSchema: () => SchemaStatsDivinerSchema
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(Schema_exports);
|
|
26
|
-
var SchemaStatsDivinerSchema = "network.xyo.diviner.schema.stats";
|
|
27
|
-
//# sourceMappingURL=Schema.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACO,IAAM,2BAAqD;","names":[]}
|
package/dist/browser/Schema.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n"],"mappings":";AACO,IAAM,2BAAqD;","names":[]}
|
package/dist/node/Config.js
DELETED
|
@@ -1,36 +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/Config.ts
|
|
21
|
-
var Config_exports = {};
|
|
22
|
-
__export(Config_exports, {
|
|
23
|
-
SchemaStatsDivinerConfigSchema: () => SchemaStatsDivinerConfigSchema
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(Config_exports);
|
|
26
|
-
|
|
27
|
-
// src/Schema.ts
|
|
28
|
-
var SchemaStatsDivinerSchema = "network.xyo.diviner.schema.stats";
|
|
29
|
-
|
|
30
|
-
// src/Config.ts
|
|
31
|
-
var SchemaStatsDivinerConfigSchema = `${SchemaStatsDivinerSchema}.config`;
|
|
32
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
-
0 && (module.exports = {
|
|
34
|
-
SchemaStatsDivinerConfigSchema
|
|
35
|
-
});
|
|
36
|
-
//# sourceMappingURL=Config.js.map
|
package/dist/node/Config.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Config.ts","../../src/Schema.ts"],"sourcesContent":["import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema'\n\nexport type SchemaStatsDivinerConfigSchema = `${SchemaStatsDivinerSchema}.config`\nexport const SchemaStatsDivinerConfigSchema: SchemaStatsDivinerConfigSchema = `${SchemaStatsDivinerSchema}.config`\n\nexport type SchemaStatsDivinerConfig<T extends Payload = Payload> = DivinerConfig<\n T & {\n schema: SchemaStatsDivinerConfigSchema\n }\n>\n","export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,2BAAqD;;;ADK3D,IAAM,iCAAiE,GAAG,wBAAwB;","names":[]}
|
package/dist/node/Config.mjs
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// src/Schema.ts
|
|
2
|
-
var SchemaStatsDivinerSchema = "network.xyo.diviner.schema.stats";
|
|
3
|
-
|
|
4
|
-
// src/Config.ts
|
|
5
|
-
var SchemaStatsDivinerConfigSchema = `${SchemaStatsDivinerSchema}.config`;
|
|
6
|
-
export {
|
|
7
|
-
SchemaStatsDivinerConfigSchema
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=Config.mjs.map
|
package/dist/node/Config.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts","../../src/Config.ts"],"sourcesContent":["export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n","import { DivinerConfig } from '@xyo-network/diviner-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema'\n\nexport type SchemaStatsDivinerConfigSchema = `${SchemaStatsDivinerSchema}.config`\nexport const SchemaStatsDivinerConfigSchema: SchemaStatsDivinerConfigSchema = `${SchemaStatsDivinerSchema}.config`\n\nexport type SchemaStatsDivinerConfig<T extends Payload = Payload> = DivinerConfig<\n T & {\n schema: SchemaStatsDivinerConfigSchema\n }\n>\n"],"mappings":";AACO,IAAM,2BAAqD;;;ACK3D,IAAM,iCAAiE,GAAG,wBAAwB;","names":[]}
|
package/dist/node/Params.js
DELETED
|
@@ -1,19 +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 __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 __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// src/Params.ts
|
|
17
|
-
var Params_exports = {};
|
|
18
|
-
module.exports = __toCommonJS(Params_exports);
|
|
19
|
-
//# sourceMappingURL=Params.js.map
|
package/dist/node/Params.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Params.ts"],"sourcesContent":["import { DivinerParams } from '@xyo-network/diviner-model'\nimport { AnyConfigSchema } from '@xyo-network/module-model'\n\nimport { SchemaStatsDivinerConfig } from './Config'\n\nexport type SchemaStatsDivinerParams = DivinerParams<AnyConfigSchema<SchemaStatsDivinerConfig>>\n"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
|
package/dist/node/Params.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=Params.mjs.map
|
package/dist/node/Params.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/node/Payload.js
DELETED
|
@@ -1,36 +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/Payload.ts
|
|
21
|
-
var Payload_exports = {};
|
|
22
|
-
__export(Payload_exports, {
|
|
23
|
-
isSchemaStatsPayload: () => isSchemaStatsPayload
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(Payload_exports);
|
|
26
|
-
|
|
27
|
-
// src/Schema.ts
|
|
28
|
-
var SchemaStatsDivinerSchema = "network.xyo.diviner.schema.stats";
|
|
29
|
-
|
|
30
|
-
// src/Payload.ts
|
|
31
|
-
var isSchemaStatsPayload = (x) => (x == null ? void 0 : x.schema) === SchemaStatsDivinerSchema;
|
|
32
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
33
|
-
0 && (module.exports = {
|
|
34
|
-
isSchemaStatsPayload
|
|
35
|
-
});
|
|
36
|
-
//# sourceMappingURL=Payload.js.map
|
package/dist/node/Payload.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Payload.ts","../../src/Schema.ts"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema'\n\nexport type SchemaStatsPayload = Payload<{\n count: Record<string, number>\n //the name of the schema that the count is for. If name is undefined, then it is the count for all schemas\n name?: string\n schema: SchemaStatsDivinerSchema\n}>\n\nexport const isSchemaStatsPayload = (x?: Payload | null): x is SchemaStatsPayload => x?.schema === SchemaStatsDivinerSchema\n","export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,2BAAqD;;;ADU3D,IAAM,uBAAuB,CAAC,OAAgD,uBAAG,YAAW;","names":[]}
|
package/dist/node/Payload.mjs
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// src/Schema.ts
|
|
2
|
-
var SchemaStatsDivinerSchema = "network.xyo.diviner.schema.stats";
|
|
3
|
-
|
|
4
|
-
// src/Payload.ts
|
|
5
|
-
var isSchemaStatsPayload = (x) => (x == null ? void 0 : x.schema) === SchemaStatsDivinerSchema;
|
|
6
|
-
export {
|
|
7
|
-
isSchemaStatsPayload
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=Payload.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts","../../src/Payload.ts"],"sourcesContent":["export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema'\n\nexport type SchemaStatsPayload = Payload<{\n count: Record<string, number>\n //the name of the schema that the count is for. If name is undefined, then it is the count for all schemas\n name?: string\n schema: SchemaStatsDivinerSchema\n}>\n\nexport const isSchemaStatsPayload = (x?: Payload | null): x is SchemaStatsPayload => x?.schema === SchemaStatsDivinerSchema\n"],"mappings":";AACO,IAAM,2BAAqD;;;ACU3D,IAAM,uBAAuB,CAAC,OAAgD,uBAAG,YAAW;","names":[]}
|
package/dist/node/Query.js
DELETED
|
@@ -1,39 +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/Query.ts
|
|
21
|
-
var Query_exports = {};
|
|
22
|
-
__export(Query_exports, {
|
|
23
|
-
SchemaStatsQuerySchema: () => SchemaStatsQuerySchema,
|
|
24
|
-
isSchemaStatsQueryPayload: () => isSchemaStatsQueryPayload
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(Query_exports);
|
|
27
|
-
|
|
28
|
-
// src/Schema.ts
|
|
29
|
-
var SchemaStatsDivinerSchema = "network.xyo.diviner.schema.stats";
|
|
30
|
-
|
|
31
|
-
// src/Query.ts
|
|
32
|
-
var SchemaStatsQuerySchema = `${SchemaStatsDivinerSchema}.query`;
|
|
33
|
-
var isSchemaStatsQueryPayload = (x) => (x == null ? void 0 : x.schema) === SchemaStatsQuerySchema;
|
|
34
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
35
|
-
0 && (module.exports = {
|
|
36
|
-
SchemaStatsQuerySchema,
|
|
37
|
-
isSchemaStatsQueryPayload
|
|
38
|
-
});
|
|
39
|
-
//# sourceMappingURL=Query.js.map
|
package/dist/node/Query.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Query.ts","../../src/Schema.ts"],"sourcesContent":["import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema'\n\nexport type SchemaStatsQuerySchema = `${SchemaStatsDivinerSchema}.query`\nexport const SchemaStatsQuerySchema: SchemaStatsQuerySchema = `${SchemaStatsDivinerSchema}.query`\n\nexport type SchemaStatsQueryPayload = Query<{ schema: SchemaStatsQuerySchema }>\nexport const isSchemaStatsQueryPayload = (x?: Payload | null): x is SchemaStatsQueryPayload => x?.schema === SchemaStatsQuerySchema\n","export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,IAAM,2BAAqD;;;ADI3D,IAAM,yBAAiD,GAAG,wBAAwB;AAGlF,IAAM,4BAA4B,CAAC,OAAqD,uBAAG,YAAW;","names":[]}
|
package/dist/node/Query.mjs
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// src/Schema.ts
|
|
2
|
-
var SchemaStatsDivinerSchema = "network.xyo.diviner.schema.stats";
|
|
3
|
-
|
|
4
|
-
// src/Query.ts
|
|
5
|
-
var SchemaStatsQuerySchema = `${SchemaStatsDivinerSchema}.query`;
|
|
6
|
-
var isSchemaStatsQueryPayload = (x) => (x == null ? void 0 : x.schema) === SchemaStatsQuerySchema;
|
|
7
|
-
export {
|
|
8
|
-
SchemaStatsQuerySchema,
|
|
9
|
-
isSchemaStatsQueryPayload
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=Query.mjs.map
|
package/dist/node/Query.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts","../../src/Query.ts"],"sourcesContent":["export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n","import { Payload, Query } from '@xyo-network/payload-model'\n\nimport { SchemaStatsDivinerSchema } from './Schema'\n\nexport type SchemaStatsQuerySchema = `${SchemaStatsDivinerSchema}.query`\nexport const SchemaStatsQuerySchema: SchemaStatsQuerySchema = `${SchemaStatsDivinerSchema}.query`\n\nexport type SchemaStatsQueryPayload = Query<{ schema: SchemaStatsQuerySchema }>\nexport const isSchemaStatsQueryPayload = (x?: Payload | null): x is SchemaStatsQueryPayload => x?.schema === SchemaStatsQuerySchema\n"],"mappings":";AACO,IAAM,2BAAqD;;;ACI3D,IAAM,yBAAiD,GAAG,wBAAwB;AAGlF,IAAM,4BAA4B,CAAC,OAAqD,uBAAG,YAAW;","names":[]}
|
package/dist/node/Schema.js
DELETED
|
@@ -1,31 +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/Schema.ts
|
|
21
|
-
var Schema_exports = {};
|
|
22
|
-
__export(Schema_exports, {
|
|
23
|
-
SchemaStatsDivinerSchema: () => SchemaStatsDivinerSchema
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(Schema_exports);
|
|
26
|
-
var SchemaStatsDivinerSchema = "network.xyo.diviner.schema.stats";
|
|
27
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
28
|
-
0 && (module.exports = {
|
|
29
|
-
SchemaStatsDivinerSchema
|
|
30
|
-
});
|
|
31
|
-
//# sourceMappingURL=Schema.js.map
|
package/dist/node/Schema.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACO,IAAM,2BAAqD;","names":[]}
|
package/dist/node/Schema.mjs
DELETED
package/dist/node/Schema.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Schema.ts"],"sourcesContent":["export type SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\nexport const SchemaStatsDivinerSchema: SchemaStatsDivinerSchema = 'network.xyo.diviner.schema.stats'\n"],"mappings":";AACO,IAAM,2BAAqD;","names":[]}
|