@xyo-network/schema-plugin 2.73.4 → 2.74.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/Plugin.d.mts +54 -0
- package/dist/Plugin.d.mts.map +1 -0
- package/dist/Plugin.d.ts +54 -0
- package/dist/Plugin.d.ts.map +1 -0
- package/dist/Witness.d.mts +15 -0
- package/dist/Witness.d.mts.map +1 -0
- package/dist/Witness.d.ts +15 -0
- package/dist/Witness.d.ts.map +1 -0
- package/dist/index.d.mts +5 -76
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +5 -76
- package/dist/index.d.ts.map +1 -0
- package/package.json +9 -15
- package/dist/docs.json +0 -23198
- package/tsup.config.ts +0 -16
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { SchemaWitness } from './Witness';
|
|
2
|
+
export declare const SchemaPlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<SchemaWitness<import("@xyo-network/core").BaseParamsFields & {
|
|
3
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
4
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
5
|
+
accountDerivationPath?: string | undefined;
|
|
6
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
7
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
8
|
+
readonly name?: string | undefined;
|
|
9
|
+
readonly paging?: Record<string, {
|
|
10
|
+
size?: number | undefined;
|
|
11
|
+
}> | undefined;
|
|
12
|
+
readonly security?: {
|
|
13
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
14
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
15
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
readonly sign?: boolean | undefined;
|
|
18
|
+
readonly storeQueries?: boolean | undefined;
|
|
19
|
+
readonly timestamp?: boolean | undefined;
|
|
20
|
+
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
21
|
+
accountDerivationPath?: string | undefined;
|
|
22
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
23
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
24
|
+
readonly name?: string | undefined;
|
|
25
|
+
readonly paging?: Record<string, {
|
|
26
|
+
size?: number | undefined;
|
|
27
|
+
}> | undefined;
|
|
28
|
+
readonly security?: {
|
|
29
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
30
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
31
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
readonly sign?: boolean | undefined;
|
|
34
|
+
readonly storeQueries?: boolean | undefined;
|
|
35
|
+
readonly timestamp?: boolean | undefined;
|
|
36
|
+
} & {
|
|
37
|
+
archivist?: string | undefined;
|
|
38
|
+
schema: "network.xyo.schema.witness.config";
|
|
39
|
+
targetSet?: (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/payload-model").PayloadSet & {
|
|
40
|
+
schema: "network.xyo.payload.set";
|
|
41
|
+
}) | undefined;
|
|
42
|
+
} & {
|
|
43
|
+
schema: "network.xyo.schema.witness.config";
|
|
44
|
+
}, "schema"> & {
|
|
45
|
+
schema: "network.xyo.schema.witness.config";
|
|
46
|
+
}, "schema"> & {
|
|
47
|
+
schema: string;
|
|
48
|
+
}, "schema"> & {
|
|
49
|
+
schema: string;
|
|
50
|
+
};
|
|
51
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
52
|
+
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
53
|
+
}>>;
|
|
54
|
+
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAEzC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAStB,CAAA"}
|
package/dist/Plugin.d.ts
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { SchemaWitness } from './Witness';
|
|
2
|
+
export declare const SchemaPlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<SchemaWitness<import("@xyo-network/core").BaseParamsFields & {
|
|
3
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random" | undefined;
|
|
4
|
+
config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
5
|
+
accountDerivationPath?: string | undefined;
|
|
6
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
7
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
8
|
+
readonly name?: string | undefined;
|
|
9
|
+
readonly paging?: Record<string, {
|
|
10
|
+
size?: number | undefined;
|
|
11
|
+
}> | undefined;
|
|
12
|
+
readonly security?: {
|
|
13
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
14
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
15
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
readonly sign?: boolean | undefined;
|
|
18
|
+
readonly storeQueries?: boolean | undefined;
|
|
19
|
+
readonly timestamp?: boolean | undefined;
|
|
20
|
+
} & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<{
|
|
21
|
+
accountDerivationPath?: string | undefined;
|
|
22
|
+
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
23
|
+
readonly labels?: import("@xyo-network/module-model").Labels | undefined;
|
|
24
|
+
readonly name?: string | undefined;
|
|
25
|
+
readonly paging?: Record<string, {
|
|
26
|
+
size?: number | undefined;
|
|
27
|
+
}> | undefined;
|
|
28
|
+
readonly security?: {
|
|
29
|
+
readonly allowAnonymous?: boolean | undefined;
|
|
30
|
+
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
31
|
+
readonly disallowed?: Record<string, string[]> | undefined;
|
|
32
|
+
} | undefined;
|
|
33
|
+
readonly sign?: boolean | undefined;
|
|
34
|
+
readonly storeQueries?: boolean | undefined;
|
|
35
|
+
readonly timestamp?: boolean | undefined;
|
|
36
|
+
} & {
|
|
37
|
+
archivist?: string | undefined;
|
|
38
|
+
schema: "network.xyo.schema.witness.config";
|
|
39
|
+
targetSet?: (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/payload-model").PayloadSet & {
|
|
40
|
+
schema: "network.xyo.payload.set";
|
|
41
|
+
}) | undefined;
|
|
42
|
+
} & {
|
|
43
|
+
schema: "network.xyo.schema.witness.config";
|
|
44
|
+
}, "schema"> & {
|
|
45
|
+
schema: "network.xyo.schema.witness.config";
|
|
46
|
+
}, "schema"> & {
|
|
47
|
+
schema: string;
|
|
48
|
+
}, "schema"> & {
|
|
49
|
+
schema: string;
|
|
50
|
+
};
|
|
51
|
+
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
52
|
+
wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
|
|
53
|
+
}>>;
|
|
54
|
+
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAEzC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAStB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AnyConfigSchema } from '@xyo-network/module';
|
|
2
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
3
|
+
import { SchemaPayload } from '@xyo-network/schema-payload-plugin';
|
|
4
|
+
import { AbstractWitness, WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness';
|
|
5
|
+
export type SchemaWitnessConfigSchema = 'network.xyo.schema.witness.config';
|
|
6
|
+
export declare const SchemaWitnessConfigSchema: SchemaWitnessConfigSchema;
|
|
7
|
+
export type SchemaWitnessConfig = WitnessConfig<{
|
|
8
|
+
schema: SchemaWitnessConfigSchema;
|
|
9
|
+
}>;
|
|
10
|
+
export type SchemaWitnessParams = WitnessParams<AnyConfigSchema<SchemaWitnessConfig>>;
|
|
11
|
+
export declare class SchemaWitness<TParams extends SchemaWitnessParams = SchemaWitnessParams> extends AbstractWitness<TParams> implements WitnessModule {
|
|
12
|
+
static configSchemas: "network.xyo.schema.witness.config"[];
|
|
13
|
+
protected observeHandler(_payloads?: Payload[]): Promise<SchemaPayload[]>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=Witness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../src/Witness.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAClE,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEnG,MAAM,MAAM,yBAAyB,GAAG,mCAAmC,CAAA;AAC3E,eAAO,MAAM,yBAAyB,EAAE,yBAA+D,CAAA;AAEvG,MAAM,MAAM,mBAAmB,GAAG,aAAa,CAAC;IAAE,MAAM,EAAE,yBAAyB,CAAA;CAAE,CAAC,CAAA;AAEtF,MAAM,MAAM,mBAAmB,GAAG,aAAa,CAAC,eAAe,CAAC,mBAAmB,CAAC,CAAC,CAAA;AAErF,qBAAa,aAAa,CAAC,OAAO,SAAS,mBAAmB,GAAG,mBAAmB,CAAE,SAAQ,eAAe,CAAC,OAAO,CAAE,YAAW,aAAa;IAC7I,OAAgB,aAAa,wCAA8B;cAElC,cAAc,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;CAIzF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AnyConfigSchema } from '@xyo-network/module';
|
|
2
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
3
|
+
import { SchemaPayload } from '@xyo-network/schema-payload-plugin';
|
|
4
|
+
import { AbstractWitness, WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness';
|
|
5
|
+
export type SchemaWitnessConfigSchema = 'network.xyo.schema.witness.config';
|
|
6
|
+
export declare const SchemaWitnessConfigSchema: SchemaWitnessConfigSchema;
|
|
7
|
+
export type SchemaWitnessConfig = WitnessConfig<{
|
|
8
|
+
schema: SchemaWitnessConfigSchema;
|
|
9
|
+
}>;
|
|
10
|
+
export type SchemaWitnessParams = WitnessParams<AnyConfigSchema<SchemaWitnessConfig>>;
|
|
11
|
+
export declare class SchemaWitness<TParams extends SchemaWitnessParams = SchemaWitnessParams> extends AbstractWitness<TParams> implements WitnessModule {
|
|
12
|
+
static configSchemas: "network.xyo.schema.witness.config"[];
|
|
13
|
+
protected observeHandler(_payloads?: Payload[]): Promise<SchemaPayload[]>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=Witness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../src/Witness.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAClE,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEnG,MAAM,MAAM,yBAAyB,GAAG,mCAAmC,CAAA;AAC3E,eAAO,MAAM,yBAAyB,EAAE,yBAA+D,CAAA;AAEvG,MAAM,MAAM,mBAAmB,GAAG,aAAa,CAAC;IAAE,MAAM,EAAE,yBAAyB,CAAA;CAAE,CAAC,CAAA;AAEtF,MAAM,MAAM,mBAAmB,GAAG,aAAa,CAAC,eAAe,CAAC,mBAAmB,CAAC,CAAC,CAAA;AAErF,qBAAa,aAAa,CAAC,OAAO,SAAS,mBAAmB,GAAG,mBAAmB,CAAE,SAAQ,eAAe,CAAC,OAAO,CAAE,YAAW,aAAa;IAC7I,OAAgB,aAAa,wCAA8B;cAElC,cAAc,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;CAIzF"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,76 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import * as _xyo_network_account_model from '@xyo-network/account-model';
|
|
7
|
-
import * as _xyo_network_core from '@xyo-network/core';
|
|
8
|
-
import { AnyConfigSchema } from '@xyo-network/module';
|
|
9
|
-
import { SchemaPayload } from '@xyo-network/schema-payload-plugin';
|
|
10
|
-
import { WitnessConfig, WitnessParams, AbstractWitness, WitnessModule } from '@xyo-network/witness';
|
|
11
|
-
|
|
12
|
-
type SchemaWitnessConfigSchema = 'network.xyo.schema.witness.config';
|
|
13
|
-
declare const SchemaWitnessConfigSchema: SchemaWitnessConfigSchema;
|
|
14
|
-
type SchemaWitnessConfig = WitnessConfig<{
|
|
15
|
-
schema: SchemaWitnessConfigSchema;
|
|
16
|
-
}>;
|
|
17
|
-
type SchemaWitnessParams = WitnessParams<AnyConfigSchema<SchemaWitnessConfig>>;
|
|
18
|
-
declare class SchemaWitness<TParams extends SchemaWitnessParams = SchemaWitnessParams> extends AbstractWitness<TParams> implements WitnessModule {
|
|
19
|
-
static configSchemas: "network.xyo.schema.witness.config"[];
|
|
20
|
-
protected observeHandler(_payloads?: Payload[]): Promise<SchemaPayload[]>;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
declare const SchemaPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<SchemaWitness<_xyo_network_core.BaseParamsFields & {
|
|
24
|
-
account?: _xyo_network_account_model.AccountInstance | "random" | undefined;
|
|
25
|
-
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
|
|
26
|
-
accountDerivationPath?: string | undefined;
|
|
27
|
-
readonly archivist?: _xyo_network_module_model.ArchivistModuleConfig | undefined;
|
|
28
|
-
readonly name?: string | undefined;
|
|
29
|
-
readonly paging?: Record<string, {
|
|
30
|
-
size?: number | undefined;
|
|
31
|
-
}> | undefined;
|
|
32
|
-
readonly schema: string;
|
|
33
|
-
readonly security?: {
|
|
34
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
35
|
-
readonly allowed?: Record<string, (string | _xyo_network_module_model.CosigningAddressSet)[]> | undefined;
|
|
36
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
readonly sign?: boolean | undefined;
|
|
39
|
-
readonly storeQueries?: boolean | undefined;
|
|
40
|
-
readonly timestamp?: boolean | undefined;
|
|
41
|
-
} & Omit<Omit<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
|
|
42
|
-
accountDerivationPath?: string | undefined;
|
|
43
|
-
readonly archivist?: _xyo_network_module_model.ArchivistModuleConfig | undefined;
|
|
44
|
-
readonly name?: string | undefined;
|
|
45
|
-
readonly paging?: Record<string, {
|
|
46
|
-
size?: number | undefined;
|
|
47
|
-
}> | undefined;
|
|
48
|
-
readonly schema: "network.xyo.schema.witness.config";
|
|
49
|
-
readonly security?: {
|
|
50
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
51
|
-
readonly allowed?: Record<string, (string | _xyo_network_module_model.CosigningAddressSet)[]> | undefined;
|
|
52
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
53
|
-
} | undefined;
|
|
54
|
-
readonly sign?: boolean | undefined;
|
|
55
|
-
readonly storeQueries?: boolean | undefined;
|
|
56
|
-
readonly timestamp?: boolean | undefined;
|
|
57
|
-
} & Omit<{
|
|
58
|
-
archivist?: string | undefined;
|
|
59
|
-
schema: "network.xyo.schema.witness.config";
|
|
60
|
-
targetSet?: (_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & _xyo_network_payload_model.PayloadSet & {
|
|
61
|
-
schema: "network.xyo.payload.set";
|
|
62
|
-
}) | undefined;
|
|
63
|
-
} & {
|
|
64
|
-
schema: "network.xyo.schema.witness.config";
|
|
65
|
-
}, "schema"> & {
|
|
66
|
-
schema: "network.xyo.schema.witness.config";
|
|
67
|
-
}, "schema"> & {
|
|
68
|
-
schema: string;
|
|
69
|
-
}, "schema"> & {
|
|
70
|
-
schema: string;
|
|
71
|
-
};
|
|
72
|
-
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
73
|
-
wallet?: _xyo_network_wallet_model.WalletInstance | undefined;
|
|
74
|
-
}>>;
|
|
75
|
-
|
|
76
|
-
export { SchemaPlugin, SchemaWitness, SchemaWitnessConfig, SchemaWitnessConfigSchema, SchemaWitnessParams, SchemaPlugin as default };
|
|
1
|
+
import { SchemaPlugin } from './Plugin';
|
|
2
|
+
export * from './Witness';
|
|
3
|
+
export { SchemaPlugin };
|
|
4
|
+
export default SchemaPlugin;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAEvC,cAAc,WAAW,CAAA;AAEzB,OAAO,EAAE,YAAY,EAAE,CAAA;AAGvB,eAAe,YAAY,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,76 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import * as _xyo_network_account_model from '@xyo-network/account-model';
|
|
7
|
-
import * as _xyo_network_core from '@xyo-network/core';
|
|
8
|
-
import { AnyConfigSchema } from '@xyo-network/module';
|
|
9
|
-
import { SchemaPayload } from '@xyo-network/schema-payload-plugin';
|
|
10
|
-
import { WitnessConfig, WitnessParams, AbstractWitness, WitnessModule } from '@xyo-network/witness';
|
|
11
|
-
|
|
12
|
-
type SchemaWitnessConfigSchema = 'network.xyo.schema.witness.config';
|
|
13
|
-
declare const SchemaWitnessConfigSchema: SchemaWitnessConfigSchema;
|
|
14
|
-
type SchemaWitnessConfig = WitnessConfig<{
|
|
15
|
-
schema: SchemaWitnessConfigSchema;
|
|
16
|
-
}>;
|
|
17
|
-
type SchemaWitnessParams = WitnessParams<AnyConfigSchema<SchemaWitnessConfig>>;
|
|
18
|
-
declare class SchemaWitness<TParams extends SchemaWitnessParams = SchemaWitnessParams> extends AbstractWitness<TParams> implements WitnessModule {
|
|
19
|
-
static configSchemas: "network.xyo.schema.witness.config"[];
|
|
20
|
-
protected observeHandler(_payloads?: Payload[]): Promise<SchemaPayload[]>;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
declare const SchemaPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<SchemaWitness<_xyo_network_core.BaseParamsFields & {
|
|
24
|
-
account?: _xyo_network_account_model.AccountInstance | "random" | undefined;
|
|
25
|
-
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
|
|
26
|
-
accountDerivationPath?: string | undefined;
|
|
27
|
-
readonly archivist?: _xyo_network_module_model.ArchivistModuleConfig | undefined;
|
|
28
|
-
readonly name?: string | undefined;
|
|
29
|
-
readonly paging?: Record<string, {
|
|
30
|
-
size?: number | undefined;
|
|
31
|
-
}> | undefined;
|
|
32
|
-
readonly schema: string;
|
|
33
|
-
readonly security?: {
|
|
34
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
35
|
-
readonly allowed?: Record<string, (string | _xyo_network_module_model.CosigningAddressSet)[]> | undefined;
|
|
36
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
readonly sign?: boolean | undefined;
|
|
39
|
-
readonly storeQueries?: boolean | undefined;
|
|
40
|
-
readonly timestamp?: boolean | undefined;
|
|
41
|
-
} & Omit<Omit<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
|
|
42
|
-
accountDerivationPath?: string | undefined;
|
|
43
|
-
readonly archivist?: _xyo_network_module_model.ArchivistModuleConfig | undefined;
|
|
44
|
-
readonly name?: string | undefined;
|
|
45
|
-
readonly paging?: Record<string, {
|
|
46
|
-
size?: number | undefined;
|
|
47
|
-
}> | undefined;
|
|
48
|
-
readonly schema: "network.xyo.schema.witness.config";
|
|
49
|
-
readonly security?: {
|
|
50
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
51
|
-
readonly allowed?: Record<string, (string | _xyo_network_module_model.CosigningAddressSet)[]> | undefined;
|
|
52
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
53
|
-
} | undefined;
|
|
54
|
-
readonly sign?: boolean | undefined;
|
|
55
|
-
readonly storeQueries?: boolean | undefined;
|
|
56
|
-
readonly timestamp?: boolean | undefined;
|
|
57
|
-
} & Omit<{
|
|
58
|
-
archivist?: string | undefined;
|
|
59
|
-
schema: "network.xyo.schema.witness.config";
|
|
60
|
-
targetSet?: (_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & _xyo_network_payload_model.PayloadSet & {
|
|
61
|
-
schema: "network.xyo.payload.set";
|
|
62
|
-
}) | undefined;
|
|
63
|
-
} & {
|
|
64
|
-
schema: "network.xyo.schema.witness.config";
|
|
65
|
-
}, "schema"> & {
|
|
66
|
-
schema: "network.xyo.schema.witness.config";
|
|
67
|
-
}, "schema"> & {
|
|
68
|
-
schema: string;
|
|
69
|
-
}, "schema"> & {
|
|
70
|
-
schema: string;
|
|
71
|
-
};
|
|
72
|
-
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
73
|
-
wallet?: _xyo_network_wallet_model.WalletInstance | undefined;
|
|
74
|
-
}>>;
|
|
75
|
-
|
|
76
|
-
export { SchemaPlugin, SchemaWitness, SchemaWitnessConfig, SchemaWitnessConfigSchema, SchemaWitnessParams, SchemaPlugin as default };
|
|
1
|
+
import { SchemaPlugin } from './Plugin';
|
|
2
|
+
export * from './Witness';
|
|
3
|
+
export { SchemaPlugin };
|
|
4
|
+
export default SchemaPlugin;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAEvC,cAAc,WAAW,CAAA;AAEzB,OAAO,EAAE,YAAY,EAAE,CAAA;AAGvB,eAAe,YAAY,CAAA"}
|
package/package.json
CHANGED
|
@@ -10,24 +10,18 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xylabs/delay": "^2.
|
|
14
|
-
"@xyo-network/module": "~2.
|
|
15
|
-
"@xyo-network/payload-model": "~2.
|
|
16
|
-
"@xyo-network/payloadset-plugin": "~2.
|
|
17
|
-
"@xyo-network/schema-payload-plugin": "~2.
|
|
18
|
-
"@xyo-network/witness": "~2.
|
|
13
|
+
"@xylabs/delay": "^2.11.5",
|
|
14
|
+
"@xyo-network/module": "~2.74.0",
|
|
15
|
+
"@xyo-network/payload-model": "~2.74.0",
|
|
16
|
+
"@xyo-network/payloadset-plugin": "~2.74.0",
|
|
17
|
+
"@xyo-network/schema-payload-plugin": "~2.74.0",
|
|
18
|
+
"@xyo-network/witness": "~2.74.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
22
|
-
"@xylabs/tsconfig": "^
|
|
23
|
-
"publint": "^0.2.2",
|
|
24
|
-
"tsup": "^7.2.0",
|
|
21
|
+
"@xylabs/ts-scripts-yarn3": "^3.0.27",
|
|
22
|
+
"@xylabs/tsconfig": "^3.0.27",
|
|
25
23
|
"typescript": "^5.2.2"
|
|
26
24
|
},
|
|
27
|
-
"scripts": {
|
|
28
|
-
"package-compile": "tsup && publint",
|
|
29
|
-
"package-recompile": "tsup && publint"
|
|
30
|
-
},
|
|
31
25
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
32
26
|
"docs": "dist/docs.json",
|
|
33
27
|
"types": "dist/index.d.ts",
|
|
@@ -68,5 +62,5 @@
|
|
|
68
62
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
69
63
|
},
|
|
70
64
|
"sideEffects": false,
|
|
71
|
-
"version": "2.
|
|
65
|
+
"version": "2.74.0"
|
|
72
66
|
}
|