@xyo-network/node-model 2.106.0-rc.5 → 2.107.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.
Files changed (49) hide show
  1. package/dist/browser/attachable/asAttachableInstance.d.cts +21 -21
  2. package/dist/browser/attachable/asAttachableInstance.d.cts.map +1 -1
  3. package/dist/browser/attachable/asAttachableInstance.d.mts +21 -21
  4. package/dist/browser/attachable/asAttachableInstance.d.mts.map +1 -1
  5. package/dist/browser/attachable/asAttachableInstance.d.ts +21 -21
  6. package/dist/browser/attachable/asAttachableInstance.d.ts.map +1 -1
  7. package/dist/browser/index.cjs +1 -113
  8. package/dist/browser/index.cjs.map +1 -1
  9. package/dist/browser/index.js +1 -92
  10. package/dist/browser/index.js.map +1 -1
  11. package/dist/browser/typeChecks.d.cts +70 -70
  12. package/dist/browser/typeChecks.d.cts.map +1 -1
  13. package/dist/browser/typeChecks.d.mts +70 -70
  14. package/dist/browser/typeChecks.d.mts.map +1 -1
  15. package/dist/browser/typeChecks.d.ts +70 -70
  16. package/dist/browser/typeChecks.d.ts.map +1 -1
  17. package/dist/neutral/attachable/asAttachableInstance.d.cts +21 -21
  18. package/dist/neutral/attachable/asAttachableInstance.d.cts.map +1 -1
  19. package/dist/neutral/attachable/asAttachableInstance.d.mts +21 -21
  20. package/dist/neutral/attachable/asAttachableInstance.d.mts.map +1 -1
  21. package/dist/neutral/attachable/asAttachableInstance.d.ts +21 -21
  22. package/dist/neutral/attachable/asAttachableInstance.d.ts.map +1 -1
  23. package/dist/neutral/index.cjs +1 -113
  24. package/dist/neutral/index.cjs.map +1 -1
  25. package/dist/neutral/index.js +1 -92
  26. package/dist/neutral/index.js.map +1 -1
  27. package/dist/neutral/typeChecks.d.cts +70 -70
  28. package/dist/neutral/typeChecks.d.cts.map +1 -1
  29. package/dist/neutral/typeChecks.d.mts +70 -70
  30. package/dist/neutral/typeChecks.d.mts.map +1 -1
  31. package/dist/neutral/typeChecks.d.ts +70 -70
  32. package/dist/neutral/typeChecks.d.ts.map +1 -1
  33. package/dist/node/attachable/asAttachableInstance.d.cts +21 -21
  34. package/dist/node/attachable/asAttachableInstance.d.cts.map +1 -1
  35. package/dist/node/attachable/asAttachableInstance.d.mts +21 -21
  36. package/dist/node/attachable/asAttachableInstance.d.mts.map +1 -1
  37. package/dist/node/attachable/asAttachableInstance.d.ts +21 -21
  38. package/dist/node/attachable/asAttachableInstance.d.ts.map +1 -1
  39. package/dist/node/index.cjs +1 -132
  40. package/dist/node/index.cjs.map +1 -1
  41. package/dist/node/index.js +1 -91
  42. package/dist/node/index.js.map +1 -1
  43. package/dist/node/typeChecks.d.cts +70 -70
  44. package/dist/node/typeChecks.d.cts.map +1 -1
  45. package/dist/node/typeChecks.d.mts +70 -70
  46. package/dist/node/typeChecks.d.mts.map +1 -1
  47. package/dist/node/typeChecks.d.ts +70 -70
  48. package/dist/node/typeChecks.d.ts.map +1 -1
  49. package/package.json +9 -10
@@ -1,47 +1,47 @@
1
1
  export declare const asAttachableNodeInstance: {
2
2
  <TType extends import("./AttachableInstance").AttachableNodeInstance<import("@xylabs/object").BaseParamsFields & {
3
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
4
- addToResolvers?: boolean | undefined;
5
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
6
- allowNameResolution?: boolean | undefined;
3
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
4
+ addToResolvers?: boolean;
5
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
6
+ allowNameResolution?: boolean;
7
7
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
8
- archivist?: string | undefined;
8
+ archivist?: string;
9
9
  } & {
10
10
  schema: "network.xyo.node.config";
11
11
  }, "schema"> & {
12
12
  schema: string;
13
13
  };
14
- ephemeralQueryAccountEnabled?: boolean | undefined;
15
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
14
+ ephemeralQueryAccountEnabled?: boolean;
15
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
16
16
  }, import("..").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
17
17
  <TType_1 extends import("./AttachableInstance").AttachableNodeInstance<import("@xylabs/object").BaseParamsFields & {
18
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
19
- addToResolvers?: boolean | undefined;
20
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
21
- allowNameResolution?: boolean | undefined;
18
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
19
+ addToResolvers?: boolean;
20
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
21
+ allowNameResolution?: boolean;
22
22
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
23
- archivist?: string | undefined;
23
+ archivist?: string;
24
24
  } & {
25
25
  schema: "network.xyo.node.config";
26
26
  }, "schema"> & {
27
27
  schema: string;
28
28
  };
29
- ephemeralQueryAccountEnabled?: boolean | undefined;
30
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
29
+ ephemeralQueryAccountEnabled?: boolean;
30
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
31
31
  }, import("..").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("./AttachableInstance").AttachableNodeInstance<import("@xylabs/object").BaseParamsFields & {
32
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
33
- addToResolvers?: boolean | undefined;
34
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
35
- allowNameResolution?: boolean | undefined;
32
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
33
+ addToResolvers?: boolean;
34
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
35
+ allowNameResolution?: boolean;
36
36
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
37
- archivist?: string | undefined;
37
+ archivist?: string;
38
38
  } & {
39
39
  schema: "network.xyo.node.config";
40
40
  }, "schema"> & {
41
41
  schema: string;
42
42
  };
43
- ephemeralQueryAccountEnabled?: boolean | undefined;
44
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
43
+ ephemeralQueryAccountEnabled?: boolean;
44
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
45
45
  }, import("..").NodeModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
46
46
  };
47
47
  //# sourceMappingURL=asAttachableInstance.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../src/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmD,CAAA"}
1
+ {"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../src/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;wDACL,iBAAiB,iCAAiC,gBAAiB;;;;;;;;;;;;;;;wDAA6F,iBAAiB;;;;;;;;;;;;;;2DAA6F,gBAAiB;CADvO,CAAA"}
@@ -1,47 +1,47 @@
1
1
  export declare const asAttachableNodeInstance: {
2
2
  <TType extends import("./AttachableInstance").AttachableNodeInstance<import("@xylabs/object").BaseParamsFields & {
3
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
4
- addToResolvers?: boolean | undefined;
5
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
6
- allowNameResolution?: boolean | undefined;
3
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
4
+ addToResolvers?: boolean;
5
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
6
+ allowNameResolution?: boolean;
7
7
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
8
- archivist?: string | undefined;
8
+ archivist?: string;
9
9
  } & {
10
10
  schema: "network.xyo.node.config";
11
11
  }, "schema"> & {
12
12
  schema: string;
13
13
  };
14
- ephemeralQueryAccountEnabled?: boolean | undefined;
15
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
14
+ ephemeralQueryAccountEnabled?: boolean;
15
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
16
16
  }, import("..").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
17
17
  <TType_1 extends import("./AttachableInstance").AttachableNodeInstance<import("@xylabs/object").BaseParamsFields & {
18
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
19
- addToResolvers?: boolean | undefined;
20
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
21
- allowNameResolution?: boolean | undefined;
18
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
19
+ addToResolvers?: boolean;
20
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
21
+ allowNameResolution?: boolean;
22
22
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
23
- archivist?: string | undefined;
23
+ archivist?: string;
24
24
  } & {
25
25
  schema: "network.xyo.node.config";
26
26
  }, "schema"> & {
27
27
  schema: string;
28
28
  };
