@xyo-network/diviner-address-chain-model 2.111.3 → 3.0.1

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 (120) hide show
  1. package/dist/neutral/index.d.ts +32 -6
  2. package/package.json +11 -30
  3. package/xy.config.ts +12 -0
  4. package/dist/browser/Config.d.cts +0 -10
  5. package/dist/browser/Config.d.cts.map +0 -1
  6. package/dist/browser/Config.d.mts +0 -10
  7. package/dist/browser/Config.d.mts.map +0 -1
  8. package/dist/browser/Config.d.ts +0 -10
  9. package/dist/browser/Config.d.ts.map +0 -1
  10. package/dist/browser/Params.d.cts +0 -5
  11. package/dist/browser/Params.d.cts.map +0 -1
  12. package/dist/browser/Params.d.mts +0 -5
  13. package/dist/browser/Params.d.mts.map +0 -1
  14. package/dist/browser/Params.d.ts +0 -5
  15. package/dist/browser/Params.d.ts.map +0 -1
  16. package/dist/browser/Payload.d.cts +0 -7
  17. package/dist/browser/Payload.d.cts.map +0 -1
  18. package/dist/browser/Payload.d.mts +0 -7
  19. package/dist/browser/Payload.d.mts.map +0 -1
  20. package/dist/browser/Payload.d.ts +0 -7
  21. package/dist/browser/Payload.d.ts.map +0 -1
  22. package/dist/browser/Query.d.cts +0 -7
  23. package/dist/browser/Query.d.cts.map +0 -1
  24. package/dist/browser/Query.d.mts +0 -7
  25. package/dist/browser/Query.d.mts.map +0 -1
  26. package/dist/browser/Query.d.ts +0 -7
  27. package/dist/browser/Query.d.ts.map +0 -1
  28. package/dist/browser/Schema.d.cts +0 -7
  29. package/dist/browser/Schema.d.cts.map +0 -1
  30. package/dist/browser/Schema.d.mts +0 -7
  31. package/dist/browser/Schema.d.mts.map +0 -1
  32. package/dist/browser/Schema.d.ts +0 -7
  33. package/dist/browser/Schema.d.ts.map +0 -1
  34. package/dist/browser/index.cjs +0 -42
  35. package/dist/browser/index.cjs.map +0 -1
  36. package/dist/browser/index.d.cts +0 -6
  37. package/dist/browser/index.d.cts.map +0 -1
  38. package/dist/browser/index.d.mts +0 -6
  39. package/dist/browser/index.d.mts.map +0 -1
  40. package/dist/browser/index.d.ts +0 -6
  41. package/dist/browser/index.d.ts.map +0 -1
  42. package/dist/browser/index.mjs +0 -21
  43. package/dist/browser/index.mjs.map +0 -1
  44. package/dist/neutral/Config.d.cts +0 -10
  45. package/dist/neutral/Config.d.cts.map +0 -1
  46. package/dist/neutral/Config.d.mts +0 -10
  47. package/dist/neutral/Config.d.mts.map +0 -1
  48. package/dist/neutral/Config.d.ts +0 -10
  49. package/dist/neutral/Config.d.ts.map +0 -1
  50. package/dist/neutral/Params.d.cts +0 -5
  51. package/dist/neutral/Params.d.cts.map +0 -1
  52. package/dist/neutral/Params.d.mts +0 -5
  53. package/dist/neutral/Params.d.mts.map +0 -1
  54. package/dist/neutral/Params.d.ts +0 -5
  55. package/dist/neutral/Params.d.ts.map +0 -1
  56. package/dist/neutral/Payload.d.cts +0 -7
  57. package/dist/neutral/Payload.d.cts.map +0 -1
  58. package/dist/neutral/Payload.d.mts +0 -7
  59. package/dist/neutral/Payload.d.mts.map +0 -1
  60. package/dist/neutral/Payload.d.ts +0 -7
  61. package/dist/neutral/Payload.d.ts.map +0 -1
  62. package/dist/neutral/Query.d.cts +0 -7
  63. package/dist/neutral/Query.d.cts.map +0 -1
  64. package/dist/neutral/Query.d.mts +0 -7
  65. package/dist/neutral/Query.d.mts.map +0 -1
  66. package/dist/neutral/Query.d.ts +0 -7
  67. package/dist/neutral/Query.d.ts.map +0 -1
  68. package/dist/neutral/Schema.d.cts +0 -7
  69. package/dist/neutral/Schema.d.cts.map +0 -1
  70. package/dist/neutral/Schema.d.mts +0 -7
  71. package/dist/neutral/Schema.d.mts.map +0 -1
  72. package/dist/neutral/Schema.d.ts +0 -7
  73. package/dist/neutral/Schema.d.ts.map +0 -1
  74. package/dist/neutral/index.cjs +0 -42
  75. package/dist/neutral/index.cjs.map +0 -1
  76. package/dist/neutral/index.d.cts +0 -6
  77. package/dist/neutral/index.d.cts.map +0 -1
  78. package/dist/neutral/index.d.mts +0 -6
  79. package/dist/neutral/index.d.mts.map +0 -1
  80. package/dist/neutral/index.d.ts.map +0 -1
  81. package/dist/node/Config.d.cts +0 -10
  82. package/dist/node/Config.d.cts.map +0 -1
  83. package/dist/node/Config.d.mts +0 -10
  84. package/dist/node/Config.d.mts.map +0 -1
  85. package/dist/node/Config.d.ts +0 -10
  86. package/dist/node/Config.d.ts.map +0 -1
  87. package/dist/node/Params.d.cts +0 -5
  88. package/dist/node/Params.d.cts.map +0 -1
  89. package/dist/node/Params.d.mts +0 -5
  90. package/dist/node/Params.d.mts.map +0 -1
  91. package/dist/node/Params.d.ts +0 -5
  92. package/dist/node/Params.d.ts.map +0 -1
  93. package/dist/node/Payload.d.cts +0 -7
  94. package/dist/node/Payload.d.cts.map +0 -1
  95. package/dist/node/Payload.d.mts +0 -7
  96. package/dist/node/Payload.d.mts.map +0 -1
  97. package/dist/node/Payload.d.ts +0 -7
  98. package/dist/node/Payload.d.ts.map +0 -1
  99. package/dist/node/Query.d.cts +0 -7
  100. package/dist/node/Query.d.cts.map +0 -1
  101. package/dist/node/Query.d.mts +0 -7
  102. package/dist/node/Query.d.mts.map +0 -1
  103. package/dist/node/Query.d.ts +0 -7
  104. package/dist/node/Query.d.ts.map +0 -1
  105. package/dist/node/Schema.d.cts +0 -7
  106. package/dist/node/Schema.d.cts.map +0 -1
  107. package/dist/node/Schema.d.mts +0 -7
  108. package/dist/node/Schema.d.mts.map +0 -1
  109. package/dist/node/Schema.d.ts +0 -7
  110. package/dist/node/Schema.d.ts.map +0 -1
  111. package/dist/node/index.cjs +0 -50
  112. package/dist/node/index.cjs.map +0 -1
  113. package/dist/node/index.d.cts +0 -6
  114. package/dist/node/index.d.cts.map +0 -1
  115. package/dist/node/index.d.mts +0 -6
  116. package/dist/node/index.d.mts.map +0 -1
  117. package/dist/node/index.d.ts +0 -6
  118. package/dist/node/index.d.ts.map +0 -1
  119. package/dist/node/index.mjs +0 -21
  120. package/dist/node/index.mjs.map +0 -1
