|
| 1 | +import { PlainClientAPI } from 'contentful-management' |
| 2 | + |
| 3 | +export type CMAClient = { |
| 4 | + appAction: Pick<PlainClientAPI['appAction'], 'get' | 'getMany' | 'getManyForEnvironment'> |
| 5 | + appDefinition: Pick<PlainClientAPI['appDefinition'], 'get' | 'getInstallationsForOrg'> |
| 6 | + appInstallation: Pick<PlainClientAPI['appInstallation'], 'getForOrganization'> |
| 7 | + asset: PlainClientAPI['asset'] |
| 8 | + assetKey: PlainClientAPI['assetKey'] |
| 9 | + appSignedRequest: Pick<PlainClientAPI['appSignedRequest'], 'create'> |
| 10 | + bulkAction: PlainClientAPI['bulkAction'] |
| 11 | + comment: PlainClientAPI['comment'] |
| 12 | + contentType: PlainClientAPI['contentType'] |
| 13 | + editorInterface: PlainClientAPI['editorInterface'] |
| 14 | + environment: Pick<PlainClientAPI['environment'], 'get'> |
| 15 | + environmentAlias: Pick<PlainClientAPI['environmentAlias'], 'get'> |
| 16 | + entry: PlainClientAPI['entry'] |
| 17 | + locale: PlainClientAPI['locale'] |
| 18 | + release: PlainClientAPI['release'] |
| 19 | + releaseAction: PlainClientAPI['releaseAction'] |
| 20 | + role: Pick<PlainClientAPI['role'], 'get' | 'getMany'> |
| 21 | + scheduledActions: PlainClientAPI['scheduledActions'] |
| 22 | + snapshot: PlainClientAPI['snapshot'] |
| 23 | + space: Pick<PlainClientAPI['space'], 'get'> |
| 24 | + upload: PlainClientAPI['upload'] |
| 25 | + user: Pick<PlainClientAPI['user'], 'getManyForSpace' | 'getForSpace'> |
| 26 | + usage: Pick<PlainClientAPI['usage'], 'getManyForSpace'> |
| 27 | + team: Pick<PlainClientAPI['team'], 'getManyForSpace'> |
| 28 | + task: PlainClientAPI['task'] |
| 29 | + tag: PlainClientAPI['tag'] |
| 30 | + uiConfig: PlainClientAPI['uiConfig'] |
| 31 | + userUIConfig: PlainClientAPI['userUIConfig'] |
| 32 | +} |
0 commit comments