github.com/cozy/cozy-stack@v0.0.0-20240603063001-31110fa4cae1/pkg/consts/doctype.go (about) 1 package consts 2 3 // Instances doc type for User's instance document 4 const Instances = "instances" 5 6 // Configs doc type assets documents configuration 7 const Configs = "configs" 8 9 const ( 10 // Apps doc type for client-side application manifests 11 Apps = "io.cozy.apps" 12 // AppsSuggestion doc type for suggesting apps to the user 13 AppsSuggestion = "io.cozy.apps.suggestions" 14 // AppsOpenParameters doc type for the parameters used by the flagship to 15 // open a webapp 16 AppsOpenParameters = "io.cozy.apps.open" 17 // AppLogs doc type for logs sent by apps and konnectors 18 AppLogs = "io.cozy.apps.logs" 19 // Konnectors doc type for konnector application manifests 20 Konnectors = "io.cozy.konnectors" 21 // KonnectorsMaintenance doc type for maintenance of konnectors. 22 KonnectorsMaintenance = "io.cozy.konnectors.maintenance" 23 // Archives doc type for zip archives with files and directories 24 Archives = "io.cozy.files.archives" 25 // Exports doc type for global exports archives 26 Exports = "io.cozy.exports" 27 // ExportsRequests doc type for a request to move to another Cozy 28 ExportsRequests = "io.cozy.exports.requests" 29 // Imports doc type for global exports archives 30 Imports = "io.cozy.imports" 31 // Doctypes doc type for doctype list 32 Doctypes = "io.cozy.doctypes" 33 // Files doc type for type for files and directories 34 Files = "io.cozy.files" 35 // FilesMetadata doc type for metadata of files 36 FilesMetadata = "io.cozy.files.metadata" 37 // FilesVersions doc type for versioning file contents 38 FilesVersions = "io.cozy.files.versions" 39 // FilesShortcuts doc type for high-level information about .url files 40 FilesShortcuts = "io.cozy.files.shortcuts" 41 // Thumbnails is a synthetic doctype for thumbnails, used for realtime 42 // events 43 Thumbnails = "io.cozy.files.thumbnails" 44 // CertifiedCarbonCopy is a synthetic doctype, used for given permission to 45 // add the carbonCopy metadata on files 46 CertifiedCarbonCopy = "io.cozy.certified.carbon_copy" 47 // CertifiedElectronicSafe is a synthetic doctype, used for given 48 // permission to add the electronicSafe metadata on files 49 CertifiedElectronicSafe = "io.cozy.certified.electronic_safe" 50 // DirSizes is a synthetic doctype, used for giving the size of a 51 // directory. 52 DirSizes = "io.cozy.files.sizes" 53 // PhotosAlbums doc type for photos albums 54 PhotosAlbums = "io.cozy.photos.albums" 55 // Intents doc type for intents persisted in couchdb 56 Intents = "io.cozy.intents" 57 // Jobs doc type for queued jobs 58 Jobs = "io.cozy.jobs" 59 // JobEvents doc type for real time events sent by jobs 60 JobEvents = "io.cozy.jobs.events" 61 // Support doc type for sending mail to the support 62 Support = "io.cozy.support" 63 // Notifications doc type for notifications 64 Notifications = "io.cozy.notifications" 65 // OAuthAccessCodes doc type for OAuth2 access codes 66 OAuthAccessCodes = "io.cozy.oauth.access_codes" 67 // OAuthClients doc type for OAuth2 clients 68 OAuthClients = "io.cozy.oauth.clients" 69 // Permissions doc type for permissions identifying a connection 70 Permissions = "io.cozy.permissions" 71 // Contacts doc type for sharing 72 Contacts = "io.cozy.contacts" 73 // Groups of contacts doc type for sharing 74 Groups = "io.cozy.contacts.groups" 75 // RemoteRequests doc type for logging requests to remote websites 76 RemoteRequests = "io.cozy.remote.requests" 77 // RemoteSecrets doc type for secrets used by remote doctypes 78 RemoteSecrets = "io.cozy.remote.secrets" 79 // Sessions doc type for sessions identifying a connection 80 Sessions = "io.cozy.sessions" 81 // SessionsLogins doc type for sessions identifying a connection 82 SessionsLogins = "io.cozy.sessions.logins" 83 // Settings doc type for settings to customize an instance 84 Settings = "io.cozy.settings" 85 // Shared doc type for keepking track of documents in sharings 86 Shared = "io.cozy.shared" 87 // Sharings doc type for document and file sharing 88 Sharings = "io.cozy.sharings" 89 // SharingsMembers doc type for members of a sharing 90 SharingsMembers = "io.cozy.sharings.members" 91 // SharingsAnswer doc type for credentials exchange for sharings 92 SharingsAnswer = "io.cozy.sharings.answer" 93 // SharingsMoved doc type for when a Cozy is moved to a new address 94 SharingsMoved = "io.cozy.sharings.moved" 95 // SharingsInitialSync doc type for real-time events for initial sync of a 96 // sharing 97 SharingsInitialSync = "io.cozy.sharings.initial_sync" 98 // Triggers doc type for triggers, jobs launchers 99 Triggers = "io.cozy.triggers" 100 // TriggersState doc type for triggers current state, jobs launchers 101 TriggersState = "io.cozy.triggers.state" 102 // Accounts doc type for accounts 103 Accounts = "io.cozy.accounts" 104 // SoftDeletedAccounts doc type for old revisions of deleted accounts 105 SoftDeletedAccounts = "io.cozy.accounts.soft_deleted" 106 // AccountTypes doc type for account types 107 AccountTypes = "io.cozy.account_types" 108 // BitwardenProfiles doc type for Bitwarden profile 109 BitwardenProfiles = "com.bitwarden.profiles" 110 // BitwardenCiphers doc type for Bitwarden ciphers 111 BitwardenCiphers = "com.bitwarden.ciphers" 112 // BitwardenFolders doc type for Bitwarden folders 113 BitwardenFolders = "com.bitwarden.folders" 114 // BitwardenOrganizations doc type for Bitwarden organizations 115 BitwardenOrganizations = "com.bitwarden.organizations" 116 // BitwardenContacts doc type for Bitwarden users that can be added to 117 // an organization 118 BitwardenContacts = "com.bitwarden.contacts" 119 // NotesDocuments doc type is used for manipulating the documents that 120 // represents a note before they are persisted to a file. 121 NotesDocuments = "io.cozy.notes.documents" 122 // NotesSteps doc type is used for patching a note. 123 NotesSteps = "io.cozy.notes.steps" 124 // NotesTelepointers doc type is used for the position of the cursor in a 125 // note. 126 NotesTelepointers = "io.cozy.notes.telepointers" 127 // NotesEvents doc type is used for realtime events related to a note, like 128 // a change of title. 129 NotesEvents = "io.cozy.notes.events" 130 // NotesURL doc type is used to return the URL where a note can be edited. 131 NotesURL = "io.cozy.notes.url" 132 // NotesImages doc type used for images used by a note 133 NotesImages = "io.cozy.notes.images" 134 // OfficeURL doc type is used to return the URL where an office document can be edited. 135 OfficeURL = "io.cozy.office.url" 136 // AuthConfirmations doc type used for realtime events when confirming 137 // authentication. 138 AuthConfirmations = "io.cozy.auth.confirmations" 139 // SourceAccountIdentifier doc type is used to link a directory to the 140 // konnector account that imports documents inside it. 141 SourceAccountIdentifier = "io.cozy.accounts.sourceAccountIdentifier" 142 // NextCloudFiles doc type is used when listing files from a NextCloud via 143 // WebDAV. 144 NextCloudFiles = "io.cozy.remote.nextcloud.files" 145 )