1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-07 21:47:02 +09:00
anytype-ts/src/json/relation.ts
2024-06-19 11:35:36 +02:00

161 lines
No EOL
2.2 KiB
TypeScript

export default {
default: [
'id',
'spaceId',
'name',
'description',
'snippet',
'iconEmoji',
'iconImage',
'iconOption',
'relationFormat',
'type',
'layout',
'isHidden',
'isArchived',
'isReadonly',
'isDeleted',
'isFavorite',
'done',
'fileExt',
'fileMimeType',
'sizeInBytes',
'restrictions',
'defaultTemplateId',
'identityProfileLink',
'createdDate'
],
sidebar: [
'id',
'spaceId',
'name',
'description',
'snippet',
'layout',
'type',
'iconEmoji',
'iconImage',
'iconOption',
'isReadonly',
'isHidden',
'isDeleted',
'isArchived',
'isFavorite',
'done',
'relationFormat',
'fileExt',
'fileMimeType',
'links',
'restrictions',
'source',
'identityProfileLink',
'lastModifiedDate',
'lastOpenedDate'
],
relation: [
'id',
'spaceId',
'type',
'layout',
'name',
'relationFormat',
'relationKey',
'isReadonly',
'isHidden',
'isDeleted',
'isArchived',
'isFavorite',
'restrictions',
'relationMaxCount',
'relationReadonlyValue',
'relationDefaultValue',
'relationFormatObjectTypes',
'sourceObject',
'restrictions'
],
cover: [
'coverId',
'coverType',
'coverX',
'coverY',
'coverScale'
],
option: [
'id',
'relationKey',
'type',
'layout',
'name',
'relationOptionColor'
],
type: [
'recommendedRelations',
'recommendedLayout',
'sourceObject',
'uniqueKey',
'defaultTemplateId',
'lastUsedDate'
],
graph: [
'id',
'name',
'snippet',
'description',
'iconEmoji',
'iconImage',
'iconOption',
'relationFormat',
'type',
'layout',
'done',
'fileExt',
'fileMimeType',
'isDeleted',
'isArchived',
'isFavorite',
'identityProfileLink',
'restrictions'
],
template: [
'templateIsBundled',
'type',
'targetObjectType',
'internalFlags',
'sourceObject'
],
space: [
'spaceDashboardId',
'spaceAccountStatus',
'spaceLocalStatus',
'spaceAccessType',
'readersLimit',
'writersLimit',
'sharedSpacesLimit',
'targetSpaceId',
'creator',
'createdDate'
],
participant: [
'identity',
'participantPermissions',
'participantStatus',
'globalName'
],
syncStatus: [
'syncStatus',
'syncDate',
'syncError'
],
pageCover: 'pageCover',
};