@xyo-network/archivist-view 3.9.17 → 3.9.19
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.
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Hash } from '@xylabs/hex';
|
|
2
|
+
import { AbstractArchivist } from '@xyo-network/archivist-abstract';
|
|
3
|
+
import { ArchivistConfig, ArchivistInstance, ArchivistModuleEventData, ArchivistNextOptions, ArchivistParams } from '@xyo-network/archivist-model';
|
|
4
|
+
import { AnyConfigSchema, ModuleIdentifier, ModuleInstance } from '@xyo-network/module-model';
|
|
5
|
+
import { Payload, Schema, WithStorageMeta } from '@xyo-network/payload-model';
|
|
6
|
+
export declare const ViewArchivistConfigSchema: "network.xyo.archivist.view.config";
|
|
7
|
+
export type ViewArchivistConfigSchema = typeof ViewArchivistConfigSchema;
|
|
8
|
+
export type ViewArchivistConfig = ArchivistConfig<{
|
|
9
|
+
originArchivist?: ModuleIdentifier;
|
|
10
|
+
}, ViewArchivistConfigSchema>;
|
|
11
|
+
export type ViewArchivistParams<TConfig extends AnyConfigSchema<ViewArchivistConfig> = AnyConfigSchema<ViewArchivistConfig>> = ArchivistParams<TConfig>;
|
|
12
|
+
export declare class ViewArchivist<TParams extends ViewArchivistParams<AnyConfigSchema<ViewArchivistConfig>> = ViewArchivistParams, TEventData extends ArchivistModuleEventData = ArchivistModuleEventData> extends AbstractArchivist<TParams, TEventData> implements ArchivistInstance, ModuleInstance {
|
|
13
|
+
static readonly configSchemas: Schema[];
|
|
14
|
+
static readonly defaultConfigSchema: Schema;
|
|
15
|
+
static readonly labels: {
|
|
16
|
+
ModuleLimitationLabelName: string;
|
|
17
|
+
};
|
|
18
|
+
private _originArchivistInstance?;
|
|
19
|
+
get originArchivist(): string;
|
|
20
|
+
get queries(): string[];
|
|
21
|
+
originArchivistInstance(): Promise<ArchivistInstance<import("@xylabs/object").BaseParamsFields & {
|
|
22
|
+
account?: import("@xyo-network/account-model").AccountInstance | "random";
|
|
23
|
+
addToResolvers?: boolean;
|
|
24
|
+
additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
|
|
25
|
+
allowNameResolution?: boolean;
|
|
26
|
+
config: AnyConfigSchema<ArchivistConfig>;
|
|
27
|
+
ephemeralQueryAccountEnabled?: boolean;
|
|
28
|
+
moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
|
|
29
|
+
privateChildren?: ModuleInstance[];
|
|
30
|
+
publicChildren?: ModuleInstance[];
|
|
31
|
+
} & import("@xyo-network/archivist-model").ArchivistParamFields & object, ArchivistModuleEventData, Payload>>;
|
|
32
|
+
protected allHandler(): Promise<WithStorageMeta<Payload>[]>;
|
|
33
|
+
protected getHandler(hashes: Hash[]): Promise<WithStorageMeta<Payload>[]>;
|
|
34
|
+
protected nextHandler(options?: ArchivistNextOptions): Promise<WithStorageMeta<Payload>[]>;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=ViewArchivist.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ViewArchivist.d.ts","sourceRoot":"","sources":["../../src/ViewArchivist.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACnE,OAAO,EAEL,eAAe,EAEf,iBAAiB,EACjB,wBAAwB,EACxB,oBAAoB,EAEpB,eAAe,EAEhB,MAAM,8BAA8B,CAAA;AACrC,OAAO,EACL,eAAe,EAEf,gBAAgB,EAChB,cAAc,EAEf,MAAM,2BAA2B,CAAA;AAClC,OAAO,EACL,OAAO,EAAE,MAAM,EAAE,eAAe,EACjC,MAAM,4BAA4B,CAAA;AAEnC,eAAO,MAAM,yBAAyB,EAAG,mCAA4C,CAAA;AACrF,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAA;AAExE,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAC/C;IACE,eAAe,CAAC,EAAE,gBAAgB,CAAA;CACnC,EACD,yBAAyB,CAC1B,CAAA;AAED,MAAM,MAAM,mBAAmB,CAAC,OAAO,SAAS,eAAe,CAAC,mBAAmB,CAAC,GAAG,eAAe,CAAC,mBAAmB,CAAC,IAAI,eAAe,CAAC,OAAO,CAAC,CAAA;AAEvJ,qBACa,aAAa,CACxB,OAAO,SAAS,mBAAmB,CAAC,eAAe,CAAC,mBAAmB,CAAC,CAAC,GAAG,mBAAmB,EAC/F,UAAU,SAAS,wBAAwB,GAAG,wBAAwB,CAEtE,SAAQ,iBAAiB,CAAC,OAAO,EAAE,UAAU,CAC7C,YAAW,iBAAiB,EAAE,cAAc;IAC5C,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAsD;IACtG,gBAAyB,mBAAmB,EAAE,MAAM,CAA4B;IAChF,gBAAyB,MAAM;;MAAmC;IAElE,OAAO,CAAC,wBAAwB,CAAC,CAAmB;IAEpD,IAAI,eAAe,WAElB;IAED,IAAa,OAAO,aAEnB;IAEK,uBAAuB;;;;;;;;;;;cAMJ,UAAU,IAAI,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC;cAIjD,UAAU,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC;cAI/D,WAAW,CAAC,OAAO,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC;CAG1G"}
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,42 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import * as _xyo_network_module_model from '@xyo-network/module-model';
|
|
4
|
-
import { ModuleIdentifier, AnyConfigSchema, ModuleInstance } from '@xyo-network/module-model';
|
|
5
|
-
import * as _xyo_network_account_model from '@xyo-network/account-model';
|
|
6
|
-
import * as _xylabs_object from '@xylabs/object';
|
|
7
|
-
import { Hash } from '@xylabs/hex';
|
|
8
|
-
import { AbstractArchivist } from '@xyo-network/archivist-abstract';
|
|
9
|
-
import { Schema, Payload, WithStorageMeta } from '@xyo-network/payload-model';
|
|
10
|
-
|
|
11
|
-
declare const ViewArchivistConfigSchema: "network.xyo.archivist.view.config";
|
|
12
|
-
type ViewArchivistConfigSchema = typeof ViewArchivistConfigSchema;
|
|
13
|
-
type ViewArchivistConfig = ArchivistConfig<{
|
|
14
|
-
originArchivist?: ModuleIdentifier;
|
|
15
|
-
}, ViewArchivistConfigSchema>;
|
|
16
|
-
type ViewArchivistParams<TConfig extends AnyConfigSchema<ViewArchivistConfig> = AnyConfigSchema<ViewArchivistConfig>> = ArchivistParams<TConfig>;
|
|
17
|
-
declare class ViewArchivist<TParams extends ViewArchivistParams<AnyConfigSchema<ViewArchivistConfig>> = ViewArchivistParams, TEventData extends ArchivistModuleEventData = ArchivistModuleEventData> extends AbstractArchivist<TParams, TEventData> implements ArchivistInstance, ModuleInstance {
|
|
18
|
-
static readonly configSchemas: Schema[];
|
|
19
|
-
static readonly defaultConfigSchema: Schema;
|
|
20
|
-
static readonly labels: {
|
|
21
|
-
ModuleLimitationLabelName: string;
|
|
22
|
-
};
|
|
23
|
-
private _originArchivistInstance?;
|
|
24
|
-
get originArchivist(): string;
|
|
25
|
-
get queries(): string[];
|
|
26
|
-
originArchivistInstance(): Promise<ArchivistInstance<_xylabs_object.BaseParamsFields & {
|
|
27
|
-
account?: _xyo_network_account_model.AccountInstance | "random";
|
|
28
|
-
addToResolvers?: boolean;
|
|
29
|
-
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
30
|
-
allowNameResolution?: boolean;
|
|
31
|
-
config: AnyConfigSchema<ArchivistConfig<void, void>>;
|
|
32
|
-
ephemeralQueryAccountEnabled?: boolean;
|
|
33
|
-
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
34
|
-
privateChildren?: ModuleInstance[];
|
|
35
|
-
publicChildren?: ModuleInstance[];
|
|
36
|
-
} & _xyo_network_archivist_model.ArchivistParamFields & object, ArchivistModuleEventData, Payload>>;
|
|
37
|
-
protected allHandler(): Promise<WithStorageMeta<Payload>[]>;
|
|
38
|
-
protected getHandler(hashes: Hash[]): Promise<WithStorageMeta<Payload>[]>;
|
|
39
|
-
protected nextHandler(options?: ArchivistNextOptions): Promise<WithStorageMeta<Payload>[]>;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export { ViewArchivist, type ViewArchivistConfig, ViewArchivistConfigSchema, type ViewArchivistParams };
|
|
1
|
+
export * from './ViewArchivist.ts';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/archivist-view",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.19",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -31,19 +31,19 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@xylabs/assert": "^4.5.1",
|
|
33
33
|
"@xylabs/hex": "^4.5.1",
|
|
34
|
-
"@xyo-network/archivist-abstract": "^3.9.
|
|
35
|
-
"@xyo-network/archivist-model": "^3.9.
|
|
36
|
-
"@xyo-network/module-model": "^3.9.
|
|
37
|
-
"@xyo-network/payload-model": "^3.9.
|
|
34
|
+
"@xyo-network/archivist-abstract": "^3.9.19",
|
|
35
|
+
"@xyo-network/archivist-model": "^3.9.19",
|
|
36
|
+
"@xyo-network/module-model": "^3.9.19",
|
|
37
|
+
"@xyo-network/payload-model": "^3.9.19"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@xylabs/ts-scripts-yarn3": "^5.0.
|
|
41
|
-
"@xylabs/tsconfig": "^5.0.
|
|
42
|
-
"@xyo-network/archivist-memory": "^3.9.
|
|
43
|
-
"@xyo-network/node-memory": "^3.9.
|
|
44
|
-
"@xyo-network/payload-builder": "^3.9.
|
|
45
|
-
"typescript": "^5.
|
|
46
|
-
"vitest": "^3.0.
|
|
40
|
+
"@xylabs/ts-scripts-yarn3": "^5.0.39",
|
|
41
|
+
"@xylabs/tsconfig": "^5.0.39",
|
|
42
|
+
"@xyo-network/archivist-memory": "^3.9.19",
|
|
43
|
+
"@xyo-network/node-memory": "^3.9.19",
|
|
44
|
+
"@xyo-network/payload-builder": "^3.9.19",
|
|
45
|
+
"typescript": "^5.8.2",
|
|
46
|
+
"vitest": "^3.0.7"
|
|
47
47
|
},
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|