@@ -1,6 +1,32 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Payload.ts';
4
- export * from './Query.ts';
5
- export * from './Schema.ts';
6
- //# sourceMappingURL=index.d.ts.map
1
+ import { Address, Hash } from '@xylabs/hex';
2
+ import { DivinerConfig, DivinerParams } from '@xyo-network/diviner-model';
3
+ import { AnyConfigSchema } from '@xyo-network/module-model';
4
+ import { Payload, Query, PayloadFindFilter } from '@xyo-network/payload-model';
5
+
6
+ type AddressChainSchema = 'network.xyo.diviner.address.chain';
7
+ declare const AddressChainSchema: AddressChainSchema;
8
+ type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
9
+ declare const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema;
10
+ type AddressChainQuerySchema = `${AddressChainSchema}.query`;
11
+ declare const AddressChainQuerySchema: AddressChainQuerySchema;
12
+
13
+ type AddressChainDivinerConfig = DivinerConfig<{
14
+ address?: Address;
15
+ maxResults?: number;
16
+ schema: AddressChainDivinerConfigSchema;
17
+ startHash?: Hash;
18
+ }>;
19
+
20
+ type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>;
21
+
22
+ type AddressChainPayload = Payload<{
23
+ schema: AddressChainSchema;
24
+ }>;
25
+ declare const isAddressChainPayload: (x?: Payload | null) => x is AddressChainPayload;
26
+
27
+ type AddressChainQueryPayload = Query<{
28
+ schema: AddressChainQuerySchema;
29
+ } & PayloadFindFilter>;
30
+ declare const isAddressChainQueryPayload: (x?: Payload | null) => x is AddressChainQueryPayload;
31
+
32
+ export { type AddressChainDivinerConfig, AddressChainDivinerConfigSchema, type AddressChainDivinerParams, type AddressChainPayload, type AddressChainQueryPayload, AddressChainQuerySchema, AddressChainSchema, isAddressChainPayload, isAddressChainQueryPayload };
package/package.json CHANGED
@@ -10,45 +10,26 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xylabs/hex": "^3.6.12",
14
- "@xyo-network/diviner-model": "^2.111.3",
15
- "@xyo-network/module-model": "^2.111.3",
16
- "@xyo-network/payload-model": "^2.111.3"
13
+ "@xylabs/hex": "^4.0.0",
14
+ "@xyo-network/diviner-model": "^3.0.1",
15
+ "@xyo-network/module-model": "^3.0.1",
16
+ "@xyo-network/payload-model": "^3.0.1"
17
17
  },
18
18
  "devDependencies": {
19
- "@xylabs/ts-scripts-yarn3": "^3.15.14",
20
- "@xylabs/tsconfig": "^3.15.14",
19
+ "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.15",
20
+ "@xylabs/tsconfig": "^4.0.0-rc.15",
21
21
  "typescript": "^5.5.4"
22
22
  },
23
23
  "description": "Primary SDK for using XYO Protocol 2.0",
24
- "types": "dist/node/index.d.ts",
24
+ "types": "dist/neutral/index.d.ts",
25
25
  "exports": {
26
26
  ".": {
27
- "browser": {
28
- "require": {
29
- "types": "./dist/browser/index.d.cts",
30
- "default": "./dist/browser/index.cjs"
31
- },
32
- "import": {
33
- "types": "./dist/browser/index.d.mts",
34
- "default": "./dist/browser/index.mjs"
35
- }
36
- },
37
- "node": {
38
- "require": {
39
- "types": "./dist/node/index.d.cts",
40
- "default": "./dist/node/index.cjs"
41
- },
42
- "import": {
43
- "types": "./dist/node/index.d.mts",
44
- "default": "./dist/node/index.mjs"
45
- }
46
- }
27
+ "types": "./dist/neutral/index.d.ts",
28
+ "default": "./dist/neutral/index.mjs"
47
29
  },
48
30
  "./package.json": "./package.json"
49
31
  },
50
- "main": "dist/node/index.cjs",
51
- "module": "dist/node/index.mjs",
32
+ "module": "dist/neutral/index.mjs",
52
33
  "homepage": "https://xyo.network",
53
34
  "license": "LGPL-3.0-only",
54
35
  "publishConfig": {
@@ -59,6 +40,6 @@
59
40
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
60
41
  },
61
42
  "sideEffects": false,
62
- "version": "2.111.3",
43
+ "version": "3.0.1",
63
44
  "type": "module"
64
45
  }