29
- ephemeralQueryAccountEnabled?: boolean | undefined;
30
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
29
+ ephemeralQueryAccountEnabled?: boolean;
30
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
31
31
  }, import("..").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("./AttachableInstance").AttachableNodeInstance<import("@xylabs/object").BaseParamsFields & {
32
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
33
- addToResolvers?: boolean | undefined;
34
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
35
- allowNameResolution?: boolean | undefined;
32
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
33
+ addToResolvers?: boolean;
34
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
35
+ allowNameResolution?: boolean;
36
36
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
37
- archivist?: string | undefined;
37
+ archivist?: string;
38
38
  } & {
39
39
  schema: "network.xyo.node.config";
40
40
  }, "schema"> & {
41
41
  schema: string;
42
42
  };
43
- ephemeralQueryAccountEnabled?: boolean | undefined;
44
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
43
+ ephemeralQueryAccountEnabled?: boolean;
44
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
45
45
  }, import("..").NodeModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
46
46
  };
47
47
  //# sourceMappingURL=asAttachableInstance.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../src/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmD,CAAA"}
1
+ {"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../src/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;wDACL,iBAAiB,iCAAiC,gBAAiB;;;;;;;;;;;;;;;wDAA6F,iBAAiB;;;;;;;;;;;;;;2DAA6F,gBAAiB;CADvO,CAAA"}
@@ -1,47 +1,47 @@
1
1
  export declare const asAttachableNodeInstance: {
2
2
  <TType extends import("./AttachableInstance").AttachableNodeInstance<import("@xylabs/object").BaseParamsFields & {
3
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
4
- addToResolvers?: boolean | undefined;
5
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
6
- allowNameResolution?: boolean | undefined;
3
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
4
+ addToResolvers?: boolean;
5
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
6
+ allowNameResolution?: boolean;
7
7
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
8
- archivist?: string | undefined;
8
+ archivist?: string;
9
9
  } & {
10
10
  schema: "network.xyo.node.config";
11
11
  }, "schema"> & {
12
12
  schema: string;
13
13
  };
14
- ephemeralQueryAccountEnabled?: boolean | undefined;
15
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
14
+ ephemeralQueryAccountEnabled?: boolean;
15
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
16
16
  }, import("..").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType | undefined;
17
17
  <TType_1 extends import("./AttachableInstance").AttachableNodeInstance<import("@xylabs/object").BaseParamsFields & {
18
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
19
- addToResolvers?: boolean | undefined;
20
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
21
- allowNameResolution?: boolean | undefined;
18
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
19
+ addToResolvers?: boolean;
20
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
21
+ allowNameResolution?: boolean;
22
22
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
23
- archivist?: string | undefined;
23
+ archivist?: string;
24
24
  } & {
25
25
  schema: "network.xyo.node.config";
26
26
  }, "schema"> & {
27
27
  schema: string;
28
28
  };
29
- ephemeralQueryAccountEnabled?: boolean | undefined;
30
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
29
+ ephemeralQueryAccountEnabled?: boolean;
30
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
31
31
  }, import("..").NodeModuleEventData>>(value: import("@xylabs/promise").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("./AttachableInstance").AttachableNodeInstance<import("@xylabs/object").BaseParamsFields & {
32
- account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
33
- addToResolvers?: boolean | undefined;
34
- additionalSigners?: import("@xyo-network/account-model").AccountInstance[] | undefined;
35
- allowNameResolution?: boolean | undefined;
32
+ account?: import("@xyo-network/account-model").AccountInstance | "random";
33
+ addToResolvers?: boolean;
34
+ additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
35
+ allowNameResolution?: boolean;
36
36
  config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
37
- archivist?: string | undefined;
37
+ archivist?: string;
38
38
  } & {
39
39
  schema: "network.xyo.node.config";
40
40
  }, "schema"> & {
41
41
  schema: string;
42
42
  };
43
- ephemeralQueryAccountEnabled?: boolean | undefined;
44
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[] | undefined;
43
+ ephemeralQueryAccountEnabled?: boolean;
44
+ moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
45
45
  }, import("..").NodeModuleEventData>>, config?: import("@xylabs/object").TypeCheckConfig | undefined): TType_1;
46
46
  };
47
47
  //# sourceMappingURL=asAttachableInstance.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../src/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmD,CAAA"}
