@xyo-network/react-archivist 2.47.19 → 2.47.21
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.
|
@@ -1,3 +1,33 @@
|
|
|
1
1
|
import { ArchivistWrapper } from '@xyo-network/archivist';
|
|
2
|
-
export declare const useArchivist: (nameOrAddress?: string | undefined, account?: import("@xyo-network/account-model").AccountInstance | undefined, spinCheck?: boolean | undefined) => [ArchivistWrapper
|
|
2
|
+
export declare const useArchivist: (nameOrAddress?: string | undefined, account?: import("@xyo-network/account-model").AccountInstance | undefined, spinCheck?: boolean | undefined) => [ArchivistWrapper<import("@xyo-network/archivist").ArchivistModule<import("@xyo-network/archivist").ArchivistParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
3
|
+
name?: string | undefined;
|
|
4
|
+
paging?: Record<string, {
|
|
5
|
+
size?: number | undefined;
|
|
6
|
+
}> | undefined;
|
|
7
|
+
schema: string;
|
|
8
|
+
security?: {
|
|
9
|
+
allowAnonymous?: boolean | undefined;
|
|
10
|
+
allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
11
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
12
|
+
} | undefined;
|
|
13
|
+
storeQueries?: boolean | undefined;
|
|
14
|
+
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
15
|
+
name?: string | undefined;
|
|
16
|
+
paging?: Record<string, {
|
|
17
|
+
size?: number | undefined;
|
|
18
|
+
}> | undefined;
|
|
19
|
+
schema: "network.xyo.archivist.config";
|
|
20
|
+
security?: {
|
|
21
|
+
allowAnonymous?: boolean | undefined;
|
|
22
|
+
allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
23
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
24
|
+
} | undefined;
|
|
25
|
+
storeQueries?: boolean | undefined;
|
|
26
|
+
} & Omit<{
|
|
27
|
+
parents?: import("@xyo-network/archivist").ArchivistParents | undefined;
|
|
28
|
+
schema: "network.xyo.archivist.config";
|
|
29
|
+
storeParentReads?: boolean | undefined;
|
|
30
|
+
} & Omit<undefined, "schema">, "schema">, "schema"> & {
|
|
31
|
+
schema: string;
|
|
32
|
+
}, "schema">, undefined>, import("@xyo-network/archivist").ArchivistModuleEventData>> | undefined, Error | undefined];
|
|
3
33
|
//# sourceMappingURL=useArchivist.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useArchivist.d.ts","sourceRoot":"","sources":["../../../src/hooks/useArchivist.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAGzD,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"useArchivist.d.ts","sourceRoot":"","sources":["../../../src/hooks/useArchivist.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAGzD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qHAA6D,CAAA"}
|
|
@@ -6,7 +6,37 @@ export declare const useArchivistStates: <T extends import("@xyo-network/payload
|
|
|
6
6
|
} = import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
7
7
|
schema: string;
|
|
8
8
|
}>() => {
|
|
9
|
-
archivist: ArchivistWrapper
|
|
9
|
+
archivist: ArchivistWrapper<import("@xyo-network/archivist").ArchivistModule<import("@xyo-network/archivist").ArchivistParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
10
|
+
name?: string | undefined;
|
|
11
|
+
paging?: Record<string, {
|
|
12
|
+
size?: number | undefined;
|
|
13
|
+
}> | undefined;
|
|
14
|
+
schema: string;
|
|
15
|
+
security?: {
|
|
16
|
+
allowAnonymous?: boolean | undefined;
|
|
17
|
+
allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
18
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
19
|
+
} | undefined;
|
|
20
|
+
storeQueries?: boolean | undefined;
|
|
21
|
+
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
22
|
+
name?: string | undefined;
|
|
23
|
+
paging?: Record<string, {
|
|
24
|
+
size?: number | undefined;
|
|
25
|
+
}> | undefined;
|
|
26
|
+
schema: "network.xyo.archivist.config";
|
|
27
|
+
security?: {
|
|
28
|
+
allowAnonymous?: boolean | undefined;
|
|
29
|
+
allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
30
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
31
|
+
} | undefined;
|
|
32
|
+
storeQueries?: boolean | undefined;
|
|
33
|
+
} & Omit<{
|
|
34
|
+
parents?: import("@xyo-network/archivist").ArchivistParents | undefined;
|
|
35
|
+
schema: "network.xyo.archivist.config";
|
|
36
|
+
storeParentReads?: boolean | undefined;
|
|
37
|
+
} & Omit<undefined, "schema">, "schema">, "schema"> & {
|
|
38
|
+
schema: string;
|
|
39
|
+
}, "schema">, undefined>, import("@xyo-network/archivist").ArchivistModuleEventData>> | undefined;
|
|
10
40
|
error: Error | undefined;
|
|
11
41
|
payloads: T[] | undefined;
|
|
12
42
|
refresh: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useArchivistStates.d.ts","sourceRoot":"","sources":["../../../src/hooks/useArchivistStates.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAMzD,MAAM,MAAM,eAAe,GAAG,MAAM,IAAI,CAAA;AAExC,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"useArchivistStates.d.ts","sourceRoot":"","sources":["../../../src/hooks/useArchivistStates.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAMzD,MAAM,MAAM,eAAe,GAAG,MAAM,IAAI,CAAA;AAExC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB9B,CAAA"}
|
package/package.json
CHANGED
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"@xylabs/react-crypto": "^2.16.11",
|
|
16
16
|
"@xylabs/react-flexbox": "^2.16.11",
|
|
17
17
|
"@xylabs/react-shared": "^2.16.11",
|
|
18
|
-
"@xyo-network/react-module": "^2.47.
|
|
19
|
-
"@xyo-network/react-node": "^2.47.
|
|
18
|
+
"@xyo-network/react-module": "^2.47.21",
|
|
19
|
+
"@xyo-network/react-node": "^2.47.21"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"@mui/icons-material": "^5",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"@storybook/react": "^6.5.16",
|
|
33
33
|
"@xylabs/ts-scripts-yarn3": "^2.16.1",
|
|
34
34
|
"@xylabs/tsconfig-react": "^2.16.1",
|
|
35
|
-
"@xyo-network/archivist": "^2.53.
|
|
36
|
-
"@xyo-network/archivist-wrapper": "^2.53.
|
|
37
|
-
"@xyo-network/module": "^2.53.
|
|
38
|
-
"@xyo-network/payload-model": "^2.53.
|
|
39
|
-
"@xyo-network/react-storybook": "^2.47.
|
|
35
|
+
"@xyo-network/archivist": "^2.53.26",
|
|
36
|
+
"@xyo-network/archivist-wrapper": "^2.53.26",
|
|
37
|
+
"@xyo-network/module": "^2.53.26",
|
|
38
|
+
"@xyo-network/payload-model": "^2.53.26",
|
|
39
|
+
"@xyo-network/react-storybook": "^2.47.21",
|
|
40
40
|
"require-from-string": "^2.0.2",
|
|
41
41
|
"typescript": "^4.9.5"
|
|
42
42
|
},
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
},
|
|
83
83
|
"sideEffects": false,
|
|
84
84
|
"types": "dist/types/index.d.ts",
|
|
85
|
-
"version": "2.47.
|
|
85
|
+
"version": "2.47.21"
|
|
86
86
|
}
|