package/xy.config.ts ADDED
@@ -0,0 +1,12 @@
1
+ import { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
2
+ const config: XyTsupConfig = {
3
+ compile: {
4
+ browser: {},
5
+ neutral: {
6
+ src: true,
7
+ },
8
+ node: {},
9
+ },
10
+ }
11
+
12
+ export default config
@@ -1,10 +0,0 @@
1
- import { Address, Hash } from '@xylabs/hex';
2
- import { DivinerConfig } from '@xyo-network/diviner-model';
3
- import { AddressChainDivinerConfigSchema } from './Schema.ts';
4
- export type AddressChainDivinerConfig = DivinerConfig<{
5
- address?: Address;
6
- maxResults?: number;
7
- schema: AddressChainDivinerConfigSchema;
8
- startHash?: Hash;
9
- }>;
10
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,aAAa,CAAA;AAE7D,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACpD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,+BAA+B,CAAA;IACvC,SAAS,CAAC,EAAE,IAAI,CAAA;CACjB,CAAC,CAAA"}
@@ -1,10 +0,0 @@
1
- import { Address, Hash } from '@xylabs/hex';
2
- import { DivinerConfig } from '@xyo-network/diviner-model';
3
- import { AddressChainDivinerConfigSchema } from './Schema.ts';
4
- export type AddressChainDivinerConfig = DivinerConfig<{
5
- address?: Address;
6
- maxResults?: number;
7
- schema: AddressChainDivinerConfigSchema;
8
- startHash?: Hash;
9
- }>;
10
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,aAAa,CAAA;AAE7D,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACpD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,+BAA+B,CAAA;IACvC,SAAS,CAAC,EAAE,IAAI,CAAA;CACjB,CAAC,CAAA"}
@@ -1,10 +0,0 @@
1
- import { Address, Hash } from '@xylabs/hex';
2
- import { DivinerConfig } from '@xyo-network/diviner-model';
3
- import { AddressChainDivinerConfigSchema } from './Schema.ts';
4
- export type AddressChainDivinerConfig = DivinerConfig<{
5
- address?: Address;
6
- maxResults?: number;
7
- schema: AddressChainDivinerConfigSchema;
8
- startHash?: Hash;
9
- }>;
10
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,aAAa,CAAA;AAE7D,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACpD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,+BAA+B,CAAA;IACvC,SAAS,CAAC,EAAE,IAAI,CAAA;CACjB,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { AddressChainDivinerConfig } from './Config.ts';
4
- export type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AAEvD,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,eAAe,CAAC,yBAAyB,CAAC,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { AddressChainDivinerConfig } from './Config.ts';
4
- export type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AAEvD,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,eAAe,CAAC,yBAAyB,CAAC,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { AddressChainDivinerConfig } from './Config.ts';
4
- export type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AAEvD,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,eAAe,CAAC,yBAAyB,CAAC,CAAC,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload } from '@xyo-network/payload-model';
2
- import { AddressChainSchema } from './Schema.ts';
3
- export type AddressChainPayload = Payload<{
4
- schema: AddressChainSchema;
5
- }>;
6
- export declare const isAddressChainPayload: (x?: Payload | null) => x is AddressChainPayload;
7
- //# sourceMappingURL=Payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;IAAE,MAAM,EAAE,kBAAkB,CAAA;CAAE,CAAC,CAAA;AACzE,eAAO,MAAM,qBAAqB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,mBAAuD,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload } from '@xyo-network/payload-model';
2
- import { AddressChainSchema } from './Schema.ts';
3
- export type AddressChainPayload = Payload<{
4
- schema: AddressChainSchema;
5
- }>;
6
- export declare const isAddressChainPayload: (x?: Payload | null) => x is AddressChainPayload;
7
- //# sourceMappingURL=Payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;IAAE,MAAM,EAAE,kBAAkB,CAAA;CAAE,CAAC,CAAA;AACzE,eAAO,MAAM,qBAAqB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,mBAAuD,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload } from '@xyo-network/payload-model';
2
- import { AddressChainSchema } from './Schema.ts';
3
- export type AddressChainPayload = Payload<{
4
- schema: AddressChainSchema;
5
- }>;
6
- export declare const isAddressChainPayload: (x?: Payload | null) => x is AddressChainPayload;
7
- //# sourceMappingURL=Payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;IAAE,MAAM,EAAE,kBAAkB,CAAA;CAAE,CAAC,CAAA;AACzE,eAAO,MAAM,qBAAqB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,mBAAuD,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model';
2
- import { AddressChainQuerySchema } from './Schema.ts';
3
- export type AddressChainQueryPayload = Query<{
4
- schema: AddressChainQuerySchema;
5
- } & PayloadFindFilter>;
6
- export declare const isAddressChainQueryPayload: (x?: Payload | null) => x is AddressChainQueryPayload;
7
- //# sourceMappingURL=Query.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,uBAAuB,CAAA;CAAE,GAAG,iBAAiB,CAAC,CAAA;AACrG,eAAO,MAAM,0BAA0B,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,wBAAiE,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model';
2
- import { AddressChainQuerySchema } from './Schema.ts';
3
- export type AddressChainQueryPayload = Query<{
4
- schema: AddressChainQuerySchema;
5
- } & PayloadFindFilter>;
6
- export declare const isAddressChainQueryPayload: (x?: Payload | null) => x is AddressChainQueryPayload;
7
- //# sourceMappingURL=Query.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,uBAAuB,CAAA;CAAE,GAAG,iBAAiB,CAAC,CAAA;AACrG,eAAO,MAAM,0BAA0B,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,wBAAiE,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model';
2
- import { AddressChainQuerySchema } from './Schema.ts';
3
- export type AddressChainQueryPayload = Query<{
4
- schema: AddressChainQuerySchema;
5
- } & PayloadFindFilter>;
6
- export declare const isAddressChainQueryPayload: (x?: Payload | null) => x is AddressChainQueryPayload;
7
- //# sourceMappingURL=Query.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,uBAAuB,CAAA;CAAE,GAAG,iBAAiB,CAAC,CAAA;AACrG,eAAO,MAAM,0BAA0B,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,wBAAiE,CAAA"}
@@ -1,7 +0,0 @@
1
- export type AddressChainSchema = 'network.xyo.diviner.address.chain';
2
- export declare const AddressChainSchema: AddressChainSchema;
3
- export type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
4
- export declare const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema;
5
- export type AddressChainQuerySchema = `${AddressChainSchema}.query`;
6
- export declare const AddressChainQuerySchema: AddressChainQuerySchema;
7
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,mCAAmC,CAAA;AACpE,eAAO,MAAM,kBAAkB,EAAE,kBAAwD,CAAA;AAEzF,MAAM,MAAM,+BAA+B,GAAG,GAAG,kBAAkB,SAAS,CAAA;AAC5E,eAAO,MAAM,+BAA+B,EAAE,+BAAgE,CAAA;AAE9G,MAAM,MAAM,uBAAuB,GAAG,GAAG,kBAAkB,QAAQ,CAAA;AACnE,eAAO,MAAM,uBAAuB,EAAE,uBAAuD,CAAA"}
@@ -1,7 +0,0 @@
1
- export type AddressChainSchema = 'network.xyo.diviner.address.chain';
2
- export declare const AddressChainSchema: AddressChainSchema;
3
- export type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
4
- export declare const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema;
5
- export type AddressChainQuerySchema = `${AddressChainSchema}.query`;
6
- export declare const AddressChainQuerySchema: AddressChainQuerySchema;
7
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,mCAAmC,CAAA;AACpE,eAAO,MAAM,kBAAkB,EAAE,kBAAwD,CAAA;AAEzF,MAAM,MAAM,+BAA+B,GAAG,GAAG,kBAAkB,SAAS,CAAA;AAC5E,eAAO,MAAM,+BAA+B,EAAE,+BAAgE,CAAA;AAE9G,MAAM,MAAM,uBAAuB,GAAG,GAAG,kBAAkB,QAAQ,CAAA;AACnE,eAAO,MAAM,uBAAuB,EAAE,uBAAuD,CAAA"}
@@ -1,7 +0,0 @@
1
- export type AddressChainSchema = 'network.xyo.diviner.address.chain';
2
- export declare const AddressChainSchema: AddressChainSchema;
3
- export type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
4
- export declare const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema;
5
- export type AddressChainQuerySchema = `${AddressChainSchema}.query`;
6
- export declare const AddressChainQuerySchema: AddressChainQuerySchema;
7
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,mCAAmC,CAAA;AACpE,eAAO,MAAM,kBAAkB,EAAE,kBAAwD,CAAA;AAEzF,MAAM,MAAM,+BAA+B,GAAG,GAAG,kBAAkB,SAAS,CAAA;AAC5E,eAAO,MAAM,+BAA+B,EAAE,+BAAgE,CAAA;AAE9G,MAAM,MAAM,uBAAuB,GAAG,GAAG,kBAAkB,QAAQ,CAAA;AACnE,eAAO,MAAM,uBAAuB,EAAE,uBAAuD,CAAA"}
@@ -1,42 +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 __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
- AddressChainDivinerConfigSchema: () => AddressChainDivinerConfigSchema,
25
- AddressChainQuerySchema: () => AddressChainQuerySchema,
26
- AddressChainSchema: () => AddressChainSchema,
27
- isAddressChainPayload: () => isAddressChainPayload,
28
- isAddressChainQueryPayload: () => isAddressChainQueryPayload
29
- });
30
- module.exports = __toCommonJS(src_exports);
31
-
32
- // src/Schema.ts
33
- var AddressChainSchema = "network.xyo.diviner.address.chain";
34
- var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
35
- var AddressChainQuerySchema = `${AddressChainSchema}.query`;
36
-
37
- // src/Payload.ts
38
- var isAddressChainPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressChainSchema, "isAddressChainPayload");
39
-
40
- // src/Query.ts
41
- var isAddressChainQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressChainQuerySchema, "isAddressChainQueryPayload");
42
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export * from './Config.ts'\nexport * from './Params.ts'\nexport * from './Payload.ts'\nexport * from './Query.ts'\nexport * from './Schema.ts'\n","export type AddressChainSchema = 'network.xyo.diviner.address.chain'\nexport const AddressChainSchema: AddressChainSchema = 'network.xyo.diviner.address.chain'\n\nexport type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\nexport const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\n\nexport type AddressChainQuerySchema = `${AddressChainSchema}.query`\nexport const AddressChainQuerySchema: AddressChainQuerySchema = `${AddressChainSchema}.query`\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { AddressChainSchema } from './Schema.ts'\n\nexport type AddressChainPayload = Payload<{ schema: AddressChainSchema }>\nexport const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema\n","import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nimport { AddressChainQuerySchema } from './Schema.ts'\n\nexport type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & PayloadFindFilter>\nexport const isAddressChainQueryPayload = (x?: Payload | null): x is AddressChainQueryPayload => x?.schema === AddressChainQuerySchema\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;ACCO,IAAMA,qBAAyC;AAG/C,IAAMC,kCAAmE,GAAGD,kBAAAA;AAG5E,IAAME,0BAAmD,GAAGF,kBAAAA;;;ACF5D,IAAMG,wBAAwB,wBAACC,MAAiDA,GAAGC,WAAWC,oBAAhE;;;ACA9B,IAAMC,6BAA6B,wBAACC,MAAsDA,GAAGC,WAAWC,yBAArE;","names":["AddressChainSchema","AddressChainDivinerConfigSchema","AddressChainQuerySchema","isAddressChainPayload","x","schema","AddressChainSchema","isAddressChainQueryPayload","x","schema","AddressChainQuerySchema"]}
@@ -1,6 +0,0 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Payload.ts';
4
- export * from './Query.ts';
5
- export * from './Schema.ts';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
@@ -1,6 +0,0 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Payload.ts';
4
- export * from './Query.ts';
5
- export * from './Schema.ts';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
@@ -1,6 +0,0 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Payload.ts';
4
- export * from './Query.ts';
5
- export * from './Schema.ts';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
@@ -1,21 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
-
4
- // src/Schema.ts
5
- var AddressChainSchema = "network.xyo.diviner.address.chain";
6
- var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
7
- var AddressChainQuerySchema = `${AddressChainSchema}.query`;
8
-
9
- // src/Payload.ts
10
- var isAddressChainPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressChainSchema, "isAddressChainPayload");
11
-
12
- // src/Query.ts
13
- var isAddressChainQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressChainQuerySchema, "isAddressChainQueryPayload");
14
- export {
15
- AddressChainDivinerConfigSchema,
16
- AddressChainQuerySchema,
17
- AddressChainSchema,
18
- isAddressChainPayload,
19
- isAddressChainQueryPayload
20
- };
21
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/Schema.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type AddressChainSchema = 'network.xyo.diviner.address.chain'\nexport const AddressChainSchema: AddressChainSchema = 'network.xyo.diviner.address.chain'\n\nexport type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\nexport const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\n\nexport type AddressChainQuerySchema = `${AddressChainSchema}.query`\nexport const AddressChainQuerySchema: AddressChainQuerySchema = `${AddressChainSchema}.query`\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { AddressChainSchema } from './Schema.ts'\n\nexport type AddressChainPayload = Payload<{ schema: AddressChainSchema }>\nexport const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema\n","import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nimport { AddressChainQuerySchema } from './Schema.ts'\n\nexport type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & PayloadFindFilter>\nexport const isAddressChainQueryPayload = (x?: Payload | null): x is AddressChainQueryPayload => x?.schema === AddressChainQuerySchema\n"],"mappings":";;;;AACO,IAAMA,qBAAyC;AAG/C,IAAMC,kCAAmE,GAAGD,kBAAAA;AAG5E,IAAME,0BAAmD,GAAGF,kBAAAA;;;ACF5D,IAAMG,wBAAwB,wBAACC,MAAiDA,GAAGC,WAAWC,oBAAhE;;;ACA9B,IAAMC,6BAA6B,wBAACC,MAAsDA,GAAGC,WAAWC,yBAArE;","names":["AddressChainSchema","AddressChainDivinerConfigSchema","AddressChainQuerySchema","isAddressChainPayload","x","schema","AddressChainSchema","isAddressChainQueryPayload","x","schema","AddressChainQuerySchema"]}
@@ -1,10 +0,0 @@
1
- import { Address, Hash } from '@xylabs/hex';
2
- import { DivinerConfig } from '@xyo-network/diviner-model';
3
- import { AddressChainDivinerConfigSchema } from './Schema.ts';
4
- export type AddressChainDivinerConfig = DivinerConfig<{
5
- address?: Address;
6
- maxResults?: number;
7
- schema: AddressChainDivinerConfigSchema;
8
- startHash?: Hash;
9
- }>;
10
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,aAAa,CAAA;AAE7D,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACpD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,+BAA+B,CAAA;IACvC,SAAS,CAAC,EAAE,IAAI,CAAA;CACjB,CAAC,CAAA"}
@@ -1,10 +0,0 @@
1
- import { Address, Hash } from '@xylabs/hex';
2
- import { DivinerConfig } from '@xyo-network/diviner-model';
3
- import { AddressChainDivinerConfigSchema } from './Schema.ts';
4
- export type AddressChainDivinerConfig = DivinerConfig<{
5
- address?: Address;
6
- maxResults?: number;
7
- schema: AddressChainDivinerConfigSchema;
8
- startHash?: Hash;
9
- }>;
10
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,aAAa,CAAA;AAE7D,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACpD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,+BAA+B,CAAA;IACvC,SAAS,CAAC,EAAE,IAAI,CAAA;CACjB,CAAC,CAAA"}
@@ -1,10 +0,0 @@
1
- import { Address, Hash } from '@xylabs/hex';
2
- import { DivinerConfig } from '@xyo-network/diviner-model';
3
- import { AddressChainDivinerConfigSchema } from './Schema.ts';
4
- export type AddressChainDivinerConfig = DivinerConfig<{
5
- address?: Address;
6
- maxResults?: number;
7
- schema: AddressChainDivinerConfigSchema;
8
- startHash?: Hash;
9
- }>;
10
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,aAAa,CAAA;AAE7D,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACpD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,+BAA+B,CAAA;IACvC,SAAS,CAAC,EAAE,IAAI,CAAA;CACjB,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { AddressChainDivinerConfig } from './Config.ts';
4
- export type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AAEvD,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,eAAe,CAAC,yBAAyB,CAAC,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { AddressChainDivinerConfig } from './Config.ts';
4
- export type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AAEvD,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,eAAe,CAAC,yBAAyB,CAAC,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { AddressChainDivinerConfig } from './Config.ts';
4
- export type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AAEvD,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,eAAe,CAAC,yBAAyB,CAAC,CAAC,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload } from '@xyo-network/payload-model';
2
- import { AddressChainSchema } from './Schema.ts';
3
- export type AddressChainPayload = Payload<{
4
- schema: AddressChainSchema;
5
- }>;
6
- export declare const isAddressChainPayload: (x?: Payload | null) => x is AddressChainPayload;
7
- //# sourceMappingURL=Payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;IAAE,MAAM,EAAE,kBAAkB,CAAA;CAAE,CAAC,CAAA;AACzE,eAAO,MAAM,qBAAqB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,mBAAuD,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload } from '@xyo-network/payload-model';
2
- import { AddressChainSchema } from './Schema.ts';
3
- export type AddressChainPayload = Payload<{
4
- schema: AddressChainSchema;
5
- }>;
6
- export declare const isAddressChainPayload: (x?: Payload | null) => x is AddressChainPayload;
7
- //# sourceMappingURL=Payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;IAAE,MAAM,EAAE,kBAAkB,CAAA;CAAE,CAAC,CAAA;AACzE,eAAO,MAAM,qBAAqB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,mBAAuD,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload } from '@xyo-network/payload-model';
2
- import { AddressChainSchema } from './Schema.ts';
3
- export type AddressChainPayload = Payload<{
4
- schema: AddressChainSchema;
5
- }>;
6
- export declare const isAddressChainPayload: (x?: Payload | null) => x is AddressChainPayload;
7
- //# sourceMappingURL=Payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;IAAE,MAAM,EAAE,kBAAkB,CAAA;CAAE,CAAC,CAAA;AACzE,eAAO,MAAM,qBAAqB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,mBAAuD,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model';
2
- import { AddressChainQuerySchema } from './Schema.ts';
3
- export type AddressChainQueryPayload = Query<{
4
- schema: AddressChainQuerySchema;
5
- } & PayloadFindFilter>;
6
- export declare const isAddressChainQueryPayload: (x?: Payload | null) => x is AddressChainQueryPayload;
7
- //# sourceMappingURL=Query.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,uBAAuB,CAAA;CAAE,GAAG,iBAAiB,CAAC,CAAA;AACrG,eAAO,MAAM,0BAA0B,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,wBAAiE,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model';
2
- import { AddressChainQuerySchema } from './Schema.ts';
3
- export type AddressChainQueryPayload = Query<{
4
- schema: AddressChainQuerySchema;
5
- } & PayloadFindFilter>;
6
- export declare const isAddressChainQueryPayload: (x?: Payload | null) => x is AddressChainQueryPayload;
7
- //# sourceMappingURL=Query.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,uBAAuB,CAAA;CAAE,GAAG,iBAAiB,CAAC,CAAA;AACrG,eAAO,MAAM,0BAA0B,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,wBAAiE,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model';
2
- import { AddressChainQuerySchema } from './Schema.ts';
3
- export type AddressChainQueryPayload = Query<{
4
- schema: AddressChainQuerySchema;
5
- } & PayloadFindFilter>;
6
- export declare const isAddressChainQueryPayload: (x?: Payload | null) => x is AddressChainQueryPayload;
7
- //# sourceMappingURL=Query.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,uBAAuB,CAAA;CAAE,GAAG,iBAAiB,CAAC,CAAA;AACrG,eAAO,MAAM,0BAA0B,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,wBAAiE,CAAA"}
@@ -1,7 +0,0 @@
1
- export type AddressChainSchema = 'network.xyo.diviner.address.chain';
2
- export declare const AddressChainSchema: AddressChainSchema;
3
- export type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
4
- export declare const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema;
5
- export type AddressChainQuerySchema = `${AddressChainSchema}.query`;
6
- export declare const AddressChainQuerySchema: AddressChainQuerySchema;
7
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,mCAAmC,CAAA;AACpE,eAAO,MAAM,kBAAkB,EAAE,kBAAwD,CAAA;AAEzF,MAAM,MAAM,+BAA+B,GAAG,GAAG,kBAAkB,SAAS,CAAA;AAC5E,eAAO,MAAM,+BAA+B,EAAE,+BAAgE,CAAA;AAE9G,MAAM,MAAM,uBAAuB,GAAG,GAAG,kBAAkB,QAAQ,CAAA;AACnE,eAAO,MAAM,uBAAuB,EAAE,uBAAuD,CAAA"}
@@ -1,7 +0,0 @@
1
- export type AddressChainSchema = 'network.xyo.diviner.address.chain';
2
- export declare const AddressChainSchema: AddressChainSchema;
3
- export type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
4
- export declare const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema;
5
- export type AddressChainQuerySchema = `${AddressChainSchema}.query`;
6
- export declare const AddressChainQuerySchema: AddressChainQuerySchema;
7
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,mCAAmC,CAAA;AACpE,eAAO,MAAM,kBAAkB,EAAE,kBAAwD,CAAA;AAEzF,MAAM,MAAM,+BAA+B,GAAG,GAAG,kBAAkB,SAAS,CAAA;AAC5E,eAAO,MAAM,+BAA+B,EAAE,+BAAgE,CAAA;AAE9G,MAAM,MAAM,uBAAuB,GAAG,GAAG,kBAAkB,QAAQ,CAAA;AACnE,eAAO,MAAM,uBAAuB,EAAE,uBAAuD,CAAA"}
@@ -1,7 +0,0 @@
1
- export type AddressChainSchema = 'network.xyo.diviner.address.chain';
2
- export declare const AddressChainSchema: AddressChainSchema;
3
- export type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
4
- export declare const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema;
5
- export type AddressChainQuerySchema = `${AddressChainSchema}.query`;
6
- export declare const AddressChainQuerySchema: AddressChainQuerySchema;
7
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,mCAAmC,CAAA;AACpE,eAAO,MAAM,kBAAkB,EAAE,kBAAwD,CAAA;AAEzF,MAAM,MAAM,+BAA+B,GAAG,GAAG,kBAAkB,SAAS,CAAA;AAC5E,eAAO,MAAM,+BAA+B,EAAE,+BAAgE,CAAA;AAE9G,MAAM,MAAM,uBAAuB,GAAG,GAAG,kBAAkB,QAAQ,CAAA;AACnE,eAAO,MAAM,uBAAuB,EAAE,uBAAuD,CAAA"}
@@ -1,42 +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 __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
- AddressChainDivinerConfigSchema: () => AddressChainDivinerConfigSchema,
25
- AddressChainQuerySchema: () => AddressChainQuerySchema,
26
- AddressChainSchema: () => AddressChainSchema,
27
- isAddressChainPayload: () => isAddressChainPayload,
28
- isAddressChainQueryPayload: () => isAddressChainQueryPayload
29
- });
30
- module.exports = __toCommonJS(src_exports);
31
-
32
- // src/Schema.ts
33
- var AddressChainSchema = "network.xyo.diviner.address.chain";
34
- var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
35
- var AddressChainQuerySchema = `${AddressChainSchema}.query`;
36
-
37
- // src/Payload.ts
38
- var isAddressChainPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressChainSchema, "isAddressChainPayload");
39
-
40
- // src/Query.ts
41
- var isAddressChainQueryPayload = /* @__PURE__ */ __name((x) => x?.schema === AddressChainQuerySchema, "isAddressChainQueryPayload");
42
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export * from './Config.ts'\nexport * from './Params.ts'\nexport * from './Payload.ts'\nexport * from './Query.ts'\nexport * from './Schema.ts'\n","export type AddressChainSchema = 'network.xyo.diviner.address.chain'\nexport const AddressChainSchema: AddressChainSchema = 'network.xyo.diviner.address.chain'\n\nexport type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\nexport const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\n\nexport type AddressChainQuerySchema = `${AddressChainSchema}.query`\nexport const AddressChainQuerySchema: AddressChainQuerySchema = `${AddressChainSchema}.query`\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { AddressChainSchema } from './Schema.ts'\n\nexport type AddressChainPayload = Payload<{ schema: AddressChainSchema }>\nexport const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema\n","import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nimport { AddressChainQuerySchema } from './Schema.ts'\n\nexport type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & PayloadFindFilter>\nexport const isAddressChainQueryPayload = (x?: Payload | null): x is AddressChainQueryPayload => x?.schema === AddressChainQuerySchema\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;ACCO,IAAMA,qBAAyC;AAG/C,IAAMC,kCAAmE,GAAGD,kBAAAA;AAG5E,IAAME,0BAAmD,GAAGF,kBAAAA;;;ACF5D,IAAMG,wBAAwB,wBAACC,MAAiDA,GAAGC,WAAWC,oBAAhE;;;ACA9B,IAAMC,6BAA6B,wBAACC,MAAsDA,GAAGC,WAAWC,yBAArE;","names":["AddressChainSchema","AddressChainDivinerConfigSchema","AddressChainQuerySchema","isAddressChainPayload","x","schema","AddressChainSchema","isAddressChainQueryPayload","x","schema","AddressChainQuerySchema"]}
@@ -1,6 +0,0 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Payload.ts';
4
- export * from './Query.ts';
5
- export * from './Schema.ts';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
@@ -1,6 +0,0 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Payload.ts';
4
- export * from './Query.ts';
5
- export * from './Schema.ts';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
@@ -1,10 +0,0 @@
1
- import { Address, Hash } from '@xylabs/hex';
2
- import { DivinerConfig } from '@xyo-network/diviner-model';
3
- import { AddressChainDivinerConfigSchema } from './Schema.ts';
4
- export type AddressChainDivinerConfig = DivinerConfig<{
5
- address?: Address;
6
- maxResults?: number;
7
- schema: AddressChainDivinerConfigSchema;
8
- startHash?: Hash;
9
- }>;
10
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,aAAa,CAAA;AAE7D,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACpD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,+BAA+B,CAAA;IACvC,SAAS,CAAC,EAAE,IAAI,CAAA;CACjB,CAAC,CAAA"}
@@ -1,10 +0,0 @@
1
- import { Address, Hash } from '@xylabs/hex';
2
- import { DivinerConfig } from '@xyo-network/diviner-model';
3
- import { AddressChainDivinerConfigSchema } from './Schema.ts';
4
- export type AddressChainDivinerConfig = DivinerConfig<{
5
- address?: Address;
6
- maxResults?: number;
7
- schema: AddressChainDivinerConfigSchema;
8
- startHash?: Hash;
9
- }>;
10
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,aAAa,CAAA;AAE7D,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACpD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,+BAA+B,CAAA;IACvC,SAAS,CAAC,EAAE,IAAI,CAAA;CACjB,CAAC,CAAA"}
@@ -1,10 +0,0 @@
1
- import { Address, Hash } from '@xylabs/hex';
2
- import { DivinerConfig } from '@xyo-network/diviner-model';
3
- import { AddressChainDivinerConfigSchema } from './Schema.ts';
4
- export type AddressChainDivinerConfig = DivinerConfig<{
5
- address?: Address;
6
- maxResults?: number;
7
- schema: AddressChainDivinerConfigSchema;
8
- startHash?: Hash;
9
- }>;
10
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,aAAa,CAAA;AAE7D,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACpD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,+BAA+B,CAAA;IACvC,SAAS,CAAC,EAAE,IAAI,CAAA;CACjB,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { AddressChainDivinerConfig } from './Config.ts';
4
- export type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AAEvD,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,eAAe,CAAC,yBAAyB,CAAC,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { AddressChainDivinerConfig } from './Config.ts';
4
- export type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AAEvD,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,eAAe,CAAC,yBAAyB,CAAC,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { DivinerParams } from '@xyo-network/diviner-model';
2
- import { AnyConfigSchema } from '@xyo-network/module-model';
3
- import { AddressChainDivinerConfig } from './Config.ts';
4
- export type AddressChainDivinerParams = DivinerParams<AnyConfigSchema<AddressChainDivinerConfig>>;
5
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AAEvD,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,eAAe,CAAC,yBAAyB,CAAC,CAAC,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload } from '@xyo-network/payload-model';
2
- import { AddressChainSchema } from './Schema.ts';
3
- export type AddressChainPayload = Payload<{
4
- schema: AddressChainSchema;
5
- }>;
6
- export declare const isAddressChainPayload: (x?: Payload | null) => x is AddressChainPayload;
7
- //# sourceMappingURL=Payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;IAAE,MAAM,EAAE,kBAAkB,CAAA;CAAE,CAAC,CAAA;AACzE,eAAO,MAAM,qBAAqB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,mBAAuD,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload } from '@xyo-network/payload-model';
2
- import { AddressChainSchema } from './Schema.ts';
3
- export type AddressChainPayload = Payload<{
4
- schema: AddressChainSchema;
5
- }>;
6
- export declare const isAddressChainPayload: (x?: Payload | null) => x is AddressChainPayload;
7
- //# sourceMappingURL=Payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;IAAE,MAAM,EAAE,kBAAkB,CAAA;CAAE,CAAC,CAAA;AACzE,eAAO,MAAM,qBAAqB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,mBAAuD,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload } from '@xyo-network/payload-model';
2
- import { AddressChainSchema } from './Schema.ts';
3
- export type AddressChainPayload = Payload<{
4
- schema: AddressChainSchema;
5
- }>;
6
- export declare const isAddressChainPayload: (x?: Payload | null) => x is AddressChainPayload;
7
- //# sourceMappingURL=Payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC;IAAE,MAAM,EAAE,kBAAkB,CAAA;CAAE,CAAC,CAAA;AACzE,eAAO,MAAM,qBAAqB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,mBAAuD,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model';
2
- import { AddressChainQuerySchema } from './Schema.ts';
3
- export type AddressChainQueryPayload = Query<{
4
- schema: AddressChainQuerySchema;
5
- } & PayloadFindFilter>;
6
- export declare const isAddressChainQueryPayload: (x?: Payload | null) => x is AddressChainQueryPayload;
7
- //# sourceMappingURL=Query.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,uBAAuB,CAAA;CAAE,GAAG,iBAAiB,CAAC,CAAA;AACrG,eAAO,MAAM,0BAA0B,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,wBAAiE,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model';
2
- import { AddressChainQuerySchema } from './Schema.ts';
3
- export type AddressChainQueryPayload = Query<{
4
- schema: AddressChainQuerySchema;
5
- } & PayloadFindFilter>;
6
- export declare const isAddressChainQueryPayload: (x?: Payload | null) => x is AddressChainQueryPayload;
7
- //# sourceMappingURL=Query.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,uBAAuB,CAAA;CAAE,GAAG,iBAAiB,CAAC,CAAA;AACrG,eAAO,MAAM,0BAA0B,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,wBAAiE,CAAA"}
@@ -1,7 +0,0 @@
1
- import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model';
2
- import { AddressChainQuerySchema } from './Schema.ts';
3
- export type AddressChainQueryPayload = Query<{
4
- schema: AddressChainQuerySchema;
5
- } & PayloadFindFilter>;
6
- export declare const isAddressChainQueryPayload: (x?: Payload | null) => x is AddressChainQueryPayload;
7
- //# sourceMappingURL=Query.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../src/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAE9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC;IAAE,MAAM,EAAE,uBAAuB,CAAA;CAAE,GAAG,iBAAiB,CAAC,CAAA;AACrG,eAAO,MAAM,0BAA0B,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,wBAAiE,CAAA"}
@@ -1,7 +0,0 @@
1
- export type AddressChainSchema = 'network.xyo.diviner.address.chain';
2
- export declare const AddressChainSchema: AddressChainSchema;
3
- export type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
4
- export declare const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema;
5
- export type AddressChainQuerySchema = `${AddressChainSchema}.query`;
6
- export declare const AddressChainQuerySchema: AddressChainQuerySchema;
7
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,mCAAmC,CAAA;AACpE,eAAO,MAAM,kBAAkB,EAAE,kBAAwD,CAAA;AAEzF,MAAM,MAAM,+BAA+B,GAAG,GAAG,kBAAkB,SAAS,CAAA;AAC5E,eAAO,MAAM,+BAA+B,EAAE,+BAAgE,CAAA;AAE9G,MAAM,MAAM,uBAAuB,GAAG,GAAG,kBAAkB,QAAQ,CAAA;AACnE,eAAO,MAAM,uBAAuB,EAAE,uBAAuD,CAAA"}
@@ -1,7 +0,0 @@
1
- export type AddressChainSchema = 'network.xyo.diviner.address.chain';
2
- export declare const AddressChainSchema: AddressChainSchema;
3
- export type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
4
- export declare const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema;
5
- export type AddressChainQuerySchema = `${AddressChainSchema}.query`;
6
- export declare const AddressChainQuerySchema: AddressChainQuerySchema;
7
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,mCAAmC,CAAA;AACpE,eAAO,MAAM,kBAAkB,EAAE,kBAAwD,CAAA;AAEzF,MAAM,MAAM,+BAA+B,GAAG,GAAG,kBAAkB,SAAS,CAAA;AAC5E,eAAO,MAAM,+BAA+B,EAAE,+BAAgE,CAAA;AAE9G,MAAM,MAAM,uBAAuB,GAAG,GAAG,kBAAkB,QAAQ,CAAA;AACnE,eAAO,MAAM,uBAAuB,EAAE,uBAAuD,CAAA"}
@@ -1,7 +0,0 @@
1
- export type AddressChainSchema = 'network.xyo.diviner.address.chain';
2
- export declare const AddressChainSchema: AddressChainSchema;
3
- export type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
4
- export declare const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema;
5
- export type AddressChainQuerySchema = `${AddressChainSchema}.query`;
6
- export declare const AddressChainQuerySchema: AddressChainQuerySchema;
7
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,mCAAmC,CAAA;AACpE,eAAO,MAAM,kBAAkB,EAAE,kBAAwD,CAAA;AAEzF,MAAM,MAAM,+BAA+B,GAAG,GAAG,kBAAkB,SAAS,CAAA;AAC5E,eAAO,MAAM,+BAA+B,EAAE,+BAAgE,CAAA;AAE9G,MAAM,MAAM,uBAAuB,GAAG,GAAG,kBAAkB,QAAQ,CAAA;AACnE,eAAO,MAAM,uBAAuB,EAAE,uBAAuD,CAAA"}
@@ -1,50 +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 __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
- AddressChainDivinerConfigSchema: () => AddressChainDivinerConfigSchema,
25
- AddressChainQuerySchema: () => AddressChainQuerySchema,
26
- AddressChainSchema: () => AddressChainSchema,
27
- isAddressChainPayload: () => isAddressChainPayload,
28
- isAddressChainQueryPayload: () => isAddressChainQueryPayload
29
- });
30
- module.exports = __toCommonJS(src_exports);
31
-
32
- // src/Schema.ts
33
- var AddressChainSchema = "network.xyo.diviner.address.chain";
34
- var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
35
- var AddressChainQuerySchema = `${AddressChainSchema}.query`;
36
-
37
- // src/Payload.ts
38
- var isAddressChainPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === AddressChainSchema, "isAddressChainPayload");
39
-
40
- // src/Query.ts
41
- var isAddressChainQueryPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === AddressChainQuerySchema, "isAddressChainQueryPayload");
42
- // Annotate the CommonJS export names for ESM import in node:
43
- 0 && (module.exports = {
44
- AddressChainDivinerConfigSchema,
45
- AddressChainQuerySchema,
46
- AddressChainSchema,
47
- isAddressChainPayload,
48
- isAddressChainQueryPayload
49
- });
50
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/index.ts","../../src/Schema.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export * from './Config.ts'\nexport * from './Params.ts'\nexport * from './Payload.ts'\nexport * from './Query.ts'\nexport * from './Schema.ts'\n","export type AddressChainSchema = 'network.xyo.diviner.address.chain'\nexport const AddressChainSchema: AddressChainSchema = 'network.xyo.diviner.address.chain'\n\nexport type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\nexport const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\n\nexport type AddressChainQuerySchema = `${AddressChainSchema}.query`\nexport const AddressChainQuerySchema: AddressChainQuerySchema = `${AddressChainSchema}.query`\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { AddressChainSchema } from './Schema.ts'\n\nexport type AddressChainPayload = Payload<{ schema: AddressChainSchema }>\nexport const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema\n","import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nimport { AddressChainQuerySchema } from './Schema.ts'\n\nexport type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & PayloadFindFilter>\nexport const isAddressChainQueryPayload = (x?: Payload | null): x is AddressChainQueryPayload => x?.schema === AddressChainQuerySchema\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;ACCO,IAAMA,qBAAyC;AAG/C,IAAMC,kCAAmE,GAAGD,kBAAAA;AAG5E,IAAME,0BAAmD,GAAGF,kBAAAA;;;ACF5D,IAAMG,wBAAwB,wBAACC,OAAiDA,uBAAGC,YAAWC,oBAAhE;;;ACA9B,IAAMC,6BAA6B,wBAACC,OAAsDA,uBAAGC,YAAWC,yBAArE;","names":["AddressChainSchema","AddressChainDivinerConfigSchema","AddressChainQuerySchema","isAddressChainPayload","x","schema","AddressChainSchema","isAddressChainQueryPayload","x","schema","AddressChainQuerySchema"]}
@@ -1,6 +0,0 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Payload.ts';
4
- export * from './Query.ts';
5
- export * from './Schema.ts';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
@@ -1,6 +0,0 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Payload.ts';
4
- export * from './Query.ts';
5
- export * from './Schema.ts';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
@@ -1,6 +0,0 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Payload.ts';
4
- export * from './Query.ts';
5
- export * from './Schema.ts';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
@@ -1,21 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
-
4
- // src/Schema.ts
5
- var AddressChainSchema = "network.xyo.diviner.address.chain";
6
- var AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`;
7
- var AddressChainQuerySchema = `${AddressChainSchema}.query`;
8
-
9
- // src/Payload.ts
10
- var isAddressChainPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === AddressChainSchema, "isAddressChainPayload");
11
-
12
- // src/Query.ts
13
- var isAddressChainQueryPayload = /* @__PURE__ */ __name((x) => (x == null ? void 0 : x.schema) === AddressChainQuerySchema, "isAddressChainQueryPayload");
14
- export {
15
- AddressChainDivinerConfigSchema,
16
- AddressChainQuerySchema,
17
- AddressChainSchema,
18
- isAddressChainPayload,
19
- isAddressChainQueryPayload
20
- };
21
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/Schema.ts","../../src/Payload.ts","../../src/Query.ts"],"sourcesContent":["export type AddressChainSchema = 'network.xyo.diviner.address.chain'\nexport const AddressChainSchema: AddressChainSchema = 'network.xyo.diviner.address.chain'\n\nexport type AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\nexport const AddressChainDivinerConfigSchema: AddressChainDivinerConfigSchema = `${AddressChainSchema}.config`\n\nexport type AddressChainQuerySchema = `${AddressChainSchema}.query`\nexport const AddressChainQuerySchema: AddressChainQuerySchema = `${AddressChainSchema}.query`\n","import { Payload } from '@xyo-network/payload-model'\n\nimport { AddressChainSchema } from './Schema.ts'\n\nexport type AddressChainPayload = Payload<{ schema: AddressChainSchema }>\nexport const isAddressChainPayload = (x?: Payload | null): x is AddressChainPayload => x?.schema === AddressChainSchema\n","import { Payload, PayloadFindFilter, Query } from '@xyo-network/payload-model'\n\nimport { AddressChainQuerySchema } from './Schema.ts'\n\nexport type AddressChainQueryPayload = Query<{ schema: AddressChainQuerySchema } & PayloadFindFilter>\nexport const isAddressChainQueryPayload = (x?: Payload | null): x is AddressChainQueryPayload => x?.schema === AddressChainQuerySchema\n"],"mappings":";;;;AACO,IAAMA,qBAAyC;AAG/C,IAAMC,kCAAmE,GAAGD,kBAAAA;AAG5E,IAAME,0BAAmD,GAAGF,kBAAAA;;;ACF5D,IAAMG,wBAAwB,wBAACC,OAAiDA,uBAAGC,YAAWC,oBAAhE;;;ACA9B,IAAMC,6BAA6B,wBAACC,OAAsDA,uBAAGC,YAAWC,yBAArE;","names":["AddressChainSchema","AddressChainDivinerConfigSchema","AddressChainQuerySchema","isAddressChainPayload","x","schema","AddressChainSchema","isAddressChainQueryPayload","x","schema","AddressChainQuerySchema"]}