2023-10-15 12:49:18 +02:00
|
|
|
name: backups
|
|
|
|
meta:
|
|
|
|
isBackupcollection: true
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
public:
|
|
|
|
methods:
|
|
|
|
get: false
|
|
|
|
post: false
|
|
|
|
put: false
|
|
|
|
delete: false
|
|
|
|
user:
|
|
|
|
methods:
|
|
|
|
get: true
|
|
|
|
post: false
|
|
|
|
put: false
|
|
|
|
delete: false
|
|
|
|
|
|
|
|
# token als Zusatzsicherung gegen Spam, mehr siehe Hook
|
|
|
|
"token:${PUBLIC_TOKEN}":
|
|
|
|
methods:
|
|
|
|
get: false
|
|
|
|
post: true
|
|
|
|
put: false
|
|
|
|
delete: false
|
|
|
|
|
|
|
|
hooks:
|
|
|
|
post:
|
|
|
|
create:
|
|
|
|
type: javascript
|
|
|
|
file: hooks/backups/post_create.js
|
2024-01-27 19:58:35 +01:00
|
|
|
return:
|
|
|
|
type: javascript
|
|
|
|
file: hooks/clear_cache.js
|
|
|
|
put:
|
|
|
|
return:
|
|
|
|
type: javascript
|
|
|
|
file: hooks/clear_cache.js
|
2023-10-15 12:49:18 +02:00
|
|
|
|
|
|
|
fields:
|
|
|
|
- name: collectionName
|
|
|
|
type: string
|
|
|
|
meta:
|
2024-02-13 17:36:09 +01:00
|
|
|
label:
|
|
|
|
de: Collection Name
|
|
|
|
en: Collection Name
|
2023-10-15 12:49:18 +02:00
|
|
|
|
|
|
|
- name: entryId
|
|
|
|
type: string
|
|
|
|
meta:
|
2024-02-13 17:36:09 +01:00
|
|
|
label:
|
|
|
|
de: Entry ID
|
|
|
|
en: Entry ID
|
2023-10-15 12:49:18 +02:00
|
|
|
|
|
|
|
- name: versionNr
|
|
|
|
type: number
|
|
|
|
meta:
|
2024-02-13 17:36:09 +01:00
|
|
|
label:
|
|
|
|
de: Version Nr
|
|
|
|
en: Version Nr
|
2023-10-15 12:49:18 +02:00
|
|
|
|
|
|
|
- name: manipulatedBy
|
|
|
|
type: string
|
|
|
|
meta:
|
2024-02-13 17:36:09 +01:00
|
|
|
label:
|
|
|
|
de: Manipulated By
|
|
|
|
en: Manipulated By
|
2023-10-15 12:49:18 +02:00
|
|
|
|
|
|
|
- name: eventDescription
|
|
|
|
type: string
|
|
|
|
meta:
|
|
|
|
label: Event Description
|
|
|
|
widget: select
|
|
|
|
choices:
|
|
|
|
- id: create
|
2024-02-13 17:36:09 +01:00
|
|
|
name:
|
|
|
|
de: Erstellt
|
|
|
|
en: Create
|
2023-10-15 12:49:18 +02:00
|
|
|
- id: update
|
2024-02-13 17:36:09 +01:00
|
|
|
name:
|
|
|
|
de: Update
|
|
|
|
en: Update
|
2023-10-15 12:49:18 +02:00
|
|
|
- id: delete
|
2024-02-13 17:36:09 +01:00
|
|
|
name:
|
|
|
|
de: Gelöscht
|
|
|
|
en: Delete
|
2023-10-15 12:49:18 +02:00
|
|
|
- id: recreate
|
2024-02-13 17:36:09 +01:00
|
|
|
name:
|
|
|
|
de: Wiederhergestellt
|
|
|
|
en: Recreate
|
2023-10-15 12:49:18 +02:00
|
|
|
- id: activate
|
2024-02-13 17:36:09 +01:00
|
|
|
name:
|
|
|
|
de: Aktiviert
|
|
|
|
en: Activate
|
2023-10-15 12:49:18 +02:00
|
|
|
|
|
|
|
- name: updateLogs
|
|
|
|
type: object[]
|
|
|
|
meta:
|
2024-02-13 17:36:09 +01:00
|
|
|
label:
|
|
|
|
de: Veränderungen
|
|
|
|
en: Update Logs
|
2023-10-15 12:49:18 +02:00
|
|
|
|
|
|
|
subFields:
|
|
|
|
- name: field
|
|
|
|
type: string
|
|
|
|
meta:
|
2024-02-13 17:36:09 +01:00
|
|
|
label:
|
|
|
|
de: Feldname
|
|
|
|
en: Fieldname
|
2023-10-15 12:49:18 +02:00
|
|
|
|
|
|
|
- name: previous
|
|
|
|
type: string
|
|
|
|
meta:
|
2024-02-13 17:36:09 +01:00
|
|
|
label:
|
|
|
|
de: Vorheriger Wert
|
|
|
|
en: Previous Value
|
2023-10-15 12:49:18 +02:00
|
|
|
|
|
|
|
- name: current
|
|
|
|
type: string
|
|
|
|
meta:
|
2024-02-13 17:36:09 +01:00
|
|
|
label:
|
|
|
|
|
|
|
|
de: Aktueller Wert
|
|
|
|
en: Current Value
|
2023-10-15 12:49:18 +02:00
|
|
|
|
|
|
|
- name: entry
|
|
|
|
type: object
|
|
|
|
meta:
|
2024-02-13 17:36:09 +01:00
|
|
|
label:
|
|
|
|
de: Eintrag
|
|
|
|
en: Entry
|