1
+ {"version":3,"file":"asAttachableInstance.d.ts","sourceRoot":"","sources":["../../../src/attachable/asAttachableInstance.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;wDACL,iBAAiB,iCAAiC,gBAAiB;;;;;;;;;;;;;;;wDAA6F,iBAAiB;;;;;;;;;;;;;;2DAA6F,gBAAiB;CADvO,CAAA"}
@@ -1,114 +1,2 @@
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 __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
-
21
- // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
24
- ChildCertificationSchema: () => ChildCertificationSchema,
25
- IsAttachableNodeInstanceFactory: () => IsAttachableNodeInstanceFactory,
26
- NodeAttachQuerySchema: () => NodeAttachQuerySchema,
27
- NodeAttachedQuerySchema: () => NodeAttachedQuerySchema,
28
- NodeCertifyQuerySchema: () => NodeCertifyQuerySchema,
29
- NodeConfigSchema: () => NodeConfigSchema,
30
- NodeDetachQuerySchema: () => NodeDetachQuerySchema,
31
- NodeRegisteredQuerySchema: () => NodeRegisteredQuerySchema,
32
- asAttachableNodeInstance: () => asAttachableNodeInstance,
33
- asNodeInstance: () => asNodeInstance,
34
- asNodeModule: () => asNodeModule,
35
- isAttachableNodeInstance: () => isAttachableNodeInstance,
36
- isNodeInstance: () => isNodeInstance,
37
- isNodeModule: () => isNodeModule,
38
- requiredAttachableNodeInstanceFunctions: () => requiredAttachableNodeInstanceFunctions,
39
- withNodeInstance: () => withNodeInstance,
40
- withNodeModule: () => withNodeModule
41
- });
42
- module.exports = __toCommonJS(src_exports);
43
-
44
- // src/attachable/asAttachableInstance.ts
45
- var import_object3 = require("@xylabs/object");
46
-
47
- // src/attachable/isAttachableInstance.ts
48
- var import_object2 = require("@xylabs/object");
49
- var import_module_model2 = require("@xyo-network/module-model");
50
-
51
- // src/typeChecks.ts
52
- var import_object = require("@xylabs/object");
53
- var import_module_model = require("@xyo-network/module-model");
54
-
55
- // src/Queries/Attach.ts
56
- var NodeAttachQuerySchema = "network.xyo.query.node.attach";
57
-
58
- // src/Queries/Attached.ts
59
- var NodeAttachedQuerySchema = "network.xyo.query.node.attached";
60
-
61
- // src/Queries/Certify.ts
62
- var NodeCertifyQuerySchema = "network.xyo.query.node.certify";
63
-
64
- // src/Queries/Detach.ts
65
- var NodeDetachQuerySchema = "network.xyo.query.node.detach";
66
-
67
- // src/Queries/Registered.ts
68
- var NodeRegisteredQuerySchema = "network.xyo.query.node.registered";
69
-
70
- // src/typeChecks.ts
71
- var instanceFactory = new import_module_model.IsInstanceFactory();
72
- var isNodeInstance = instanceFactory.create({
73
- attach: "function",
74
- attached: "function",
75
- certify: "function",
76
- detach: "function",
77
- registered: "function"
78
- }, [
79
- import_module_model.isModuleInstance
80
- ]);
81
- var moduleFactory = new import_module_model.IsModuleFactory();
82
- var isNodeModule = moduleFactory.create([
83
- NodeAttachedQuerySchema
84
- ]);
85
- var asNodeModule = import_object.AsObjectFactory.create(isNodeModule);
86
- var asNodeInstance = import_object.AsObjectFactory.create(isNodeInstance);
87
- var withNodeModule = import_module_model.WithFactory.create(isNodeModule);
88
- var withNodeInstance = import_module_model.WithFactory.create(isNodeInstance);
89
-
90
- // src/attachable/isAttachableInstance.ts
91
- var requiredAttachableNodeInstanceFunctions = {};
92
- var factory = new import_object2.IsObjectFactory();
93
- var isAttachableNodeInstance = factory.create(requiredAttachableNodeInstanceFunctions, [
94
- isNodeInstance,
95
- import_module_model2.isAttachableModuleInstance
96
- ]);
97
-
98
- // src/attachable/asAttachableInstance.ts
99
- var asAttachableNodeInstance = import_object3.AsObjectFactory.create(isAttachableNodeInstance);
100
-
101
- // src/attachable/AttachableInstance.ts
102
- var import_object4 = require("@xylabs/object");
103
- var IsAttachableNodeInstanceFactory = class extends import_object4.IsObjectFactory {
104
- static {
105
- __name(this, "IsAttachableNodeInstanceFactory");
106
- }
107
- };
108
-
109
- // src/ChildCertification.ts
110
- var ChildCertificationSchema = "network.xyo.child.certification";
111
-
112
- // src/Config.ts
113
- var NodeConfigSchema = "network.xyo.node.config";
1
+ "use strict";var a=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var A=Object.prototype.hasOwnProperty;var f=(t,e)=>a(t,"name",{value:e,configurable:!0});var F=(t,e)=>{for(var n in e)a(t,n,{get:e[n],enumerable:!0})},b=(t,e,n,x)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of w(e))!A.call(t,r)&&r!==n&&a(t,r,{get:()=>e[r],enumerable:!(x=I(e,r))||x.enumerable});return t};var S=t=>b(a({},"__esModule",{value:!0}),t);var E={};F(E,{ChildCertificationSchema:()=>z,IsAttachableNodeInstanceFactory:()=>p,NodeAttachQuerySchema:()=>k,NodeAttachedQuerySchema:()=>s,NodeCertifyQuerySchema:()=>q,NodeConfigSchema:()=>B,NodeDetachQuerySchema:()=>M,NodeRegisteredQuerySchema:()=>Q,asAttachableNodeInstance:()=>v,asNodeInstance:()=>O,asNodeModule:()=>C,isAttachableNodeInstance:()=>m,isNodeInstance:()=>c,isNodeModule:()=>i,requiredAttachableNodeInstanceFunctions:()=>u,withNodeInstance:()=>R,withNodeModule:()=>D});module.exports=S(E);var N=require("@xylabs/object");var y=require("@xylabs/object"),h=require("@xyo-network/module-model");var d=require("@xylabs/object"),o=require("@xyo-network/module-model");var k="network.xyo.query.node.attach";var s="network.xyo.query.node.attached";var q="network.xyo.query.node.certify";var M="network.xyo.query.node.detach";var Q="network.xyo.query.node.registered";var g=new o.IsInstanceFactory,c=g.create({attach:"function",attached:"function",certify:"function",detach:"function",registered:"function"},[o.isModuleInstance]),j=new o.IsModuleFactory,i=j.create([s]),C=d.AsObjectFactory.create(i),O=d.AsObjectFactory.create(c),D=o.WithFactory.create(i),R=o.WithFactory.create(c);var u={},W=new y.IsObjectFactory,m=W.create(u,[c,h.isAttachableModuleInstance]);var v=N.AsObjectFactory.create(m);var l=require("@xylabs/object");var p=class extends l.IsObjectFactory{static{f(this,"IsAttachableNodeInstanceFactory")}};var z="network.xyo.child.certification";var B="network.xyo.node.config";
114
2
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/attachable/asAttachableInstance.ts","../../src/attachable/isAttachableInstance.ts","../../src/typeChecks.ts","../../src/Queries/Attach.ts","../../src/Queries/Attached.ts","../../src/Queries/Certify.ts","../../src/Queries/Detach.ts","../../src/Queries/Registered.ts","../../src/attachable/AttachableInstance.ts","../../src/ChildCertification.ts","../../src/Config.ts"],"sourcesContent":["export * from './attachable'\nexport * from './ChildCertification'\nexport * from './Config'\nexport * from './EventsModels'\nexport * from './instance'\nexport * from './Node'\nexport * from './Params'\nexport * from './Queries'\nexport * from './typeChecks'\n","import { AsObjectFactory } from '@xylabs/object'\n\nimport { isAttachableNodeInstance } from './isAttachableInstance'\n\nexport const asAttachableNodeInstance = AsObjectFactory.create(isAttachableNodeInstance)\n","import { IsObjectFactory, ObjectTypeShape, TypeCheck } from '@xylabs/object'\nimport { isAttachableModuleInstance } from '@xyo-network/module-model'\n\nimport { isNodeInstance } from '../typeChecks'\nimport { AttachableNodeInstance } from './AttachableInstance'\n\nexport const requiredAttachableNodeInstanceFunctions: ObjectTypeShape = {}\n\n//we do not use IsInstanceFactory here to prevent a cycle\nconst factory = new IsObjectFactory<AttachableNodeInstance>()\n\nexport const isAttachableNodeInstance: TypeCheck<AttachableNodeInstance> = factory.create(requiredAttachableNodeInstanceFunctions, [\n isNodeInstance,\n isAttachableModuleInstance,\n])\n","import { AsObjectFactory } from '@xylabs/object'\nimport { IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory } from '@xyo-network/module-model'\n\nimport { NodeInstance } from './instance'\nimport { NodeModule } from './Node'\nimport { NodeAttachedQuerySchema } from './Queries'\n\nconst instanceFactory = new IsInstanceFactory<NodeInstance>()\n\nexport const isNodeInstance = instanceFactory.create(\n {\n attach: 'function',\n attached: 'function',\n certify: 'function',\n detach: 'function',\n registered: 'function',\n },\n [isModuleInstance],\n)\n\nconst moduleFactory = new IsModuleFactory<NodeModule>()\n\nexport const isNodeModule = moduleFactory.create([NodeAttachedQuerySchema])\n\nexport const asNodeModule = AsObjectFactory.create(isNodeModule)\nexport const asNodeInstance = AsObjectFactory.create(isNodeInstance)\nexport const withNodeModule = WithFactory.create(isNodeModule)\nexport const withNodeInstance = WithFactory.create(isNodeInstance)\n","import { ModuleIdentifier } from '@xyo-network/module-model'\nimport { Query } from '@xyo-network/payload-model'\n\nexport type NodeAttachQuerySchema = 'network.xyo.query.node.attach'\nexport const NodeAttachQuerySchema: NodeAttachQuerySchema = 'network.xyo.query.node.attach'\n\nexport type NodeAttachQuery = Query<{\n external?: boolean\n id: ModuleIdentifier\n schema: NodeAttachQuerySchema\n}>\n","import { Query } from '@xyo-network/payload-model'\n\nexport type NodeAttachedQuerySchema = 'network.xyo.query.node.attached'\nexport const NodeAttachedQuerySchema: NodeAttachedQuerySchema = 'network.xyo.query.node.attached'\n\nexport type NodeAttachedQuery = Query<{\n schema: NodeAttachedQuerySchema\n}>\n","import { ModuleIdentifier } from '@xyo-network/module-model'\nimport { Query } from '@xyo-network/payload-model'\n\nexport type NodeCertifyQuerySchema = 'network.xyo.query.node.certify'\nexport const NodeCertifyQuerySchema: NodeCertifyQuerySchema = 'network.xyo.query.node.certify'\n\nexport type NodeCertifyQuery = Query<{\n id: ModuleIdentifier\n schema: NodeCertifyQuerySchema\n}>\n","import { ModuleIdentifier } from '@xyo-network/module-model'\nimport { Query } from '@xyo-network/payload-model'\n\nexport type NodeDetachQuerySchema = 'network.xyo.query.node.detach'\nexport const NodeDetachQuerySchema: NodeDetachQuerySchema = 'network.xyo.query.node.detach'\n\nexport type NodeDetachQuery = Query<{\n id: ModuleIdentifier\n schema: NodeDetachQuerySchema\n}>\n","import { Query } from '@xyo-network/payload-model'\n\nexport type NodeRegisteredQuerySchema = 'network.xyo.query.node.registered'\nexport const NodeRegisteredQuerySchema: NodeRegisteredQuerySchema = 'network.xyo.query.node.registered'\n\nexport type NodeRegisteredQuery = Query<{\n schema: NodeRegisteredQuerySchema\n}>\n","import { IsObjectFactory, TypeCheck } from '@xylabs/object'\nimport { AttachableModuleInstance } from '@xyo-network/module-model'\n\nimport { NodeInstance } from '../instance'\nimport { NodeModule, NodeModuleEventData } from '../Node'\nimport { NodeParams } from '../Params'\n\nexport interface AttachableNodeInstance<TParams extends NodeParams = NodeParams, TEventData extends NodeModuleEventData = NodeModuleEventData>\n extends NodeModule<TParams, TEventData>,\n AttachableModuleInstance<TParams, TEventData>,\n NodeInstance<TParams, TEventData> {}\n\nexport type AttachableNodeInstanceTypeCheck<T extends AttachableNodeInstance = AttachableNodeInstance> = TypeCheck<T>\n\nexport class IsAttachableNodeInstanceFactory<T extends AttachableNodeInstance = AttachableNodeInstance> extends IsObjectFactory<T> {}\n","import { Address } from '@xylabs/hex'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const ChildCertificationSchema = 'network.xyo.child.certification' as const\nexport type ChildCertificationSchema = typeof ChildCertificationSchema\n\nexport interface ChildCertificationFields {\n address: Address\n expiration: number\n}\n\nexport type ChildCertification = Payload<ChildCertificationFields, ChildCertificationSchema>\n","import { EmptyObject, WithAdditional } from '@xylabs/object'\nimport { ModuleConfig } from '@xyo-network/module-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const NodeConfigSchema = 'network.xyo.node.config' as const\nexport type NodeConfigSchema = typeof NodeConfigSchema\n\nexport type NodeConfig<TConfig extends EmptyObject | Payload | void = void, TSchema extends string | void = void> = ModuleConfig<\n WithAdditional<\n {\n archivist?: string\n },\n TConfig\n >,\n TSchema extends void ?\n TConfig extends Payload ?\n TConfig['schema']\n : NodeConfigSchema\n : TSchema\n>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;ACAA,IAAAA,iBAAgC;;;ACAhC,IAAAC,iBAA4D;AAC5D,IAAAC,uBAA2C;;;ACD3C,oBAAgC;AAChC,0BAAkF;;;ACG3E,IAAMC,wBAA+C;;;ACDrD,IAAMC,0BAAmD;;;ACCzD,IAAMC,yBAAiD;;;ACAvD,IAAMC,wBAA+C;;;ACDrD,IAAMC,4BAAuD;;;ALIpE,IAAMC,kBAAkB,IAAIC,sCAAAA;AAErB,IAAMC,iBAAiBF,gBAAgBG,OAC5C;EACEC,QAAQ;EACRC,UAAU;EACVC,SAAS;EACTC,QAAQ;EACRC,YAAY;AACd,GACA;EAACC;CAAiB;AAGpB,IAAMC,gBAAgB,IAAIC,oCAAAA;AAEnB,IAAMC,eAAeF,cAAcP,OAAO;EAACU;CAAwB;AAEnE,IAAMC,eAAeC,8BAAgBZ,OAAOS,YAAAA;AAC5C,IAAMI,iBAAiBD,8BAAgBZ,OAAOD,cAAAA;AAC9C,IAAMe,iBAAiBC,gCAAYf,OAAOS,YAAAA;AAC1C,IAAMO,mBAAmBD,gCAAYf,OAAOD,cAAAA;;;ADrB5C,IAAMkB,0CAA2D,CAAC;AAGzE,IAAMC,UAAU,IAAIC,+BAAAA;AAEb,IAAMC,2BAA8DF,QAAQG,OAAOJ,yCAAyC;EACjIK;EACAC;CACD;;;ADVM,IAAMC,2BAA2BC,+BAAgBC,OAAOC,wBAAAA;;;AQJ/D,IAAAC,iBAA2C;AAcpC,IAAMC,kCAAN,cAAyGC,+BAAAA;EAdhH,OAcgHA;;;AAAoB;;;ACX7H,IAAMC,2BAA2B;;;ACCjC,IAAMC,mBAAmB;","names":["import_object","import_object","import_module_model","NodeAttachQuerySchema","NodeAttachedQuerySchema","NodeCertifyQuerySchema","NodeDetachQuerySchema","NodeRegisteredQuerySchema","instanceFactory","IsInstanceFactory","isNodeInstance","create","attach","attached","certify","detach","registered","isModuleInstance","moduleFactory","IsModuleFactory","isNodeModule","NodeAttachedQuerySchema","asNodeModule","AsObjectFactory","asNodeInstance","withNodeModule","WithFactory","withNodeInstance","requiredAttachableNodeInstanceFunctions","factory","IsObjectFactory","isAttachableNodeInstance","create","isNodeInstance","isAttachableModuleInstance","asAttachableNodeInstance","AsObjectFactory","create","isAttachableNodeInstance","import_object","IsAttachableNodeInstanceFactory","IsObjectFactory","ChildCertificationSchema","NodeConfigSchema"]}
1
+ {"version":3,"sources":["../../src/index.ts","../../src/attachable/asAttachableInstance.ts","../../src/attachable/isAttachableInstance.ts","../../src/typeChecks.ts","../../src/Queries/Attach.ts","../../src/Queries/Attached.ts","../../src/Queries/Certify.ts","../../src/Queries/Detach.ts","../../src/Queries/Registered.ts","../../src/attachable/AttachableInstance.ts","../../src/ChildCertification.ts","../../src/Config.ts"],"sourcesContent":["export * from './attachable'\nexport * from './ChildCertification'\nexport * from './Config'\nexport * from './EventsModels'\nexport * from './instance'\nexport * from './Node'\nexport * from './Params'\nexport * from './Queries'\nexport * from './typeChecks'\n","import { AsObjectFactory } from '@xylabs/object'\n\nimport { isAttachableNodeInstance } from './isAttachableInstance'\n\nexport const asAttachableNodeInstance = AsObjectFactory.create(isAttachableNodeInstance)\n","import { IsObjectFactory, ObjectTypeShape, TypeCheck } from '@xylabs/object'\nimport { isAttachableModuleInstance } from '@xyo-network/module-model'\n\nimport { isNodeInstance } from '../typeChecks'\nimport { AttachableNodeInstance } from './AttachableInstance'\n\nexport const requiredAttachableNodeInstanceFunctions: ObjectTypeShape = {}\n\n//we do not use IsInstanceFactory here to prevent a cycle\nconst factory = new IsObjectFactory<AttachableNodeInstance>()\n\nexport const isAttachableNodeInstance: TypeCheck<AttachableNodeInstance> = factory.create(requiredAttachableNodeInstanceFunctions, [\n isNodeInstance,\n isAttachableModuleInstance,\n])\n","import { AsObjectFactory } from '@xylabs/object'\nimport { IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory } from '@xyo-network/module-model'\n\nimport { NodeInstance } from './instance'\nimport { NodeModule } from './Node'\nimport { NodeAttachedQuerySchema } from './Queries'\n\nconst instanceFactory = new IsInstanceFactory<NodeInstance>()\n\nexport const isNodeInstance = instanceFactory.create(\n {\n attach: 'function',\n attached: 'function',\n certify: 'function',\n detach: 'function',\n registered: 'function',\n },\n [isModuleInstance],\n)\n\nconst moduleFactory = new IsModuleFactory<NodeModule>()\n\nexport const isNodeModule = moduleFactory.create([NodeAttachedQuerySchema])\n\nexport const asNodeModule = AsObjectFactory.create(isNodeModule)\nexport const asNodeInstance = AsObjectFactory.create(isNodeInstance)\nexport const withNodeModule = WithFactory.create(isNodeModule)\nexport const withNodeInstance = WithFactory.create(isNodeInstance)\n","import { ModuleIdentifier } from '@xyo-network/module-model'\nimport { Query } from '@xyo-network/payload-model'\n\nexport type NodeAttachQuerySchema = 'network.xyo.query.node.attach'\nexport const NodeAttachQuerySchema: NodeAttachQuerySchema = 'network.xyo.query.node.attach'\n\nexport type NodeAttachQuery = Query<{\n external?: boolean\n id: ModuleIdentifier\n schema: NodeAttachQuerySchema\n}>\n","import { Query } from '@xyo-network/payload-model'\n\nexport type NodeAttachedQuerySchema = 'network.xyo.query.node.attached'\nexport const NodeAttachedQuerySchema: NodeAttachedQuerySchema = 'network.xyo.query.node.attached'\n\nexport type NodeAttachedQuery = Query<{\n schema: NodeAttachedQuerySchema\n}>\n","import { ModuleIdentifier } from '@xyo-network/module-model'\nimport { Query } from '@xyo-network/payload-model'\n\nexport type NodeCertifyQuerySchema = 'network.xyo.query.node.certify'\nexport const NodeCertifyQuerySchema: NodeCertifyQuerySchema = 'network.xyo.query.node.certify'\n\nexport type NodeCertifyQuery = Query<{\n id: ModuleIdentifier\n schema: NodeCertifyQuerySchema\n}>\n","import { ModuleIdentifier } from '@xyo-network/module-model'\nimport { Query } from '@xyo-network/payload-model'\n\nexport type NodeDetachQuerySchema = 'network.xyo.query.node.detach'\nexport const NodeDetachQuerySchema: NodeDetachQuerySchema = 'network.xyo.query.node.detach'\n\nexport type NodeDetachQuery = Query<{\n id: ModuleIdentifier\n schema: NodeDetachQuerySchema\n}>\n","import { Query } from '@xyo-network/payload-model'\n\nexport type NodeRegisteredQuerySchema = 'network.xyo.query.node.registered'\nexport const NodeRegisteredQuerySchema: NodeRegisteredQuerySchema = 'network.xyo.query.node.registered'\n\nexport type NodeRegisteredQuery = Query<{\n schema: NodeRegisteredQuerySchema\n}>\n","import { IsObjectFactory, TypeCheck } from '@xylabs/object'\nimport { AttachableModuleInstance } from '@xyo-network/module-model'\n\nimport { NodeInstance } from '../instance'\nimport { NodeModule, NodeModuleEventData } from '../Node'\nimport { NodeParams } from '../Params'\n\nexport interface AttachableNodeInstance<TParams extends NodeParams = NodeParams, TEventData extends NodeModuleEventData = NodeModuleEventData>\n extends NodeModule<TParams, TEventData>,\n AttachableModuleInstance<TParams, TEventData>,\n NodeInstance<TParams, TEventData> {}\n\nexport type AttachableNodeInstanceTypeCheck<T extends AttachableNodeInstance = AttachableNodeInstance> = TypeCheck<T>\n\nexport class IsAttachableNodeInstanceFactory<T extends AttachableNodeInstance = AttachableNodeInstance> extends IsObjectFactory<T> {}\n","import { Address } from '@xylabs/hex'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const ChildCertificationSchema = 'network.xyo.child.certification' as const\nexport type ChildCertificationSchema = typeof ChildCertificationSchema\n\nexport interface ChildCertificationFields {\n address: Address\n expiration: number\n}\n\nexport type ChildCertification = Payload<ChildCertificationFields, ChildCertificationSchema>\n","import { EmptyObject, WithAdditional } from '@xylabs/object'\nimport { ModuleConfig } from '@xyo-network/module-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const NodeConfigSchema = 'network.xyo.node.config' as const\nexport type NodeConfigSchema = typeof NodeConfigSchema\n\nexport type NodeConfig<TConfig extends EmptyObject | Payload | void = void, TSchema extends string | void = void> = ModuleConfig<\n WithAdditional<\n {\n archivist?: string\n },\n TConfig\n >,\n TSchema extends void ?\n TConfig extends Payload ?\n TConfig['schema']\n : NodeConfigSchema\n : TSchema\n>\n"],"mappings":"4dAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,8BAAAE,EAAA,oCAAAC,EAAA,0BAAAC,EAAA,4BAAAC,EAAA,2BAAAC,EAAA,qBAAAC,EAAA,0BAAAC,EAAA,8BAAAC,EAAA,6BAAAC,EAAA,mBAAAC,EAAA,iBAAAC,EAAA,6BAAAC,EAAA,mBAAAC,EAAA,iBAAAC,EAAA,4CAAAC,EAAA,qBAAAC,EAAA,mBAAAC,IAAA,eAAAC,EAAAnB,GCAA,IAAAoB,EAAgC,0BCAhC,IAAAC,EAA4D,0BAC5DC,EAA2C,qCCD3C,IAAAC,EAAgC,0BAChCC,EAAkF,qCCG3E,IAAMC,EAA+C,gCCDrD,IAAMC,EAAmD,kCCCzD,IAAMC,EAAiD,iCCAvD,IAAMC,EAA+C,gCCDrD,IAAMC,EAAuD,oCLIpE,IAAMC,EAAkB,IAAIC,oBAEfC,EAAiBF,EAAgBG,OAC5C,CACEC,OAAQ,WACRC,SAAU,WACVC,QAAS,WACTC,OAAQ,WACRC,WAAY,UACd,EACA,CAACC,mBAAiB,EAGdC,EAAgB,IAAIC,kBAEbC,EAAeF,EAAcP,OAAO,CAACU,EAAwB,EAE7DC,EAAeC,kBAAgBZ,OAAOS,CAAAA,EACtCI,EAAiBD,kBAAgBZ,OAAOD,CAAAA,EACxCe,EAAiBC,cAAYf,OAAOS,CAAAA,EACpCO,EAAmBD,cAAYf,OAAOD,CAAAA,EDrB5C,IAAMkB,EAA2D,CAAC,EAGnEC,EAAU,IAAIC,kBAEPC,EAA8DF,EAAQG,OAAOJ,EAAyC,CACjIK,EACAC,6BACD,EDVM,IAAMC,EAA2BC,kBAAgBC,OAAOC,CAAAA,EQJ/D,IAAAC,EAA2C,0BAcpC,IAAMC,EAAN,cAAyGC,iBAAAA,CAdhH,MAcgHA,CAAAA,EAAAA,wCAAoB,ECX7H,IAAMC,EAA2B,kCCCjC,IAAMC,EAAmB","names":["src_exports","__export","ChildCertificationSchema","IsAttachableNodeInstanceFactory","NodeAttachQuerySchema","NodeAttachedQuerySchema","NodeCertifyQuerySchema","NodeConfigSchema","NodeDetachQuerySchema","NodeRegisteredQuerySchema","asAttachableNodeInstance","asNodeInstance","asNodeModule","isAttachableNodeInstance","isNodeInstance","isNodeModule","requiredAttachableNodeInstanceFunctions","withNodeInstance","withNodeModule","__toCommonJS","import_object","import_object","import_module_model","import_object","import_module_model","NodeAttachQuerySchema","NodeAttachedQuerySchema","NodeCertifyQuerySchema","NodeDetachQuerySchema","NodeRegisteredQuerySchema","instanceFactory","IsInstanceFactory","isNodeInstance","create","attach","attached","certify","detach","registered","isModuleInstance","moduleFactory","IsModuleFactory","isNodeModule","NodeAttachedQuerySchema","asNodeModule","AsObjectFactory","asNodeInstance","withNodeModule","WithFactory","withNodeInstance","requiredAttachableNodeInstanceFunctions","factory","IsObjectFactory","isAttachableNodeInstance","create","isNodeInstance","isAttachableModuleInstance","asAttachableNodeInstance","AsObjectFactory","create","isAttachableNodeInstance","import_object","IsAttachableNodeInstanceFactory","IsObjectFactory","ChildCertificationSchema","NodeConfigSchema"]}
@@ -1,93 +1,2 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
-
4
- // src/attachable/asAttachableInstance.ts
5
- import { AsObjectFactory as AsObjectFactory2 } from "@xylabs/object";
6
-
7
- // src/attachable/isAttachableInstance.ts
8
- import { IsObjectFactory } from "@xylabs/object";
9
- import { isAttachableModuleInstance } from "@xyo-network/module-model";
10
-
11
- // src/typeChecks.ts
12
- import { AsObjectFactory } from "@xylabs/object";
13
- import { IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory } from "@xyo-network/module-model";
14
-
15
- // src/Queries/Attach.ts
16
- var NodeAttachQuerySchema = "network.xyo.query.node.attach";
17
-
18
- // src/Queries/Attached.ts
19
- var NodeAttachedQuerySchema = "network.xyo.query.node.attached";
20
-
21
- // src/Queries/Certify.ts
22
- var NodeCertifyQuerySchema = "network.xyo.query.node.certify";
23
-
24
- // src/Queries/Detach.ts
25
- var NodeDetachQuerySchema = "network.xyo.query.node.detach";
26
-
27
- // src/Queries/Registered.ts
28
- var NodeRegisteredQuerySchema = "network.xyo.query.node.registered";
29
-
30
- // src/typeChecks.ts
31
- var instanceFactory = new IsInstanceFactory();
32
- var isNodeInstance = instanceFactory.create({
33
- attach: "function",
34
- attached: "function",
35
- certify: "function",
36
- detach: "function",
37
- registered: "function"
38
- }, [
39
- isModuleInstance
40
- ]);
41
- var moduleFactory = new IsModuleFactory();
42
- var isNodeModule = moduleFactory.create([
43
- NodeAttachedQuerySchema
44
- ]);
45
- var asNodeModule = AsObjectFactory.create(isNodeModule);
46
- var asNodeInstance = AsObjectFactory.create(isNodeInstance);
47
- var withNodeModule = WithFactory.create(isNodeModule);
48
- var withNodeInstance = WithFactory.create(isNodeInstance);
49
-
50
- // src/attachable/isAttachableInstance.ts
51
- var requiredAttachableNodeInstanceFunctions = {};
52
- var factory = new IsObjectFactory();
53
- var isAttachableNodeInstance = factory.create(requiredAttachableNodeInstanceFunctions, [
54
- isNodeInstance,
55
- isAttachableModuleInstance
56
- ]);
57
-
58
- // src/attachable/asAttachableInstance.ts
59
- var asAttachableNodeInstance = AsObjectFactory2.create(isAttachableNodeInstance);
60
-
61
- // src/attachable/AttachableInstance.ts
62
- import { IsObjectFactory as IsObjectFactory2 } from "@xylabs/object";
63
- var IsAttachableNodeInstanceFactory = class extends IsObjectFactory2 {
64
- static {
65
- __name(this, "IsAttachableNodeInstanceFactory");
66
- }
67
- };
68
-
69
- // src/ChildCertification.ts
70
- var ChildCertificationSchema = "network.xyo.child.certification";
71
-
72
- // src/Config.ts
73
- var NodeConfigSchema = "network.xyo.node.config";
74
- export {
75
- ChildCertificationSchema,
76
- IsAttachableNodeInstanceFactory,
77
- NodeAttachQuerySchema,
78
- NodeAttachedQuerySchema,
79
- NodeCertifyQuerySchema,
80
- NodeConfigSchema,
81
- NodeDetachQuerySchema,
82
- NodeRegisteredQuerySchema,
83
- asAttachableNodeInstance,
84
- asNodeInstance,
85
- asNodeModule,
86
- isAttachableNodeInstance,
87
- isNodeInstance,
88
- isNodeModule,
89
- requiredAttachableNodeInstanceFunctions,
90
- withNodeInstance,
91
- withNodeModule
92
- };
1
+ var m=Object.defineProperty;var o=(t,i)=>m(t,"name",{value:i,configurable:!0});import{AsObjectFactory as w}from"@xylabs/object";import{IsObjectFactory as u}from"@xylabs/object";import{isAttachableModuleInstance as N}from"@xyo-network/module-model";import{AsObjectFactory as c}from"@xylabs/object";import{IsInstanceFactory as p,IsModuleFactory as x,isModuleInstance as f,WithFactory as n}from"@xyo-network/module-model";var b="network.xyo.query.node.attach";var r="network.xyo.query.node.attached";var q="network.xyo.query.node.certify";var Q="network.xyo.query.node.detach";var j="network.xyo.query.node.registered";var y=new p,e=y.create({attach:"function",attached:"function",certify:"function",detach:"function",registered:"function"},[f]),h=new x,a=h.create([r]),W=c.create(a),v=c.create(e),z=n.create(a),B=n.create(e);var l={},I=new u,s=I.create(l,[e,N]);var T=w.create(s);import{IsObjectFactory as A}from"@xylabs/object";var d=class extends A{static{o(this,"IsAttachableNodeInstanceFactory")}};var Z="network.xyo.child.certification";var $="network.xyo.node.config";export{Z as ChildCertificationSchema,d as IsAttachableNodeInstanceFactory,b as NodeAttachQuerySchema,r as NodeAttachedQuerySchema,q as NodeCertifyQuerySchema,$ as NodeConfigSchema,Q as NodeDetachQuerySchema,j as NodeRegisteredQuerySchema,T as asAttachableNodeInstance,v as asNodeInstance,W as asNodeModule,s as isAttachableNodeInstance,e as isNodeInstance,a as isNodeModule,l as requiredAttachableNodeInstanceFunctions,B as withNodeInstance,z as withNodeModule};
93
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/attachable/asAttachableInstance.ts","../../src/attachable/isAttachableInstance.ts","../../src/typeChecks.ts","../../src/Queries/Attach.ts","../../src/Queries/Attached.ts","../../src/Queries/Certify.ts","../../src/Queries/Detach.ts","../../src/Queries/Registered.ts","../../src/attachable/AttachableInstance.ts","../../src/ChildCertification.ts","../../src/Config.ts"],"sourcesContent":["import { AsObjectFactory } from '@xylabs/object'\n\nimport { isAttachableNodeInstance } from './isAttachableInstance'\n\nexport const asAttachableNodeInstance = AsObjectFactory.create(isAttachableNodeInstance)\n","import { IsObjectFactory, ObjectTypeShape, TypeCheck } from '@xylabs/object'\nimport { isAttachableModuleInstance } from '@xyo-network/module-model'\n\nimport { isNodeInstance } from '../typeChecks'\nimport { AttachableNodeInstance } from './AttachableInstance'\n\nexport const requiredAttachableNodeInstanceFunctions: ObjectTypeShape = {}\n\n//we do not use IsInstanceFactory here to prevent a cycle\nconst factory = new IsObjectFactory<AttachableNodeInstance>()\n\nexport const isAttachableNodeInstance: TypeCheck<AttachableNodeInstance> = factory.create(requiredAttachableNodeInstanceFunctions, [\n isNodeInstance,\n isAttachableModuleInstance,\n])\n","import { AsObjectFactory } from '@xylabs/object'\nimport { IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory } from '@xyo-network/module-model'\n\nimport { NodeInstance } from './instance'\nimport { NodeModule } from './Node'\nimport { NodeAttachedQuerySchema } from './Queries'\n\nconst instanceFactory = new IsInstanceFactory<NodeInstance>()\n\nexport const isNodeInstance = instanceFactory.create(\n {\n attach: 'function',\n attached: 'function',\n certify: 'function',\n detach: 'function',\n registered: 'function',\n },\n [isModuleInstance],\n)\n\nconst moduleFactory = new IsModuleFactory<NodeModule>()\n\nexport const isNodeModule = moduleFactory.create([NodeAttachedQuerySchema])\n\nexport const asNodeModule = AsObjectFactory.create(isNodeModule)\nexport const asNodeInstance = AsObjectFactory.create(isNodeInstance)\nexport const withNodeModule = WithFactory.create(isNodeModule)\nexport const withNodeInstance = WithFactory.create(isNodeInstance)\n","import { ModuleIdentifier } from '@xyo-network/module-model'\nimport { Query } from '@xyo-network/payload-model'\n\nexport type NodeAttachQuerySchema = 'network.xyo.query.node.attach'\nexport const NodeAttachQuerySchema: NodeAttachQuerySchema = 'network.xyo.query.node.attach'\n\nexport type NodeAttachQuery = Query<{\n external?: boolean\n id: ModuleIdentifier\n schema: NodeAttachQuerySchema\n}>\n","import { Query } from '@xyo-network/payload-model'\n\nexport type NodeAttachedQuerySchema = 'network.xyo.query.node.attached'\nexport const NodeAttachedQuerySchema: NodeAttachedQuerySchema = 'network.xyo.query.node.attached'\n\nexport type NodeAttachedQuery = Query<{\n schema: NodeAttachedQuerySchema\n}>\n","import { ModuleIdentifier } from '@xyo-network/module-model'\nimport { Query } from '@xyo-network/payload-model'\n\nexport type NodeCertifyQuerySchema = 'network.xyo.query.node.certify'\nexport const NodeCertifyQuerySchema: NodeCertifyQuerySchema = 'network.xyo.query.node.certify'\n\nexport type NodeCertifyQuery = Query<{\n id: ModuleIdentifier\n schema: NodeCertifyQuerySchema\n}>\n","import { ModuleIdentifier } from '@xyo-network/module-model'\nimport { Query } from '@xyo-network/payload-model'\n\nexport type NodeDetachQuerySchema = 'network.xyo.query.node.detach'\nexport const NodeDetachQuerySchema: NodeDetachQuerySchema = 'network.xyo.query.node.detach'\n\nexport type NodeDetachQuery = Query<{\n id: ModuleIdentifier\n schema: NodeDetachQuerySchema\n}>\n","import { Query } from '@xyo-network/payload-model'\n\nexport type NodeRegisteredQuerySchema = 'network.xyo.query.node.registered'\nexport const NodeRegisteredQuerySchema: NodeRegisteredQuerySchema = 'network.xyo.query.node.registered'\n\nexport type NodeRegisteredQuery = Query<{\n schema: NodeRegisteredQuerySchema\n}>\n","import { IsObjectFactory, TypeCheck } from '@xylabs/object'\nimport { AttachableModuleInstance } from '@xyo-network/module-model'\n\nimport { NodeInstance } from '../instance'\nimport { NodeModule, NodeModuleEventData } from '../Node'\nimport { NodeParams } from '../Params'\n\nexport interface AttachableNodeInstance<TParams extends NodeParams = NodeParams, TEventData extends NodeModuleEventData = NodeModuleEventData>\n extends NodeModule<TParams, TEventData>,\n AttachableModuleInstance<TParams, TEventData>,\n NodeInstance<TParams, TEventData> {}\n\nexport type AttachableNodeInstanceTypeCheck<T extends AttachableNodeInstance = AttachableNodeInstance> = TypeCheck<T>\n\nexport class IsAttachableNodeInstanceFactory<T extends AttachableNodeInstance = AttachableNodeInstance> extends IsObjectFactory<T> {}\n","import { Address } from '@xylabs/hex'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const ChildCertificationSchema = 'network.xyo.child.certification' as const\nexport type ChildCertificationSchema = typeof ChildCertificationSchema\n\nexport interface ChildCertificationFields {\n address: Address\n expiration: number\n}\n\nexport type ChildCertification = Payload<ChildCertificationFields, ChildCertificationSchema>\n","import { EmptyObject, WithAdditional } from '@xylabs/object'\nimport { ModuleConfig } from '@xyo-network/module-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const NodeConfigSchema = 'network.xyo.node.config' as const\nexport type NodeConfigSchema = typeof NodeConfigSchema\n\nexport type NodeConfig<TConfig extends EmptyObject | Payload | void = void, TSchema extends string | void = void> = ModuleConfig<\n WithAdditional<\n {\n archivist?: string\n },\n TConfig\n >,\n TSchema extends void ?\n TConfig extends Payload ?\n TConfig['schema']\n : NodeConfigSchema\n : TSchema\n>\n"],"mappings":";;;;AAAA,SAASA,mBAAAA,wBAAuB;;;ACAhC,SAASC,uBAAmD;AAC5D,SAASC,kCAAkC;;;ACD3C,SAASC,uBAAuB;AAChC,SAASC,mBAAmBC,iBAAiBC,kBAAkBC,mBAAmB;;;ACG3E,IAAMC,wBAA+C;;;ACDrD,IAAMC,0BAAmD;;;ACCzD,IAAMC,yBAAiD;;;ACAvD,IAAMC,wBAA+C;;;ACDrD,IAAMC,4BAAuD;;;ALIpE,IAAMC,kBAAkB,IAAIC,kBAAAA;AAErB,IAAMC,iBAAiBF,gBAAgBG,OAC5C;EACEC,QAAQ;EACRC,UAAU;EACVC,SAAS;EACTC,QAAQ;EACRC,YAAY;AACd,GACA;EAACC;CAAiB;AAGpB,IAAMC,gBAAgB,IAAIC,gBAAAA;AAEnB,IAAMC,eAAeF,cAAcP,OAAO;EAACU;CAAwB;AAEnE,IAAMC,eAAeC,gBAAgBZ,OAAOS,YAAAA;AAC5C,IAAMI,iBAAiBD,gBAAgBZ,OAAOD,cAAAA;AAC9C,IAAMe,iBAAiBC,YAAYf,OAAOS,YAAAA;AAC1C,IAAMO,mBAAmBD,YAAYf,OAAOD,cAAAA;;;ADrB5C,IAAMkB,0CAA2D,CAAC;AAGzE,IAAMC,UAAU,IAAIC,gBAAAA;AAEb,IAAMC,2BAA8DF,QAAQG,OAAOJ,yCAAyC;EACjIK;EACAC;CACD;;;ADVM,IAAMC,2BAA2BC,iBAAgBC,OAAOC,wBAAAA;;;AQJ/D,SAASC,mBAAAA,wBAAkC;AAcpC,IAAMC,kCAAN,cAAyGC,iBAAAA;EAdhH,OAcgHA;;;AAAoB;;;ACX7H,IAAMC,2BAA2B;;;ACCjC,IAAMC,mBAAmB;","names":["AsObjectFactory","IsObjectFactory","isAttachableModuleInstance","AsObjectFactory","IsInstanceFactory","IsModuleFactory","isModuleInstance","WithFactory","NodeAttachQuerySchema","NodeAttachedQuerySchema","NodeCertifyQuerySchema","NodeDetachQuerySchema","NodeRegisteredQuerySchema","instanceFactory","IsInstanceFactory","isNodeInstance","create","attach","attached","certify","detach","registered","isModuleInstance","moduleFactory","IsModuleFactory","isNodeModule","NodeAttachedQuerySchema","asNodeModule","AsObjectFactory","asNodeInstance","withNodeModule","WithFactory","withNodeInstance","requiredAttachableNodeInstanceFunctions","factory","IsObjectFactory","isAttachableNodeInstance","create","isNodeInstance","isAttachableModuleInstance","asAttachableNodeInstance","AsObjectFactory","create","isAttachableNodeInstance","IsObjectFactory","IsAttachableNodeInstanceFactory","IsObjectFactory","ChildCertificationSchema","NodeConfigSchema"]}
1
+ {"version":3,"sources":["../../src/attachable/asAttachableInstance.ts","../../src/attachable/isAttachableInstance.ts","../../src/typeChecks.ts","../../src/Queries/Attach.ts","../../src/Queries/Attached.ts","../../src/Queries/Certify.ts","../../src/Queries/Detach.ts","../../src/Queries/Registered.ts","../../src/attachable/AttachableInstance.ts","../../src/ChildCertification.ts","../../src/Config.ts"],"sourcesContent":["import { AsObjectFactory } from '@xylabs/object'\n\nimport { isAttachableNodeInstance } from './isAttachableInstance'\n\nexport const asAttachableNodeInstance = AsObjectFactory.create(isAttachableNodeInstance)\n","import { IsObjectFactory, ObjectTypeShape, TypeCheck } from '@xylabs/object'\nimport { isAttachableModuleInstance } from '@xyo-network/module-model'\n\nimport { isNodeInstance } from '../typeChecks'\nimport { AttachableNodeInstance } from './AttachableInstance'\n\nexport const requiredAttachableNodeInstanceFunctions: ObjectTypeShape = {}\n\n//we do not use IsInstanceFactory here to prevent a cycle\nconst factory = new IsObjectFactory<AttachableNodeInstance>()\n\nexport const isAttachableNodeInstance: TypeCheck<AttachableNodeInstance> = factory.create(requiredAttachableNodeInstanceFunctions, [\n isNodeInstance,\n isAttachableModuleInstance,\n])\n","import { AsObjectFactory } from '@xylabs/object'\nimport { IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory } from '@xyo-network/module-model'\n\nimport { NodeInstance } from './instance'\nimport { NodeModule } from './Node'\nimport { NodeAttachedQuerySchema } from './Queries'\n\nconst instanceFactory = new IsInstanceFactory<NodeInstance>()\n\nexport const isNodeInstance = instanceFactory.create(\n {\n attach: 'function',\n attached: 'function',\n certify: 'function',\n detach: 'function',\n registered: 'function',\n },\n [isModuleInstance],\n)\n\nconst moduleFactory = new IsModuleFactory<NodeModule>()\n\nexport const isNodeModule = moduleFactory.create([NodeAttachedQuerySchema])\n\nexport const asNodeModule = AsObjectFactory.create(isNodeModule)\nexport const asNodeInstance = AsObjectFactory.create(isNodeInstance)\nexport const withNodeModule = WithFactory.create(isNodeModule)\nexport const withNodeInstance = WithFactory.create(isNodeInstance)\n","import { ModuleIdentifier } from '@xyo-network/module-model'\nimport { Query } from '@xyo-network/payload-model'\n\nexport type NodeAttachQuerySchema = 'network.xyo.query.node.attach'\nexport const NodeAttachQuerySchema: NodeAttachQuerySchema = 'network.xyo.query.node.attach'\n\nexport type NodeAttachQuery = Query<{\n external?: boolean\n id: ModuleIdentifier\n schema: NodeAttachQuerySchema\n}>\n","import { Query } from '@xyo-network/payload-model'\n\nexport type NodeAttachedQuerySchema = 'network.xyo.query.node.attached'\nexport const NodeAttachedQuerySchema: NodeAttachedQuerySchema = 'network.xyo.query.node.attached'\n\nexport type NodeAttachedQuery = Query<{\n schema: NodeAttachedQuerySchema\n}>\n","import { ModuleIdentifier } from '@xyo-network/module-model'\nimport { Query } from '@xyo-network/payload-model'\n\nexport type NodeCertifyQuerySchema = 'network.xyo.query.node.certify'\nexport const NodeCertifyQuerySchema: NodeCertifyQuerySchema = 'network.xyo.query.node.certify'\n\nexport type NodeCertifyQuery = Query<{\n id: ModuleIdentifier\n schema: NodeCertifyQuerySchema\n}>\n","import { ModuleIdentifier } from '@xyo-network/module-model'\nimport { Query } from '@xyo-network/payload-model'\n\nexport type NodeDetachQuerySchema = 'network.xyo.query.node.detach'\nexport const NodeDetachQuerySchema: NodeDetachQuerySchema = 'network.xyo.query.node.detach'\n\nexport type NodeDetachQuery = Query<{\n id: ModuleIdentifier\n schema: NodeDetachQuerySchema\n}>\n","import { Query } from '@xyo-network/payload-model'\n\nexport type NodeRegisteredQuerySchema = 'network.xyo.query.node.registered'\nexport const NodeRegisteredQuerySchema: NodeRegisteredQuerySchema = 'network.xyo.query.node.registered'\n\nexport type NodeRegisteredQuery = Query<{\n schema: NodeRegisteredQuerySchema\n}>\n","import { IsObjectFactory, TypeCheck } from '@xylabs/object'\nimport { AttachableModuleInstance } from '@xyo-network/module-model'\n\nimport { NodeInstance } from '../instance'\nimport { NodeModule, NodeModuleEventData } from '../Node'\nimport { NodeParams } from '../Params'\n\nexport interface AttachableNodeInstance<TParams extends NodeParams = NodeParams, TEventData extends NodeModuleEventData = NodeModuleEventData>\n extends NodeModule<TParams, TEventData>,\n AttachableModuleInstance<TParams, TEventData>,\n NodeInstance<TParams, TEventData> {}\n\nexport type AttachableNodeInstanceTypeCheck<T extends AttachableNodeInstance = AttachableNodeInstance> = TypeCheck<T>\n\nexport class IsAttachableNodeInstanceFactory<T extends AttachableNodeInstance = AttachableNodeInstance> extends IsObjectFactory<T> {}\n","import { Address } from '@xylabs/hex'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const ChildCertificationSchema = 'network.xyo.child.certification' as const\nexport type ChildCertificationSchema = typeof ChildCertificationSchema\n\nexport interface ChildCertificationFields {\n address: Address\n expiration: number\n}\n\nexport type ChildCertification = Payload<ChildCertificationFields, ChildCertificationSchema>\n","import { EmptyObject, WithAdditional } from '@xylabs/object'\nimport { ModuleConfig } from '@xyo-network/module-model'\nimport { Payload } from '@xyo-network/payload-model'\n\nexport const NodeConfigSchema = 'network.xyo.node.config' as const\nexport type NodeConfigSchema = typeof NodeConfigSchema\n\nexport type NodeConfig<TConfig extends EmptyObject | Payload | void = void, TSchema extends string | void = void> = ModuleConfig<\n WithAdditional<\n {\n archivist?: string\n },\n TConfig\n >,\n TSchema extends void ?\n TConfig extends Payload ?\n TConfig['schema']\n : NodeConfigSchema\n : TSchema\n>\n"],"mappings":"+EAAA,OAASA,mBAAAA,MAAuB,iBCAhC,OAASC,mBAAAA,MAAmD,iBAC5D,OAASC,8BAAAA,MAAkC,4BCD3C,OAASC,mBAAAA,MAAuB,iBAChC,OAASC,qBAAAA,EAAmBC,mBAAAA,EAAiBC,oBAAAA,EAAkBC,eAAAA,MAAmB,4BCG3E,IAAMC,EAA+C,gCCDrD,IAAMC,EAAmD,kCCCzD,IAAMC,EAAiD,iCCAvD,IAAMC,EAA+C,gCCDrD,IAAMC,EAAuD,oCLIpE,IAAMC,EAAkB,IAAIC,EAEfC,EAAiBF,EAAgBG,OAC5C,CACEC,OAAQ,WACRC,SAAU,WACVC,QAAS,WACTC,OAAQ,WACRC,WAAY,UACd,EACA,CAACC,EAAiB,EAGdC,EAAgB,IAAIC,EAEbC,EAAeF,EAAcP,OAAO,CAACU,EAAwB,EAE7DC,EAAeC,EAAgBZ,OAAOS,CAAAA,EACtCI,EAAiBD,EAAgBZ,OAAOD,CAAAA,EACxCe,EAAiBC,EAAYf,OAAOS,CAAAA,EACpCO,EAAmBD,EAAYf,OAAOD,CAAAA,EDrB5C,IAAMkB,EAA2D,CAAC,EAGnEC,EAAU,IAAIC,EAEPC,EAA8DF,EAAQG,OAAOJ,EAAyC,CACjIK,EACAC,EACD,EDVM,IAAMC,EAA2BC,EAAgBC,OAAOC,CAAAA,EQJ/D,OAASC,mBAAAA,MAAkC,iBAcpC,IAAMC,EAAN,cAAyGC,CAAAA,CAdhH,MAcgHA,CAAAA,EAAAA,wCAAoB,ECX7H,IAAMC,EAA2B,kCCCjC,IAAMC,EAAmB","names":["AsObjectFactory","IsObjectFactory","isAttachableModuleInstance","AsObjectFactory","IsInstanceFactory","IsModuleFactory","isModuleInstance","WithFactory","NodeAttachQuerySchema","NodeAttachedQuerySchema","NodeCertifyQuerySchema","NodeDetachQuerySchema","NodeRegisteredQuerySchema","instanceFactory","IsInstanceFactory","isNodeInstance","create","attach","attached","certify","detach","registered","isModuleInstance","moduleFactory","IsModuleFactory","isNodeModule","NodeAttachedQuerySchema","asNodeModule","AsObjectFactory","asNodeInstance","withNodeModule","WithFactory","withNodeInstance","requiredAttachableNodeInstanceFunctions","factory","IsObjectFactory","isAttachableNodeInstance","create","isNodeInstance","isAttachableModuleInstance","asAttachableNodeInstance","AsObjectFactory","create","isAttachableNodeInstance","IsObjectFactory","IsAttachableNodeInstanceFactory","IsObjectFactory","ChildCertificationSchema","NodeConfigSchema"]}