1 | import type { MetaSysProps, DefaultElements, MakeRequest } from '../common-types';
|
2 | export type SnapshotProps<T> = {
|
3 | sys: MetaSysProps & {
|
4 | snapshotType: string;
|
5 | snapshotEntityType: string;
|
6 | };
|
7 | snapshot: T;
|
8 | };
|
9 | export interface Snapshot<T> extends SnapshotProps<T>, DefaultElements<SnapshotProps<T>> {
|
10 | }
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | export declare function wrapSnapshot<T>(_makeRequest: MakeRequest, data: SnapshotProps<T>): Snapshot<T>;
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 | export declare const wrapSnapshotCollection: <T>(makeRequest: MakeRequest, data: import("../common-types").CollectionProp<SnapshotProps<T>>) => import("../common-types").Collection<Snapshot<T>, SnapshotProps<T>>;
|