1 | import type { BasicMetaSysProps, DefaultElements, MakeRequest } from '../common-types';
|
2 | import type { ContentfulSpaceAPI } from '../create-space-api';
|
3 | export type SpaceProps = {
|
4 | sys: BasicMetaSysProps & {
|
5 | organization: {
|
6 | sys: {
|
7 | id: string;
|
8 | };
|
9 | };
|
10 | archivedAt?: string;
|
11 | };
|
12 | name: string;
|
13 | };
|
14 | export type Space = SpaceProps & DefaultElements<SpaceProps> & ContentfulSpaceAPI;
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 | export declare function wrapSpace(makeRequest: MakeRequest, data: SpaceProps): Space;
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 | export declare const wrapSpaceCollection: (makeRequest: MakeRequest, data: import("../common-types").CollectionProp<SpaceProps>) => import("../common-types").Collection<Space, SpaceProps>;
|