@xyo-network/module-instance-payload-plugin 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/neutral/index.d.ts +21 -0
- package/dist/neutral/spec/Plugin.spec.d.ts +2 -0
- package/dist/neutral/spec/Plugin.spec.d.ts.map +1 -0
- package/package.json +8 -8
- package/dist/types/index.d.ts +0 -5
- /package/dist/{types → neutral}/Payload.d.ts +0 -0
- /package/dist/{types → neutral}/Payload.d.ts.map +0 -0
- /package/dist/{types → neutral}/Plugin.d.ts +0 -0
- /package/dist/{types → neutral}/Plugin.d.ts.map +0 -0
- /package/dist/{types → neutral}/Schema.d.ts +0 -0
- /package/dist/{types → neutral}/Schema.d.ts.map +0 -0
- /package/dist/{types → neutral}/Template.d.ts +0 -0
- /package/dist/{types → neutral}/Template.d.ts.map +0 -0
- /package/dist/{types → neutral}/index.d.ts.map +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
import * as _xyo_network_payload_plugin from '@xyo-network/payload-plugin';
|
|
3
|
+
|
|
4
|
+
type AbstractModuleInstanceSchema = 'network.xyo.module.instance';
|
|
5
|
+
declare const AbstractModuleInstanceSchema: AbstractModuleInstanceSchema;
|
|
6
|
+
|
|
7
|
+
interface AbstractModuleInstanceQueryConfig {
|
|
8
|
+
cost?: string;
|
|
9
|
+
}
|
|
10
|
+
type AbstractModuleInstancePayload = Payload<{
|
|
11
|
+
address: string;
|
|
12
|
+
queries?: Record<string, AbstractModuleInstanceQueryConfig>;
|
|
13
|
+
schema: AbstractModuleInstanceSchema;
|
|
14
|
+
}>;
|
|
15
|
+
|
|
16
|
+
declare const ModuleInstancePayloadPlugin: () => _xyo_network_payload_plugin.PayloadPlugin<AbstractModuleInstancePayload>;
|
|
17
|
+
|
|
18
|
+
declare const moduleInstancePayloadTemplate: () => Partial<AbstractModuleInstancePayload>;
|
|
19
|
+
|
|
20
|
+
export { AbstractModuleInstanceSchema, ModuleInstancePayloadPlugin, ModuleInstancePayloadPlugin as default, moduleInstancePayloadTemplate };
|
|
21
|
+
export type { AbstractModuleInstancePayload, AbstractModuleInstanceQueryConfig };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plugin.spec.d.ts","sourceRoot":"","sources":["../../../src/spec/Plugin.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/module-instance-payload-plugin",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Contains the information about a module instance",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -21,21 +21,21 @@
|
|
|
21
21
|
"type": "module",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
|
-
"types": "./dist/
|
|
24
|
+
"types": "./dist/neutral/index.d.ts",
|
|
25
25
|
"default": "./dist/neutral/index.mjs"
|
|
26
26
|
},
|
|
27
27
|
"./package.json": "./package.json"
|
|
28
28
|
},
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
|
-
"types": "dist/
|
|
30
|
+
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xyo-network/payload-model": "^4.
|
|
33
|
-
"@xyo-network/payload-plugin": "^4.
|
|
32
|
+
"@xyo-network/payload-model": "^4.1.1",
|
|
33
|
+
"@xyo-network/payload-plugin": "^4.1.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
37
|
-
"@xylabs/tsconfig": "^
|
|
38
|
-
"@xylabs/vitest-extended": "^4.
|
|
36
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.24",
|
|
37
|
+
"@xylabs/tsconfig": "^7.0.0-rc.24",
|
|
38
|
+
"@xylabs/vitest-extended": "^4.13.15",
|
|
39
39
|
"knip": "^5.61.3",
|
|
40
40
|
"typescript": "^5.8.3",
|
|
41
41
|
"vitest": "^3.2.4"
|
package/dist/types/index.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|