mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
Merge branch 'main' into docker-bind-uploads
This commit is contained in:
commit
80456f8ea7
49
.github/workflows/test.build.docker.yml
vendored
Normal file
49
.github/workflows/test.build.docker.yml
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
name: "test:build test docker"
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
files-changed:
|
||||
name: Detect File Changes - build - docker
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
changes: ${{ steps.filter.outputs.build-docker }}
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.7
|
||||
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
|
||||
id: filter
|
||||
with:
|
||||
filters: |
|
||||
build-docker:
|
||||
- '.github/workflows/*'
|
||||
- '**/*'
|
||||
|
||||
build-production:
|
||||
if: needs.files-changed.outputs.changes == 'true'
|
||||
name: Build Docker Production
|
||||
needs: files-changed
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
WORKING_DIRECTORY: ./
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.7
|
||||
|
||||
- name: Build Docker Production
|
||||
run: docker compose -f docker-compose.yml build
|
||||
working-directory: ${{env.WORKING_DIRECTORY}}
|
||||
|
||||
#build-development:
|
||||
# if: needs.files-changed.outputs.changes == 'true'
|
||||
# name: Build Docker Development
|
||||
# needs: files-changed
|
||||
# runs-on: ubuntu-latest
|
||||
# env:
|
||||
# WORKING_DIRECTORY: ./
|
||||
# steps:
|
||||
# - name: Checkout code
|
||||
# uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.7
|
||||
#
|
||||
# - name: Build Docker Development
|
||||
# run: docker compose build
|
||||
# working-directory: ${{env.WORKING_DIRECTORY}}
|
||||
22
.github/workflows/test.build.lib.yml
vendored
22
.github/workflows/test.build.lib.yml
vendored
@ -1,12 +1,6 @@
|
||||
name: build:lib
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
files-changed:
|
||||
@ -62,3 +56,17 @@ jobs:
|
||||
npm install
|
||||
npm run build
|
||||
working-directory: lib/
|
||||
|
||||
results:
|
||||
if: ${{ always() }}
|
||||
runs-on: ubuntu-latest
|
||||
name: Test Example Apps - results
|
||||
needs: [build-examples]
|
||||
steps:
|
||||
- run: |
|
||||
result="${{ needs.build-examples.result }}"
|
||||
if [[ $result == "success" || $result == "skipped" ]]; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
VITE_OPEN_COLLECTIVE_API_KEY=your_key
|
||||
VITE_API_URL=https://api.utopia-lab.org
|
||||
VITE_API_URL=http://localhost:8055/
|
||||
#VITE_API_URL=https://api.utopia-lab.org
|
||||
VITE_VALIDATE_INVITE_FLOW_ID=01d61db0-25aa-4bfa-bc24-c6a8f208a455
|
||||
VITE_REDEEM_INVITE_FLOW_ID=cc80ec73-ecf5-4789-bee5-1127fb1a6ed4
|
||||
1
app/.gitignore
vendored
1
app/.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
node_modules/
|
||||
dist/
|
||||
.DS_Store
|
||||
.env
|
||||
@ -113,7 +113,7 @@ function App() {
|
||||
path: '/' + l.name, // url
|
||||
icon: (
|
||||
<SVG
|
||||
src={'https://api.utopia-lab.org/assets/' + l.indexIcon}
|
||||
src={config.apiUrl + 'assets/' + l.indexIcon}
|
||||
className='tw:w-6 tw:h-6'
|
||||
preProcessor={(code: string) =>
|
||||
code.replace(/stroke=".*?"/g, 'stroke="currentColor"')
|
||||
@ -134,7 +134,7 @@ function App() {
|
||||
link.rel = 'icon'
|
||||
document.getElementsByTagName('head')[0].appendChild(link)
|
||||
}
|
||||
link.href = map?.logo && 'https://api.utopia-lab.org/assets/' + map.logo // Specify the path to your favicon
|
||||
link.href = map?.logo && config.apiUrl + 'assets/' + map.logo // Specify the path to your favicon
|
||||
}
|
||||
|
||||
setLoading(false)
|
||||
@ -148,7 +148,7 @@ function App() {
|
||||
<div className='App tw:overflow-x-hidden'>
|
||||
<AuthProvider userApi={userApi} inviteApi={inviteApi}>
|
||||
<AppShell
|
||||
assetsApi={new assetsApi('https://api.utopia-lab.org/assets/')}
|
||||
assetsApi={new assetsApi(config.apiUrl + 'assets/')}
|
||||
appName={map.name}
|
||||
embedded={embedded}
|
||||
openCollectiveApiKey={config.openCollectiveApiKey}
|
||||
|
||||
@ -6,6 +6,8 @@
|
||||
import { useEffect, useState } from 'react'
|
||||
import { TextView } from 'utopia-ui'
|
||||
|
||||
import { config } from './config'
|
||||
|
||||
interface ChapterProps {
|
||||
clickAction1: () => void
|
||||
map?: any
|
||||
@ -31,7 +33,7 @@ export function Welcome1({ clickAction1, map }: ChapterProps) {
|
||||
<h3 className='tw:font-bold tw:text-lg'>Welcome to {map?.name || 'Utopia Map'}</h3>
|
||||
<img
|
||||
className='tw:float-right tw:w-32 tw:m-2'
|
||||
src={'https://api.utopia-lab.org/assets/' + map.logo}
|
||||
src={config.apiUrl + 'assets/' + map.logo}
|
||||
></img>
|
||||
<p className='tw:py-3'>
|
||||
It is a tool for collaborative mapping to connect local initiatives, people and events.
|
||||
|
||||
@ -4,6 +4,9 @@
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
||||
import { createDirectus, rest, authentication } from '@directus/sdk'
|
||||
|
||||
// eslint-disable-next-line import/no-relative-parent-imports
|
||||
import { config } from '../config'
|
||||
|
||||
import type { AuthenticationData, AuthenticationStorage } from '@directus/sdk'
|
||||
import type { Point } from 'geojson'
|
||||
import type { Item } from 'utopia-ui'
|
||||
@ -94,7 +97,7 @@ export async function getRefreshToken() {
|
||||
return auth!.refresh_token
|
||||
}
|
||||
|
||||
export const directusClient = createDirectus<MyCollections>('https://api.utopia-lab.org/')
|
||||
export const directusClient = createDirectus<MyCollections>(config.apiUrl)
|
||||
.with(rest())
|
||||
.with(
|
||||
authentication('json', {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
export const config = {
|
||||
apiUrl: String(import.meta.env.VITE_API_URL ?? 'https://api.utopia-lab.org'),
|
||||
apiUrl: String(import.meta.env.VITE_API_URL ?? 'http://localhost:8055/'),
|
||||
validateInviteFlowId: String(
|
||||
import.meta.env.VITE_VALIDATE_INVITE_FLOW_ID ?? '01d61db0-25aa-4bfa-bc24-c6a8f208a455',
|
||||
),
|
||||
|
||||
@ -12,6 +12,7 @@ import { useNavigate } from 'react-router-dom'
|
||||
import { MapOverlayPage } from 'utopia-ui'
|
||||
|
||||
import { itemsApi } from '../api/itemsApi'
|
||||
import { config } from '../config'
|
||||
|
||||
export const Landingpage = () => {
|
||||
const [isLandingpageVisible, setIsLandingpageVisible] = useState(true)
|
||||
@ -137,7 +138,7 @@ export const Landingpage = () => {
|
||||
<li key={idx}>
|
||||
<div className='w-24 h-24 mx-auto'>
|
||||
<img
|
||||
src={`https://api.utopia-lab.org/assets/${item.image}`}
|
||||
src={`${config.apiUrl}assets/${item.image}`}
|
||||
className='w-full h-full rounded-full'
|
||||
alt=''
|
||||
/>
|
||||
|
||||
@ -23,6 +23,7 @@ import {
|
||||
} from 'utopia-ui'
|
||||
|
||||
import { itemsApi } from '../api/itemsApi'
|
||||
import { config } from '../config'
|
||||
|
||||
import type { Place } from '../api/directus'
|
||||
import type { LayerProps } from 'utopia-ui'
|
||||
@ -94,7 +95,7 @@ function MapContainer({ layers, map }: { layers: LayerProps[]; map: any }) {
|
||||
id={layer.id}
|
||||
key={layer.id}
|
||||
name={layer.name}
|
||||
menuIcon={'https://api.utopia-lab.org/assets/' + layer.menuIcon}
|
||||
menuIcon={config.apiUrl + 'assets/' + layer.menuIcon}
|
||||
menuText={layer.menuText}
|
||||
menuColor={layer.menuColor}
|
||||
markerIcon={layer.markerIcon}
|
||||
|
||||
@ -1,5 +1,12 @@
|
||||
# Utopia Backend
|
||||
|
||||
To run the backend you can simply execute
|
||||
`docker-compose up`
|
||||
|
||||
## Pull Data from Docker to Harddrive
|
||||
In order to pull data from your locally running backend (see [docker-compose](../app/docker-compose.yml)) to your local harddrive, you can run the following command
|
||||
|
||||
|
||||
```
|
||||
npx directus-sync pull \
|
||||
--directus-url http://localhost:8055 \
|
||||
@ -7,6 +14,7 @@ npx directus-sync pull \
|
||||
--directus-password admin123
|
||||
```
|
||||
|
||||
## Push Data from Harddrive to Docker
|
||||
To push local changes or to seed directus use the following command
|
||||
```
|
||||
npx directus-sync push \
|
||||
@ -15,6 +23,91 @@ npx directus-sync push \
|
||||
--directus-password admin123
|
||||
```
|
||||
|
||||
## Seed Data for local development
|
||||
Seed the development data via:
|
||||
```
|
||||
npx directus-sync seed push \
|
||||
--directus-url http://localhost:8055 \
|
||||
--directus-email admin@it4c.dev \
|
||||
--directus-password admin123
|
||||
```
|
||||
|
||||
## Seed Data - find differences
|
||||
In order so see what changes would appear when seeding, you can execute:
|
||||
```
|
||||
npx directus-sync seed diff \
|
||||
--directus-url http://localhost:8055 \
|
||||
--directus-email admin@it4c.dev \
|
||||
--directus-password admin123
|
||||
```
|
||||
|
||||
## Backup Database
|
||||
Either keep a copy of the `/data/database` folder or run the following command to get an sql dump
|
||||
|
||||
```
|
||||
docker exec -t utopia-map-database-1 pg_dumpall -c -U directus > dump.sql
|
||||
```
|
||||
|
||||
## How to apply a database dump to the docker
|
||||
|
||||
Assuming you run docker-compose with the default postgress credentials and have the dump in cwd as ./dump.sql, execute:
|
||||
|
||||
Find current schema name:
|
||||
```
|
||||
echo "SELECT CURRENT_SCHEMA, CURRENT_SCHEMA();" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus"
|
||||
```
|
||||
> current_schema | current_schema
|
||||
> ----------------+----------------
|
||||
> public | public
|
||||
> (1 row)
|
||||
|
||||
Drop schemata (loses all data):
|
||||
```
|
||||
echo "DROP SCHEMA public CASCADE;" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus"
|
||||
|
||||
echo "DROP SCHEMA tiger CASCADE;" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus"
|
||||
|
||||
echo "DROP SCHEMA tiger_data CASCADE;" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus"
|
||||
|
||||
echo "DROP SCHEMA topology CASCADE;" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus"
|
||||
```
|
||||
> drop cascades to table ...
|
||||
> ...
|
||||
> DROP SCHEMA
|
||||
|
||||
Create the public schema again:
|
||||
```
|
||||
echo "CREATE SCHEMA public;" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus"
|
||||
```
|
||||
|
||||
Verify schemata:
|
||||
```
|
||||
echo "select schema_name from information_schema.schemata;" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus"
|
||||
```
|
||||
|
||||
Verify database is empty:
|
||||
```
|
||||
echo "\dt" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus directus"
|
||||
```
|
||||
> Did not find any relations.
|
||||
|
||||
Create admin role & grant it:
|
||||
```
|
||||
echo "CREATE ROLE admin;" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus directus"
|
||||
```
|
||||
|
||||
Apply dump:
|
||||
```
|
||||
docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql -v ON_ERROR_STOP=1 --username directus directus" < ./dump.sql
|
||||
```
|
||||
> Bring time depending on the dump size.
|
||||
|
||||
Reassign ownership of tables:
|
||||
```
|
||||
echo "REASSIGN OWNED BY admin TO directus" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus directus
|
||||
```
|
||||
> REASSIGN OWNED
|
||||
|
||||
## Access Data on local drive
|
||||
|
||||
In order to access the postgress data mounted to the local drive at `/data/database` you need to make it accessible (assuming you are not root):
|
||||
|
||||
@ -1 +1,191 @@
|
||||
[]
|
||||
[
|
||||
{
|
||||
"name": "get_item_by_secret",
|
||||
"icon": "bolt",
|
||||
"color": null,
|
||||
"description": null,
|
||||
"status": "active",
|
||||
"trigger": "webhook",
|
||||
"accountability": "all",
|
||||
"options": {},
|
||||
"operation": "8bf158c9-8540-4ce3-88da-0e5f17f76ed7",
|
||||
"_syncId": "01d61db0-25aa-4bfa-bc24-c6a8f208a455"
|
||||
},
|
||||
{
|
||||
"name": "Create initial secret",
|
||||
"icon": "bolt",
|
||||
"color": null,
|
||||
"description": "Creates a secret for an existing item, triggered by another flow",
|
||||
"status": "active",
|
||||
"trigger": "operation",
|
||||
"accountability": "all",
|
||||
"options": {
|
||||
"return": "$last"
|
||||
},
|
||||
"operation": "491e552d-539e-4474-bcf5-a94dcc43e67e",
|
||||
"_syncId": "234d13fe-112a-4408-9bdb-78dd8cbd6b82"
|
||||
},
|
||||
{
|
||||
"name": "Post Profiles to Murmurations",
|
||||
"icon": "bolt",
|
||||
"color": null,
|
||||
"description": null,
|
||||
"status": "inactive",
|
||||
"trigger": "event",
|
||||
"accountability": "all",
|
||||
"options": {
|
||||
"type": "action",
|
||||
"scope": [
|
||||
"items.create",
|
||||
"items.update"
|
||||
],
|
||||
"collections": [
|
||||
"updates"
|
||||
]
|
||||
},
|
||||
"operation": "c4d60433-bb2e-4d06-b10b-f3029b02963d",
|
||||
"_syncId": "5e320392-429d-4759-95ec-c5adcff61f01"
|
||||
},
|
||||
{
|
||||
"name": "Request Profile",
|
||||
"icon": "bolt",
|
||||
"color": null,
|
||||
"description": null,
|
||||
"status": "inactive",
|
||||
"trigger": "webhook",
|
||||
"accountability": "all",
|
||||
"options": {
|
||||
"return": "$all"
|
||||
},
|
||||
"operation": null,
|
||||
"_syncId": "6a48c246-2fb2-42ca-bebb-3f605e794d02"
|
||||
},
|
||||
{
|
||||
"name": "Initial item secrets trigger",
|
||||
"icon": "salinity",
|
||||
"color": null,
|
||||
"description": "Generate a secret for each item",
|
||||
"status": "active",
|
||||
"trigger": "manual",
|
||||
"accountability": "all",
|
||||
"options": {
|
||||
"collections": [
|
||||
"itemSecrets"
|
||||
],
|
||||
"requireSelection": false
|
||||
},
|
||||
"operation": "c5b9aa76-b524-47b8-acc5-dd0350a3a12a",
|
||||
"_syncId": "9a1d1084-438f-471e-aac5-47e0749375e7"
|
||||
},
|
||||
{
|
||||
"name": "Telegram-Bot-Trigger",
|
||||
"icon": "mark_chat_read",
|
||||
"color": "#3584E4",
|
||||
"description": null,
|
||||
"status": "active",
|
||||
"trigger": "event",
|
||||
"accountability": "all",
|
||||
"options": {
|
||||
"type": "action",
|
||||
"scope": [
|
||||
"items.update",
|
||||
"items.create"
|
||||
],
|
||||
"collections": [
|
||||
"items"
|
||||
]
|
||||
},
|
||||
"operation": "95ed41d5-f195-4ebb-b444-402cff7c4a12",
|
||||
"_syncId": "a78d01a4-13b3-46a4-8938-9606bf26e329"
|
||||
},
|
||||
{
|
||||
"name": "Item Notification Setup",
|
||||
"icon": "outgoing_mail",
|
||||
"color": "#C061CB",
|
||||
"description": "Inform Users about new items in layers they subscripe to ",
|
||||
"status": "active",
|
||||
"trigger": "event",
|
||||
"accountability": "all",
|
||||
"options": {
|
||||
"type": "action",
|
||||
"scope": [
|
||||
"items.create",
|
||||
"items.update"
|
||||
],
|
||||
"collections": [
|
||||
"items"
|
||||
]
|
||||
},
|
||||
"operation": "b95390e0-fa4c-4b2f-b7ea-a151b333229f",
|
||||
"_syncId": "bff21ad9-d142-4a6e-96fe-8da016576bc7"
|
||||
},
|
||||
{
|
||||
"name": "Create Secret",
|
||||
"icon": "azm",
|
||||
"color": null,
|
||||
"description": null,
|
||||
"status": "active",
|
||||
"trigger": "event",
|
||||
"accountability": "all",
|
||||
"options": {
|
||||
"type": "action",
|
||||
"scope": [
|
||||
"items.create"
|
||||
],
|
||||
"collections": [
|
||||
"items"
|
||||
]
|
||||
},
|
||||
"operation": "7b158384-5bce-4fd7-917a-4a61e53de6ec",
|
||||
"_syncId": "cbd7d15d-7f09-4f45-8060-3b24adabf82a"
|
||||
},
|
||||
{
|
||||
"name": "redeem-invite",
|
||||
"icon": "bolt",
|
||||
"color": null,
|
||||
"description": "Redeems an invite link (item secret)",
|
||||
"status": "active",
|
||||
"trigger": "webhook",
|
||||
"accountability": "all",
|
||||
"options": {
|
||||
"error_on_reject": true,
|
||||
"method": "POST"
|
||||
},
|
||||
"operation": "020070b2-cf09-4a0d-82d0-c90b334a70cc",
|
||||
"_syncId": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4"
|
||||
},
|
||||
{
|
||||
"name": "Send Item Notification Mail",
|
||||
"icon": "send",
|
||||
"color": "#C061CB",
|
||||
"description": null,
|
||||
"status": "active",
|
||||
"trigger": "operation",
|
||||
"accountability": "all",
|
||||
"options": {
|
||||
"return": "$last"
|
||||
},
|
||||
"operation": "bb96dab8-08c7-4b39-8ead-c2ed5d5a906c",
|
||||
"_syncId": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081"
|
||||
},
|
||||
{
|
||||
"name": "Slug Generation",
|
||||
"icon": "bolt",
|
||||
"color": null,
|
||||
"description": null,
|
||||
"status": "active",
|
||||
"trigger": "event",
|
||||
"accountability": "all",
|
||||
"options": {
|
||||
"type": "action",
|
||||
"scope": [
|
||||
"items.create"
|
||||
],
|
||||
"collections": [
|
||||
"items"
|
||||
]
|
||||
},
|
||||
"operation": "c7c8e08e-e94d-41f1-9b69-70251b2d3caf",
|
||||
"_syncId": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1"
|
||||
}
|
||||
]
|
||||
|
||||
@ -1 +1,57 @@
|
||||
[]
|
||||
[
|
||||
{
|
||||
"name": "146. Friedensbaum",
|
||||
"parent": "50431387-c49b-44bd-9311-911bf542163d",
|
||||
"_syncId": "0b4ad883-d49f-4197-9941-24ae11f9a6eb"
|
||||
},
|
||||
{
|
||||
"name": "outline",
|
||||
"parent": "a5d15142-dd36-4194-bee5-13ddc420a99d",
|
||||
"_syncId": "0b66498d-8ee3-48fc-8fe7-72b6f86d8d0f"
|
||||
},
|
||||
{
|
||||
"name": "Docutopia Avatars",
|
||||
"parent": null,
|
||||
"_syncId": "0c7f264e-9946-4372-9e30-e4680b6cc2e2"
|
||||
},
|
||||
{
|
||||
"name": "map-logos",
|
||||
"parent": null,
|
||||
"_syncId": "27b2a288-d50a-48b7-88cd-35945503277b"
|
||||
},
|
||||
{
|
||||
"name": "fotos",
|
||||
"parent": null,
|
||||
"_syncId": "2daee21f-52b8-4152-88e9-ccf18169dcf0"
|
||||
},
|
||||
{
|
||||
"name": "item-avatars",
|
||||
"parent": null,
|
||||
"_syncId": "43837abb-cc52-4439-ac98-e3671cbc7773"
|
||||
},
|
||||
{
|
||||
"name": "Friedensbaum",
|
||||
"parent": null,
|
||||
"_syncId": "50431387-c49b-44bd-9311-911bf542163d"
|
||||
},
|
||||
{
|
||||
"name": "marker-icons",
|
||||
"parent": null,
|
||||
"_syncId": "889a110a-a117-40fa-b091-5c5a2766563f"
|
||||
},
|
||||
{
|
||||
"name": "heroicons",
|
||||
"parent": null,
|
||||
"_syncId": "a5d15142-dd36-4194-bee5-13ddc420a99d"
|
||||
},
|
||||
{
|
||||
"name": "solid",
|
||||
"parent": "a5d15142-dd36-4194-bee5-13ddc420a99d",
|
||||
"_syncId": "a97106b4-218b-45df-adc9-36184886e285"
|
||||
},
|
||||
{
|
||||
"name": "Würdekompass",
|
||||
"parent": null,
|
||||
"_syncId": "f612af27-e7dd-43f0-bde9-2f960f8897be"
|
||||
}
|
||||
]
|
||||
|
||||
@ -1 +1,793 @@
|
||||
[]
|
||||
[
|
||||
{
|
||||
"name": "Backend-Operation",
|
||||
"key": "backend_operation",
|
||||
"type": "condition",
|
||||
"position_x": 25,
|
||||
"position_y": 22,
|
||||
"options": {
|
||||
"filter": {
|
||||
"$accountability": {
|
||||
"origin": {
|
||||
"_neq": "https://api.utopia-lab.org"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"resolve": "8cc15ed4-8372-4a45-abaa-df19d560b01a",
|
||||
"reject": null,
|
||||
"flow": "a78d01a4-13b3-46a4-8938-9606bf26e329",
|
||||
"_syncId": "30c1dc02-2ccb-4b45-9668-dcf9fd2b6f1c"
|
||||
},
|
||||
{
|
||||
"name": "Condition",
|
||||
"key": "condition_r2r2k",
|
||||
"type": "condition",
|
||||
"position_x": 36,
|
||||
"position_y": 19,
|
||||
"options": {
|
||||
"filter": {
|
||||
"$last": {
|
||||
"result": {
|
||||
"_eq": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"resolve": "34a6106b-7789-4212-8bdc-e54798e2eca7",
|
||||
"reject": "c548ce31-7864-4b71-af5f-9c6c0484f6a5",
|
||||
"flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4",
|
||||
"_syncId": "c6568ed4-4a25-4439-b491-82b3924937b7"
|
||||
},
|
||||
{
|
||||
"name": "Condition",
|
||||
"key": "condition_wl4bz",
|
||||
"type": "condition",
|
||||
"position_x": 58,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"filter": {
|
||||
"$last": {
|
||||
"_eq": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"resolve": "57f3b6fe-4cf9-4a11-984f-320d80246980",
|
||||
"reject": "e58a5edc-0ecb-42f3-89b1-c0306af1ed15",
|
||||
"flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1",
|
||||
"_syncId": "432dcfa2-28c5-4d75-884f-706877984bd6"
|
||||
},
|
||||
{
|
||||
"name": "Create item secret",
|
||||
"key": "create_item_secret",
|
||||
"type": "item-create",
|
||||
"position_x": 19,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"permissions": "$full",
|
||||
"emitEvents": false,
|
||||
"collection": "itemSecrets",
|
||||
"payload": {
|
||||
"item": "{{ $trigger.item }}"
|
||||
}
|
||||
},
|
||||
"resolve": null,
|
||||
"reject": null,
|
||||
"flow": "234d13fe-112a-4408-9bdb-78dd8cbd6b82",
|
||||
"_syncId": "491e552d-539e-4474-bcf5-a94dcc43e67e"
|
||||
},
|
||||
{
|
||||
"name": "Create secret",
|
||||
"key": "create_secret",
|
||||
"type": "item-create",
|
||||
"position_x": 25,
|
||||
"position_y": 2,
|
||||
"options": {
|
||||
"permissions": "$full",
|
||||
"emitEvents": false,
|
||||
"collection": "itemSecrets",
|
||||
"payload": {
|
||||
"item": "{{ $trigger.key }}"
|
||||
}
|
||||
},
|
||||
"resolve": null,
|
||||
"reject": null,
|
||||
"flow": "cbd7d15d-7f09-4f45-8060-3b24adabf82a",
|
||||
"_syncId": "7b158384-5bce-4fd7-917a-4a61e53de6ec"
|
||||
},
|
||||
{
|
||||
"name": "Run Script",
|
||||
"key": "exec_a3592",
|
||||
"type": "exec",
|
||||
"position_x": 37,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"code": "module.exports = async function(data) {\n\treturn data['$last'].map((item) => {\n \treturn {\n item: item.id,\n };\n });\n}"
|
||||
},
|
||||
"resolve": "2d4009c7-0a19-4c55-813c-f1e0f3de1bf0",
|
||||
"reject": null,
|
||||
"flow": "9a1d1084-438f-471e-aac5-47e0749375e7",
|
||||
"_syncId": "34632268-e471-42d0-aede-292069da3ed2"
|
||||
},
|
||||
{
|
||||
"name": "does_relation_exist",
|
||||
"key": "exec_b85vb",
|
||||
"type": "exec",
|
||||
"position_x": 19,
|
||||
"position_y": 19,
|
||||
"options": {
|
||||
"code": "module.exports = async function(data) {\n\treturn {\n \tresult: data['$last'].length > 0\n };\n}"
|
||||
},
|
||||
"resolve": "c6568ed4-4a25-4439-b491-82b3924937b7",
|
||||
"reject": null,
|
||||
"flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4",
|
||||
"_syncId": "2532ca4a-8804-4d52-b656-1deedb7f2169"
|
||||
},
|
||||
{
|
||||
"name": "get Creator",
|
||||
"key": "get_creator",
|
||||
"type": "item-read",
|
||||
"position_x": 73,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"permissions": "$full",
|
||||
"emitEvents": false,
|
||||
"collection": "directus_users",
|
||||
"query": {
|
||||
"fields:": "first_name"
|
||||
},
|
||||
"key": [
|
||||
"{{$trigger.user_created}}"
|
||||
]
|
||||
},
|
||||
"resolve": "4ed7ef1e-df2c-4431-869c-5db36566c89e",
|
||||
"reject": null,
|
||||
"flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081",
|
||||
"_syncId": "df666750-86d0-4e92-b01c-d54bb25b5e10"
|
||||
},
|
||||
{
|
||||
"name": "get_existing_relation",
|
||||
"key": "get_existing_relation",
|
||||
"type": "item-read",
|
||||
"position_x": 2,
|
||||
"position_y": 19,
|
||||
"options": {
|
||||
"permissions": "$full",
|
||||
"emitEvents": false,
|
||||
"collection": "items_items",
|
||||
"query": {
|
||||
"filter": {
|
||||
"type": {
|
||||
"_eq": "is_following"
|
||||
},
|
||||
"items_id": {
|
||||
"_eq": "{{ $trigger.body.item }}"
|
||||
},
|
||||
"related_items_id": {
|
||||
"_eq": "{{ $last[0].item }}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"resolve": "2532ca4a-8804-4d52-b656-1deedb7f2169",
|
||||
"reject": null,
|
||||
"flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4",
|
||||
"_syncId": "0ef676a7-39b0-491e-8f42-21033af08078"
|
||||
},
|
||||
{
|
||||
"name": "Get Item",
|
||||
"key": "get_item",
|
||||
"type": "item-read",
|
||||
"position_x": 37,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"permissions": "$trigger",
|
||||
"emitEvents": false,
|
||||
"collection": "items",
|
||||
"key": [
|
||||
"{{$trigger.item}}"
|
||||
],
|
||||
"query": {
|
||||
"fields": "name"
|
||||
}
|
||||
},
|
||||
"resolve": "7aedff00-97c2-4865-9202-6015188303dc",
|
||||
"reject": null,
|
||||
"flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081",
|
||||
"_syncId": "e41ca97f-b3f6-4baa-a910-db2913c9fe25"
|
||||
},
|
||||
{
|
||||
"name": "Get Map",
|
||||
"key": "get_map",
|
||||
"type": "item-read",
|
||||
"position_x": 55,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"permissions": "$trigger",
|
||||
"emitEvents": false,
|
||||
"collection": "maps",
|
||||
"query": {
|
||||
"filter": {
|
||||
"url": {
|
||||
"_eq": "{{$trigger.map_url}}"
|
||||
}
|
||||
},
|
||||
"fields": "name,logo"
|
||||
}
|
||||
},
|
||||
"resolve": "df666750-86d0-4e92-b01c-d54bb25b5e10",
|
||||
"reject": null,
|
||||
"flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081",
|
||||
"_syncId": "7aedff00-97c2-4865-9202-6015188303dc"
|
||||
},
|
||||
{
|
||||
"name": "Get Subscriber",
|
||||
"key": "get_subscriber",
|
||||
"type": "item-read",
|
||||
"position_x": 19,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"permissions": "$full",
|
||||
"emitEvents": false,
|
||||
"collection": "directus_users",
|
||||
"key": [
|
||||
"{{$trigger.subscriber}}"
|
||||
],
|
||||
"query": {
|
||||
"fields": "email, first_name"
|
||||
}
|
||||
},
|
||||
"resolve": "e41ca97f-b3f6-4baa-a910-db2913c9fe25",
|
||||
"reject": null,
|
||||
"flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081",
|
||||
"_syncId": "bb96dab8-08c7-4b39-8ead-c2ed5d5a906c"
|
||||
},
|
||||
{
|
||||
"name": "Read Items",
|
||||
"key": "item_create_jqtv7",
|
||||
"type": "item-read",
|
||||
"position_x": 19,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"permissions": "$trigger",
|
||||
"emitEvents": false,
|
||||
"collection": "items",
|
||||
"query": {
|
||||
"limit": -1
|
||||
}
|
||||
},
|
||||
"resolve": "34632268-e471-42d0-aede-292069da3ed2",
|
||||
"reject": null,
|
||||
"flow": "9a1d1084-438f-471e-aac5-47e0749375e7",
|
||||
"_syncId": "c5b9aa76-b524-47b8-acc5-dd0350a3a12a"
|
||||
},
|
||||
{
|
||||
"name": "Create Data",
|
||||
"key": "item_create_x8h5h",
|
||||
"type": "item-create",
|
||||
"position_x": 37,
|
||||
"position_y": 36,
|
||||
"options": {
|
||||
"permissions": "$full",
|
||||
"emitEvents": false,
|
||||
"collection": "items_items",
|
||||
"payload": {
|
||||
"items_id": "{{ $trigger.body.item }}",
|
||||
"related_items_id": "{{ read_data[0].item }}",
|
||||
"type": "is_following"
|
||||
}
|
||||
},
|
||||
"resolve": "5583fd94-c481-4a08-8632-115a2ce85577",
|
||||
"reject": null,
|
||||
"flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4",
|
||||
"_syncId": "c548ce31-7864-4b71-af5f-9c6c0484f6a5"
|
||||
},
|
||||
{
|
||||
"name": "Read Data",
|
||||
"key": "item_read_0u34g",
|
||||
"type": "item-read",
|
||||
"position_x": 4,
|
||||
"position_y": 47,
|
||||
"options": {
|
||||
"collection": "layers",
|
||||
"key": "{{$last.layer}}"
|
||||
},
|
||||
"resolve": "a0be4bc8-1fe0-40fd-8cc7-01be6b25f5cb",
|
||||
"reject": null,
|
||||
"flow": "a78d01a4-13b3-46a4-8938-9606bf26e329",
|
||||
"_syncId": "9823c564-3872-495a-b343-6108e328b0e4"
|
||||
},
|
||||
{
|
||||
"name": "Read Data",
|
||||
"key": "item_read_3ku1k",
|
||||
"type": "item-read",
|
||||
"position_x": 38,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"collection": "items",
|
||||
"query": {
|
||||
"filter": {
|
||||
"slug": {
|
||||
"_starts_with": "{{$last}}"
|
||||
}
|
||||
},
|
||||
"aggregate": {
|
||||
"count": "*"
|
||||
}
|
||||
}
|
||||
},
|
||||
"resolve": "a1df90fb-43dd-4753-b1d5-437c2eb8ad9f",
|
||||
"reject": null,
|
||||
"flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1",
|
||||
"_syncId": "ac036523-bc4d-4230-9475-01085fa4f8e1"
|
||||
},
|
||||
{
|
||||
"name": "Read Data",
|
||||
"key": "item_read_3udhm",
|
||||
"type": "item-read",
|
||||
"position_x": 19,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"permissions": "$trigger",
|
||||
"emitEvents": false,
|
||||
"collection": "items",
|
||||
"key": [
|
||||
"{{$trigger.payload.id}}"
|
||||
]
|
||||
},
|
||||
"resolve": "0be87499-c06d-4cf9-9212-27729ec5ad4e",
|
||||
"reject": null,
|
||||
"flow": "bff21ad9-d142-4a6e-96fe-8da016576bc7",
|
||||
"_syncId": "b95390e0-fa4c-4b2f-b7ea-a151b333229f"
|
||||
},
|
||||
{
|
||||
"name": "Read Data",
|
||||
"key": "item_read_9qv1c",
|
||||
"type": "item-read",
|
||||
"position_x": 19,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"permissions": "$full",
|
||||
"emitEvents": false,
|
||||
"collection": "itemSecrets",
|
||||
"query": {
|
||||
"filter": {
|
||||
"secret": {
|
||||
"_eq": "{{$trigger.query.secret}}"
|
||||
}
|
||||
}
|
||||
},
|
||||
"key": []
|
||||
},
|
||||
"resolve": null,
|
||||
"reject": null,
|
||||
"flow": "01d61db0-25aa-4bfa-bc24-c6a8f208a455",
|
||||
"_syncId": "8bf158c9-8540-4ce3-88da-0e5f17f76ed7"
|
||||
},
|
||||
{
|
||||
"name": "Read Data",
|
||||
"key": "item_read_bls9m",
|
||||
"type": "item-read",
|
||||
"position_x": 5,
|
||||
"position_y": 22,
|
||||
"options": {
|
||||
"collection": "items",
|
||||
"key": "{{$trigger.payload.id}}"
|
||||
},
|
||||
"resolve": "9823c564-3872-495a-b343-6108e328b0e4",
|
||||
"reject": null,
|
||||
"flow": "a78d01a4-13b3-46a4-8938-9606bf26e329",
|
||||
"_syncId": "95ed41d5-f195-4ebb-b444-402cff7c4a12"
|
||||
},
|
||||
{
|
||||
"name": "Read Data",
|
||||
"key": "item_read_p8h47",
|
||||
"type": "item-read",
|
||||
"position_x": 22,
|
||||
"position_y": 49,
|
||||
"options": {
|
||||
"collection": "layers_maps"
|
||||
},
|
||||
"resolve": "373efd9a-c3c2-4bfc-b8d1-cd9b6f8492f9",
|
||||
"reject": null,
|
||||
"flow": "a78d01a4-13b3-46a4-8938-9606bf26e329",
|
||||
"_syncId": "a0be4bc8-1fe0-40fd-8cc7-01be6b25f5cb"
|
||||
},
|
||||
{
|
||||
"name": "Read Data",
|
||||
"key": "item_read_q6u16",
|
||||
"type": "item-read",
|
||||
"position_x": 41,
|
||||
"position_y": 49,
|
||||
"options": {
|
||||
"collection": "maps"
|
||||
},
|
||||
"resolve": "30c1dc02-2ccb-4b45-9668-dcf9fd2b6f1c",
|
||||
"reject": null,
|
||||
"flow": "a78d01a4-13b3-46a4-8938-9606bf26e329",
|
||||
"_syncId": "373efd9a-c3c2-4bfc-b8d1-cd9b6f8492f9"
|
||||
},
|
||||
{
|
||||
"name": "Update Data",
|
||||
"key": "item_update_chszs",
|
||||
"type": "item-update",
|
||||
"position_x": 100,
|
||||
"position_y": 17,
|
||||
"options": {
|
||||
"collection": "items",
|
||||
"query": {
|
||||
"filter": {
|
||||
"id": {
|
||||
"_eq": "{{$trigger.payload.id}}"
|
||||
}
|
||||
}
|
||||
},
|
||||
"payload": {
|
||||
"slug": "{{slugify}}-{{singelton}}"
|
||||
}
|
||||
},
|
||||
"resolve": null,
|
||||
"reject": null,
|
||||
"flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1",
|
||||
"_syncId": "e58a5edc-0ecb-42f3-89b1-c0306af1ed15"
|
||||
},
|
||||
{
|
||||
"name": "Update Data",
|
||||
"key": "item_update_pv6i8",
|
||||
"type": "item-update",
|
||||
"position_x": 99,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"payload": {
|
||||
"slug": "{{slugify}}"
|
||||
},
|
||||
"query": {
|
||||
"filter": {
|
||||
"id": {
|
||||
"_eq": "{{$trigger.payload.id}}"
|
||||
}
|
||||
}
|
||||
},
|
||||
"collection": "items"
|
||||
},
|
||||
"resolve": null,
|
||||
"reject": null,
|
||||
"flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1",
|
||||
"_syncId": "57f3b6fe-4cf9-4a11-984f-320d80246980"
|
||||
},
|
||||
{
|
||||
"name": "Log to Console",
|
||||
"key": "log_tj8ei",
|
||||
"type": "log",
|
||||
"position_x": 37,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"message": "{{$last}}"
|
||||
},
|
||||
"resolve": null,
|
||||
"reject": null,
|
||||
"flow": "5e320392-429d-4759-95ec-c5adcff61f01",
|
||||
"_syncId": "f26cd8dd-9fda-4019-9f81-d2a9de999c14"
|
||||
},
|
||||
{
|
||||
"name": "Send Email",
|
||||
"key": "mail_kmf07",
|
||||
"type": "mail",
|
||||
"position_x": 91,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"type": "markdown",
|
||||
"subject": "{{get_item.name}} {{$trigger.event}}",
|
||||
"to": [
|
||||
"{{get_subscriber.email}}"
|
||||
],
|
||||
"body": "Hi {{get_subscriber.first_name}},\n\n{{get_creator.first_name}} has {{$trigger.event}} [{{get_item.name}}]({{$trigger.map_url}}/item/{{$trigger.item}}) on [{{get_map[0].name}}]({{$trigger.map_url}}/item/{{$trigger.item}})."
|
||||
},
|
||||
"resolve": null,
|
||||
"reject": null,
|
||||
"flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081",
|
||||
"_syncId": "4ed7ef1e-df2c-4431-869c-5db36566c89e"
|
||||
},
|
||||
{
|
||||
"name": "prepare Mails",
|
||||
"key": "prepare_mails",
|
||||
"type": "exec",
|
||||
"position_x": 55,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"code": "module.exports = async function(data) {\n\treturn data['$last'].map((item) => {\n \treturn {\n event: data['$trigger'].event === \"items.items.create\" ? \"created\" : \"updated\",\n item: data['$trigger'].payload.id,\n user_created: data['$accountability'].user,\n subscriber: item.directus_users_id,\n \t\t\tmap_url: data['$accountability'].origin,\n };\n });\n}"
|
||||
},
|
||||
"resolve": "661c5585-4833-46b0-82aa-72be37ec0ff2",
|
||||
"reject": null,
|
||||
"flow": "bff21ad9-d142-4a6e-96fe-8da016576bc7",
|
||||
"_syncId": "00e09aa0-d3d3-492a-8a17-f9b74f421954"
|
||||
},
|
||||
{
|
||||
"name": "Prepare Profile for Murmurations",
|
||||
"key": "prepare_profile_for_murmurations",
|
||||
"type": "transform",
|
||||
"position_x": 19,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"json": {
|
||||
"linked_schemas": [
|
||||
"people_schema-v0.1.0"
|
||||
],
|
||||
"name": "{{$last.user_created.firstname}}",
|
||||
"nickname": "{{$last.user_created.firstname}}",
|
||||
"image": "{{$last.user_created.avatar}}",
|
||||
"geolocation": {
|
||||
"lat": 50.43312645607191,
|
||||
"lon": 9.714832305908205
|
||||
}
|
||||
}
|
||||
},
|
||||
"resolve": "f26cd8dd-9fda-4019-9f81-d2a9de999c14",
|
||||
"reject": null,
|
||||
"flow": "5e320392-429d-4759-95ec-c5adcff61f01",
|
||||
"_syncId": "c4d60433-bb2e-4d06-b10b-f3029b02963d"
|
||||
},
|
||||
{
|
||||
"name": "read data",
|
||||
"key": "read_data",
|
||||
"type": "item-read",
|
||||
"position_x": 52,
|
||||
"position_y": 2,
|
||||
"options": {
|
||||
"permissions": "$full",
|
||||
"emitEvents": false,
|
||||
"collection": "itemSecrets",
|
||||
"query": {
|
||||
"filter": {
|
||||
"secret": {
|
||||
"_eq": "{{$trigger.body.secret}}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"resolve": "0ef676a7-39b0-491e-8f42-21033af08078",
|
||||
"reject": null,
|
||||
"flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4",
|
||||
"_syncId": "ae1677c8-3114-4015-9115-b9e763a7d5e1"
|
||||
},
|
||||
{
|
||||
"name": "Read Layer IDs",
|
||||
"key": "read_layers_ids",
|
||||
"type": "item-read",
|
||||
"position_x": 37,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"permissions": "$full",
|
||||
"emitEvents": false,
|
||||
"collection": "layers_directus_users_1",
|
||||
"key": [],
|
||||
"query": {
|
||||
"filter": {
|
||||
"layers_id": {
|
||||
"_eq": "{{$last.layer}}"
|
||||
}
|
||||
},
|
||||
"fields": "directus_users_id"
|
||||
}
|
||||
},
|
||||
"resolve": "00e09aa0-d3d3-492a-8a17-f9b74f421954",
|
||||
"reject": null,
|
||||
"flow": "bff21ad9-d142-4a6e-96fe-8da016576bc7",
|
||||
"_syncId": "0be87499-c06d-4cf9-9212-27729ec5ad4e"
|
||||
},
|
||||
{
|
||||
"name": "read user items",
|
||||
"key": "read_user_items",
|
||||
"type": "item-read",
|
||||
"position_x": 19,
|
||||
"position_y": 2,
|
||||
"options": {
|
||||
"permissions": "$full",
|
||||
"emitEvents": false,
|
||||
"collection": "items",
|
||||
"query": {
|
||||
"filter": {
|
||||
"user_created": {
|
||||
"_eq": "{{$accountability.user}}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"resolve": "feca5834-de50-4593-9df4-7f9ec81f8c71",
|
||||
"reject": null,
|
||||
"flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4",
|
||||
"_syncId": "020070b2-cf09-4a0d-82d0-c90b334a70cc"
|
||||
},
|
||||
{
|
||||
"name": "Webhook / Request URL",
|
||||
"key": "request_dvnuy",
|
||||
"type": "request",
|
||||
"position_x": 31,
|
||||
"position_y": 24,
|
||||
"options": {
|
||||
"method": "POST",
|
||||
"url": "https://test-index.murmurations.network/v2/nodes",
|
||||
"headers": [
|
||||
{
|
||||
"header": "accept",
|
||||
"value": "application/json"
|
||||
},
|
||||
{
|
||||
"header": "Content-Type",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"body": "{\n \"profile_url\": \"https://somenode.org/optional-subdirectory/node-profile.json\"\n}"
|
||||
},
|
||||
"resolve": null,
|
||||
"reject": null,
|
||||
"flow": "5e320392-429d-4759-95ec-c5adcff61f01",
|
||||
"_syncId": "6d14f1a8-cd2b-4dc1-9df3-5297f1e99cf0"
|
||||
},
|
||||
{
|
||||
"name": "Webhook updated",
|
||||
"key": "request_juotc",
|
||||
"type": "request",
|
||||
"position_x": 48,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"url": "https://telegram-bot.utopia-lab.org/send_message",
|
||||
"method": "POST",
|
||||
"body": "{\"message\": \"**[{{$trigger.payload.name}}]({{$accountability.origin}}/item/{{$trigger.payload.id}})** updated\"}",
|
||||
"headers": [
|
||||
{
|
||||
"header": "Content-Type",
|
||||
"value": "application/json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"resolve": null,
|
||||
"reject": null,
|
||||
"flow": "a78d01a4-13b3-46a4-8938-9606bf26e329",
|
||||
"_syncId": "4cd7018f-74a1-4cae-b185-3ee2b82ae1bd"
|
||||
},
|
||||
{
|
||||
"name": "Webhook created",
|
||||
"key": "request_juotc_izixm",
|
||||
"type": "request",
|
||||
"position_x": 48,
|
||||
"position_y": 17,
|
||||
"options": {
|
||||
"url": "https://telegram-bot.utopia-lab.org/send_message",
|
||||
"method": "POST",
|
||||
"body": "{\"message\": \"**[{{$trigger.payload.name}}]({{$accountability.origin}}/item/{{$trigger.payload.id}})** created\"}",
|
||||
"headers": [
|
||||
{
|
||||
"header": "Content-Type",
|
||||
"value": "application/json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"resolve": null,
|
||||
"reject": null,
|
||||
"flow": "a78d01a4-13b3-46a4-8938-9606bf26e329",
|
||||
"_syncId": "05cdab2d-9373-494a-a13b-9a8cd6b9ea90"
|
||||
},
|
||||
{
|
||||
"name": "return inviting item",
|
||||
"key": "return_inviting_item",
|
||||
"type": "exec",
|
||||
"position_x": 56,
|
||||
"position_y": 36,
|
||||
"options": {
|
||||
"code": "module.exports = async function(data) {\n\treturn data.read_data[0].item\n}"
|
||||
},
|
||||
"resolve": null,
|
||||
"reject": null,
|
||||
"flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4",
|
||||
"_syncId": "5583fd94-c481-4a08-8632-115a2ce85577"
|
||||
},
|
||||
{
|
||||
"name": "return inviting item",
|
||||
"key": "return_inviting_item_uxzvf",
|
||||
"type": "exec",
|
||||
"position_x": 54,
|
||||
"position_y": 19,
|
||||
"options": {
|
||||
"code": "module.exports = async function(data) {\n\treturn data.read_data[0].item\n}"
|
||||
},
|
||||
"resolve": null,
|
||||
"reject": null,
|
||||
"flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4",
|
||||
"_syncId": "34a6106b-7789-4212-8bdc-e54798e2eca7"
|
||||
},
|
||||
{
|
||||
"name": "singelton",
|
||||
"key": "singelton",
|
||||
"type": "exec",
|
||||
"position_x": 57,
|
||||
"position_y": 16,
|
||||
"options": {
|
||||
"code": "module.exports = async function(data) {\n\treturn data.$last[0].count\n}"
|
||||
},
|
||||
"resolve": "432dcfa2-28c5-4d75-884f-706877984bd6",
|
||||
"reject": null,
|
||||
"flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1",
|
||||
"_syncId": "a1df90fb-43dd-4753-b1d5-437c2eb8ad9f"
|
||||
},
|
||||
{
|
||||
"name": "slugify",
|
||||
"key": "slugify",
|
||||
"type": "exec",
|
||||
"position_x": 19,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"code": "module.exports = async function (data) {\n\tconst text = data.$trigger.payload.name;\n\n\tconst slug = text\n\t\t.toLowerCase()\n\t\t.trim()\n\t\t.replace(/[^\\w\\s-]/g, '')\n\t\t.replace(/[\\s_-]+/g, '-')\n\t\t.replace(/^-+|-+$/g, '');\n\n\treturn slug;\n};"
|
||||
},
|
||||
"resolve": "ac036523-bc4d-4230-9475-01085fa4f8e1",
|
||||
"reject": null,
|
||||
"flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1",
|
||||
"_syncId": "c7c8e08e-e94d-41f1-9b69-70251b2d3caf"
|
||||
},
|
||||
{
|
||||
"name": "test item ownership",
|
||||
"key": "test_item_ownership",
|
||||
"type": "exec",
|
||||
"position_x": 36,
|
||||
"position_y": 2,
|
||||
"options": {
|
||||
"code": "module.exports = async function(data) {\n\tif (!data.$last.some(item => item.id === data.$trigger.body.item)) {\n throw new Error('Not your item')\n }\n return {};\n}"
|
||||
},
|
||||
"resolve": "ae1677c8-3114-4015-9115-b9e763a7d5e1",
|
||||
"reject": null,
|
||||
"flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4",
|
||||
"_syncId": "feca5834-de50-4593-9df4-7f9ec81f8c71"
|
||||
},
|
||||
{
|
||||
"name": "Trigger Send Email",
|
||||
"key": "trigger_4tvps",
|
||||
"type": "trigger",
|
||||
"position_x": 73,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"iterationMode": "parallel",
|
||||
"flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081",
|
||||
"payload": "{{$last}}"
|
||||
},
|
||||
"resolve": null,
|
||||
"reject": null,
|
||||
"flow": "bff21ad9-d142-4a6e-96fe-8da016576bc7",
|
||||
"_syncId": "661c5585-4833-46b0-82aa-72be37ec0ff2"
|
||||
},
|
||||
{
|
||||
"name": "trigger create secret flow",
|
||||
"key": "trigger_create_secret_flow",
|
||||
"type": "trigger",
|
||||
"position_x": 55,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"iterationMode": "parallel",
|
||||
"payload": "{{ $last }}",
|
||||
"flow": "234d13fe-112a-4408-9bdb-78dd8cbd6b82"
|
||||
},
|
||||
"resolve": null,
|
||||
"reject": null,
|
||||
"flow": "9a1d1084-438f-471e-aac5-47e0749375e7",
|
||||
"_syncId": "2d4009c7-0a19-4c55-813c-f1e0f3de1bf0"
|
||||
},
|
||||
{
|
||||
"name": "Updated?",
|
||||
"key": "updated",
|
||||
"type": "condition",
|
||||
"position_x": 21,
|
||||
"position_y": 1,
|
||||
"options": {
|
||||
"filter": {
|
||||
"$trigger": {
|
||||
"event": {
|
||||
"_eq": "items.items.update"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"resolve": "4cd7018f-74a1-4cae-b185-3ee2b82ae1bd",
|
||||
"reject": "05cdab2d-9373-494a-a13b-9a8cd6b9ea90",
|
||||
"flow": "a78d01a4-13b3-46a4-8938-9606bf26e329",
|
||||
"_syncId": "8cc15ed4-8372-4a45-abaa-df19d560b01a"
|
||||
}
|
||||
]
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -2,7 +2,7 @@
|
||||
{
|
||||
"name": "Administrator",
|
||||
"icon": "verified",
|
||||
"description": "$t:admin_description",
|
||||
"description": "$t:admin_policy_description",
|
||||
"ip_access": null,
|
||||
"enforce_tfa": false,
|
||||
"admin_access": true,
|
||||
@ -10,11 +10,63 @@
|
||||
"roles": [
|
||||
{
|
||||
"role": "_sync_default_admin_role",
|
||||
"sort": null
|
||||
"sort": 1
|
||||
}
|
||||
],
|
||||
"_syncId": "_sync_default_admin_policy"
|
||||
},
|
||||
{
|
||||
"name": "App Access",
|
||||
"icon": "badge",
|
||||
"description": null,
|
||||
"ip_access": null,
|
||||
"enforce_tfa": false,
|
||||
"admin_access": false,
|
||||
"app_access": true,
|
||||
"roles": [
|
||||
{
|
||||
"role": null,
|
||||
"sort": 1
|
||||
},
|
||||
{
|
||||
"role": null,
|
||||
"sort": 1
|
||||
}
|
||||
],
|
||||
"_syncId": "_sync_default_public_policy"
|
||||
},
|
||||
{
|
||||
"name": "Zapier",
|
||||
"icon": "badge",
|
||||
"description": null,
|
||||
"ip_access": null,
|
||||
"enforce_tfa": false,
|
||||
"admin_access": false,
|
||||
"app_access": false,
|
||||
"roles": [
|
||||
{
|
||||
"role": null,
|
||||
"sort": null
|
||||
}
|
||||
],
|
||||
"_syncId": "5bea7f79-7a78-4ec4-85bd-3327c0febfc7"
|
||||
},
|
||||
{
|
||||
"name": "Editor",
|
||||
"icon": "supervised_user_circle",
|
||||
"description": null,
|
||||
"ip_access": null,
|
||||
"enforce_tfa": false,
|
||||
"admin_access": false,
|
||||
"app_access": true,
|
||||
"roles": [
|
||||
{
|
||||
"role": "a65f6094-ba98-42d3-940b-07934959e3fb",
|
||||
"sort": 1
|
||||
}
|
||||
],
|
||||
"_syncId": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d"
|
||||
},
|
||||
{
|
||||
"name": "$t:public_label",
|
||||
"icon": "public",
|
||||
@ -29,6 +81,38 @@
|
||||
"sort": 1
|
||||
}
|
||||
],
|
||||
"_syncId": "_sync_default_public_policy"
|
||||
"_syncId": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a"
|
||||
},
|
||||
{
|
||||
"name": "Registrated",
|
||||
"icon": "paragliding",
|
||||
"description": null,
|
||||
"ip_access": null,
|
||||
"enforce_tfa": false,
|
||||
"admin_access": false,
|
||||
"app_access": false,
|
||||
"roles": [
|
||||
{
|
||||
"role": "9865ace7-27fe-4d1f-be88-99ee6410fca2",
|
||||
"sort": 1
|
||||
}
|
||||
],
|
||||
"_syncId": "b16453e3-676b-49d6-917b-6d6f81089114"
|
||||
},
|
||||
{
|
||||
"name": "Würdekompass Admin",
|
||||
"icon": "supervised_user_circle",
|
||||
"description": null,
|
||||
"ip_access": null,
|
||||
"enforce_tfa": false,
|
||||
"admin_access": false,
|
||||
"app_access": true,
|
||||
"roles": [
|
||||
{
|
||||
"role": "faa59737-2277-4f8a-a2ab-23940f566ab5",
|
||||
"sort": 1
|
||||
}
|
||||
],
|
||||
"_syncId": "dc5f8f91-d104-4e7d-8752-44db81ff12c4"
|
||||
}
|
||||
]
|
||||
|
||||
@ -5,5 +5,26 @@
|
||||
"description": "$t:admin_description",
|
||||
"parent": null,
|
||||
"_syncId": "_sync_default_admin_role"
|
||||
},
|
||||
{
|
||||
"name": "Registrated",
|
||||
"icon": "paragliding",
|
||||
"description": null,
|
||||
"parent": null,
|
||||
"_syncId": "9865ace7-27fe-4d1f-be88-99ee6410fca2"
|
||||
},
|
||||
{
|
||||
"name": "Editor",
|
||||
"icon": "supervised_user_circle",
|
||||
"description": null,
|
||||
"parent": null,
|
||||
"_syncId": "a65f6094-ba98-42d3-940b-07934959e3fb"
|
||||
},
|
||||
{
|
||||
"name": "Würdekompass Admin",
|
||||
"icon": "supervised_user_circle",
|
||||
"description": null,
|
||||
"parent": null,
|
||||
"_syncId": "faa59737-2277-4f8a-a2ab-23940f566ab5"
|
||||
}
|
||||
]
|
||||
|
||||
@ -1 +1,65 @@
|
||||
[]
|
||||
[
|
||||
{
|
||||
"project_name": "Utopia Map",
|
||||
"project_color": "#99C1F1",
|
||||
"public_note": null,
|
||||
"auth_login_attempts": 25,
|
||||
"auth_password_policy": null,
|
||||
"storage_asset_transform": "all",
|
||||
"storage_asset_presets": null,
|
||||
"custom_css": null,
|
||||
"storage_default_folder": null,
|
||||
"basemaps": null,
|
||||
"mapbox_key": null,
|
||||
"module_bar": [
|
||||
{
|
||||
"type": "module",
|
||||
"id": "content",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"type": "module",
|
||||
"id": "visual",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"type": "module",
|
||||
"id": "users",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"type": "module",
|
||||
"id": "files",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"type": "module",
|
||||
"id": "insights",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"type": "module",
|
||||
"id": "settings",
|
||||
"enabled": true,
|
||||
"locked": true
|
||||
}
|
||||
],
|
||||
"project_descriptor": "collaborative Mapping",
|
||||
"default_language": "en-US",
|
||||
"custom_aspect_ratios": null,
|
||||
"default_appearance": "auto",
|
||||
"default_theme_light": null,
|
||||
"theme_light_overrides": null,
|
||||
"default_theme_dark": null,
|
||||
"theme_dark_overrides": null,
|
||||
"report_error_url": null,
|
||||
"report_bug_url": null,
|
||||
"report_feature_url": null,
|
||||
"public_registration": false,
|
||||
"public_registration_verify_email": true,
|
||||
"public_registration_role": null,
|
||||
"public_registration_email_filter": null,
|
||||
"visual_editor_urls": null,
|
||||
"_syncId": "0c18d64f-a3d1-4c3b-bad1-e1f822fc5d72"
|
||||
}
|
||||
]
|
||||
|
||||
18
backend/directus-config/seed/maps.json
Normal file
18
backend/directus-config/seed/maps.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"collection": "maps",
|
||||
"meta": {
|
||||
"insert_order": 1,
|
||||
"create": true,
|
||||
"update": true,
|
||||
"delete": true,
|
||||
"preserve_ids": false,
|
||||
"ignore_on_update": []
|
||||
},
|
||||
"data": [
|
||||
{
|
||||
"_sync_id": "local-development",
|
||||
"name": "Local Development",
|
||||
"url": "http://local.development"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
{
|
||||
"collection": "Landingpage",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "Landingpage",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"icon": "house",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 9,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
}
|
||||
}
|
||||
28
backend/directus-config/snapshot/collections/Themes.json
Normal file
28
backend/directus-config/snapshot/collections/Themes.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "Themes",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "Themes",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"icon": null,
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 21,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "Themes"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
{
|
||||
"collection": "UI_Components",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "UI_Components",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"icon": "code_blocks",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 16,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
}
|
||||
}
|
||||
25
backend/directus-config/snapshot/collections/UI_Config.json
Normal file
25
backend/directus-config/snapshot/collections/UI_Config.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"collection": "UI_Config",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "UI_Config",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"icon": "palette",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 17,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "attestations",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "attestations",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"icon": "favorite",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 8,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "attestations"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "attestations_directus_users",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "attestations_directus_users",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"icon": "import_export",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 15,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "attestations_directus_users"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "contactInfos",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "contactInfos",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": "UI_Components",
|
||||
"hidden": false,
|
||||
"icon": "phone_enabled",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 5,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "contactInfos"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "crowdfundings",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "crowdfundings",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": "UI_Components",
|
||||
"hidden": false,
|
||||
"icon": "bitcoin",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 3,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "crowdfundings"
|
||||
}
|
||||
}
|
||||
28
backend/directus-config/snapshot/collections/features.json
Normal file
28
backend/directus-config/snapshot/collections/features.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "features",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": "archived",
|
||||
"collapse": "open",
|
||||
"collection": "features",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": "Landingpage",
|
||||
"hidden": false,
|
||||
"icon": null,
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 2,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": "draft",
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "features"
|
||||
}
|
||||
}
|
||||
28
backend/directus-config/snapshot/collections/gallery.json
Normal file
28
backend/directus-config/snapshot/collections/gallery.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "gallery",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "gallery",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": "UI_Components",
|
||||
"hidden": false,
|
||||
"icon": "imagesmode",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 8,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "gallery"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "groupSubheaders",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "groupSubheaders",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": "UI_Components",
|
||||
"hidden": false,
|
||||
"icon": "call_to_action",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 4,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "groupSubheaders"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "groupSubheaders_groupTypes",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "groupSubheaders_groupTypes",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"icon": "import_export",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 18,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "groupSubheaders_groupTypes"
|
||||
}
|
||||
}
|
||||
28
backend/directus-config/snapshot/collections/groupTypes.json
Normal file
28
backend/directus-config/snapshot/collections/groupTypes.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "groupTypes",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "groupTypes",
|
||||
"color": null,
|
||||
"display_template": "{{color}} {{name}}",
|
||||
"group": "UI_Config",
|
||||
"hidden": false,
|
||||
"icon": "groups",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 2,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "groupTypes"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "inviteLinks",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "inviteLinks",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": "UI_Components",
|
||||
"hidden": false,
|
||||
"icon": "qr_code_2",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 2,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "inviteLinks"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "itemSecrets",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "itemSecrets",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"icon": "vpn_key",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 22,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "itemSecrets"
|
||||
}
|
||||
}
|
||||
28
backend/directus-config/snapshot/collections/items.json
Normal file
28
backend/directus-config/snapshot/collections/items.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "items",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "items",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"icon": "location_on",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 4,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "items"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "items_files",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "items_files",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"icon": "import_export",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 20,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "items_files"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "items_items",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "items_items",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"icon": "import_export",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 10,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "items_items"
|
||||
}
|
||||
}
|
||||
28
backend/directus-config/snapshot/collections/items_tags.json
Normal file
28
backend/directus-config/snapshot/collections/items_tags.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "items_tags",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "items_tags",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"icon": "import_export",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 13,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "items_tags"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "items_tags_1",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "items_tags_1",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"icon": "import_export",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 14,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "items_tags_1"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "junction_directus_users_tags",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "junction_directus_users_tags",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"icon": "import_export",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 5,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "junction_directus_users_tags"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "junction_directus_users_tags_1",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "junction_directus_users_tags_1",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"icon": "import_export",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 6,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "junction_directus_users_tags_1"
|
||||
}
|
||||
}
|
||||
28
backend/directus-config/snapshot/collections/layers.json
Normal file
28
backend/directus-config/snapshot/collections/layers.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "layers",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "layers",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"icon": "checklist",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 2,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "layers"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "layers_directus_users_1",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "layers_directus_users_1",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"icon": "import_export",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 23,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "layers_directus_users_1"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "layers_files",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "layers_files",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"icon": "import_export",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 11,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "layers_files"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "layers_maps",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "layers_maps",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"icon": "import_export",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 12,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "layers_maps"
|
||||
}
|
||||
}
|
||||
28
backend/directus-config/snapshot/collections/maps.json
Normal file
28
backend/directus-config/snapshot/collections/maps.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "maps",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "maps",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"icon": "map",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 1,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "maps"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "marker_icons",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "marker_icons",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": "UI_Config",
|
||||
"hidden": false,
|
||||
"icon": "home_pin",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 1,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "marker_icons"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "oceannomads_profiles",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "oceannomads_profiles",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"icon": null,
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": null,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "oceannomads_profiles"
|
||||
}
|
||||
}
|
||||
28
backend/directus-config/snapshot/collections/relations.json
Normal file
28
backend/directus-config/snapshot/collections/relations.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "relations",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "relations",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": "UI_Components",
|
||||
"hidden": false,
|
||||
"icon": "arrows_outward",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 1,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "relations"
|
||||
}
|
||||
}
|
||||
28
backend/directus-config/snapshot/collections/startEnd.json
Normal file
28
backend/directus-config/snapshot/collections/startEnd.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "startEnd",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "startEnd",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": "UI_Components",
|
||||
"hidden": false,
|
||||
"icon": "calendar_month",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 7,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "startEnd"
|
||||
}
|
||||
}
|
||||
28
backend/directus-config/snapshot/collections/tags.json
Normal file
28
backend/directus-config/snapshot/collections/tags.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "tags",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "tags",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"icon": "label",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 7,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "tags"
|
||||
}
|
||||
}
|
||||
28
backend/directus-config/snapshot/collections/team.json
Normal file
28
backend/directus-config/snapshot/collections/team.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "team",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": "archived",
|
||||
"collapse": "open",
|
||||
"collection": "team",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": "Landingpage",
|
||||
"hidden": false,
|
||||
"icon": "groups",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 1,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": "draft",
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "team"
|
||||
}
|
||||
}
|
||||
28
backend/directus-config/snapshot/collections/texts.json
Normal file
28
backend/directus-config/snapshot/collections/texts.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "texts",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "texts",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": "UI_Components",
|
||||
"hidden": false,
|
||||
"icon": "format_align_left",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 6,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "texts"
|
||||
}
|
||||
}
|
||||
28
backend/directus-config/snapshot/collections/types.json
Normal file
28
backend/directus-config/snapshot/collections/types.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "types",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "types",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"icon": "play_shapes",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 3,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "types"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
{
|
||||
"collection": "types_profileTemplate",
|
||||
"meta": {
|
||||
"accountability": "all",
|
||||
"archive_app_filter": true,
|
||||
"archive_field": null,
|
||||
"archive_value": null,
|
||||
"collapse": "open",
|
||||
"collection": "types_profileTemplate",
|
||||
"color": null,
|
||||
"display_template": null,
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"icon": "import_export",
|
||||
"item_duplication_fields": null,
|
||||
"note": null,
|
||||
"preview_url": null,
|
||||
"singleton": false,
|
||||
"sort": 19,
|
||||
"sort_field": null,
|
||||
"translations": null,
|
||||
"unarchive_value": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {
|
||||
"name": "types_profileTemplate"
|
||||
}
|
||||
}
|
||||
43
backend/directus-config/snapshot/fields/Themes/theme.json
Normal file
43
backend/directus-config/snapshot/fields/Themes/theme.json
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"collection": "Themes",
|
||||
"field": "theme",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"collection": "Themes",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "theme",
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"interface": "input",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 1,
|
||||
"special": null,
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
},
|
||||
"schema": {
|
||||
"name": "theme",
|
||||
"table": "Themes",
|
||||
"data_type": "character varying",
|
||||
"default_value": null,
|
||||
"max_length": 255,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": false,
|
||||
"is_unique": true,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": true,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
{
|
||||
"collection": "attestations",
|
||||
"field": "color",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"collection": "attestations",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "color",
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"interface": "select-color",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 5,
|
||||
"special": null,
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "color",
|
||||
"table": "attestations",
|
||||
"data_type": "character varying",
|
||||
"default_value": null,
|
||||
"max_length": 255,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
{
|
||||
"collection": "attestations",
|
||||
"field": "date_created",
|
||||
"type": "timestamp",
|
||||
"meta": {
|
||||
"collection": "attestations",
|
||||
"conditions": null,
|
||||
"display": "datetime",
|
||||
"display_options": {
|
||||
"relative": true
|
||||
},
|
||||
"field": "date_created",
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"interface": "datetime",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 3,
|
||||
"special": [
|
||||
"date-created"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "date_created",
|
||||
"table": "attestations",
|
||||
"data_type": "timestamp with time zone",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
{
|
||||
"collection": "attestations",
|
||||
"field": "emoji",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"collection": "attestations",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "emoji",
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"interface": "input",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 6,
|
||||
"special": null,
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "emoji",
|
||||
"table": "attestations",
|
||||
"data_type": "character varying",
|
||||
"default_value": null,
|
||||
"max_length": 255,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
45
backend/directus-config/snapshot/fields/attestations/id.json
Normal file
45
backend/directus-config/snapshot/fields/attestations/id.json
Normal file
@ -0,0 +1,45 @@
|
||||
{
|
||||
"collection": "attestations",
|
||||
"field": "id",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"collection": "attestations",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "id",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "input",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 1,
|
||||
"special": [
|
||||
"uuid"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "id",
|
||||
"table": "attestations",
|
||||
"data_type": "uuid",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": false,
|
||||
"is_unique": true,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": true,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
{
|
||||
"collection": "attestations",
|
||||
"field": "shape",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"collection": "attestations",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "shape",
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"interface": "select-dropdown",
|
||||
"note": null,
|
||||
"options": {
|
||||
"allowOther": true,
|
||||
"choices": [
|
||||
{
|
||||
"text": "circle",
|
||||
"value": "circle"
|
||||
},
|
||||
{
|
||||
"text": "squircle",
|
||||
"value": "squircle"
|
||||
},
|
||||
{
|
||||
"text": "hexago-2",
|
||||
"value": "hexagon-2"
|
||||
}
|
||||
]
|
||||
},
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 7,
|
||||
"special": null,
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "shape",
|
||||
"table": "attestations",
|
||||
"data_type": "character varying",
|
||||
"default_value": null,
|
||||
"max_length": 255,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
{
|
||||
"collection": "attestations",
|
||||
"field": "text",
|
||||
"type": "text",
|
||||
"meta": {
|
||||
"collection": "attestations",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "text",
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"interface": "input",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 4,
|
||||
"special": null,
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "text",
|
||||
"table": "attestations",
|
||||
"data_type": "text",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
29
backend/directus-config/snapshot/fields/attestations/to.json
Normal file
29
backend/directus-config/snapshot/fields/attestations/to.json
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
"collection": "attestations",
|
||||
"field": "to",
|
||||
"type": "alias",
|
||||
"meta": {
|
||||
"collection": "attestations",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "to",
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"interface": "list-m2m",
|
||||
"note": null,
|
||||
"options": {
|
||||
"enableCreate": false
|
||||
},
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 8,
|
||||
"special": [
|
||||
"m2m"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
{
|
||||
"collection": "attestations",
|
||||
"field": "user_created",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"collection": "attestations",
|
||||
"conditions": null,
|
||||
"display": "user",
|
||||
"display_options": null,
|
||||
"field": "user_created",
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"interface": "select-dropdown-m2o",
|
||||
"note": null,
|
||||
"options": {
|
||||
"template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}"
|
||||
},
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 2,
|
||||
"special": [
|
||||
"user-created"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "user_created",
|
||||
"table": "attestations",
|
||||
"data_type": "uuid",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": "directus_users",
|
||||
"foreign_key_column": "id"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
{
|
||||
"collection": "attestations_directus_users",
|
||||
"field": "attestations_id",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"collection": "attestations_directus_users",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "attestations_id",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": null,
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 2,
|
||||
"special": null,
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
},
|
||||
"schema": {
|
||||
"name": "attestations_id",
|
||||
"table": "attestations_directus_users",
|
||||
"data_type": "uuid",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": "attestations",
|
||||
"foreign_key_column": "id"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
{
|
||||
"collection": "attestations_directus_users",
|
||||
"field": "directus_users_id",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"collection": "attestations_directus_users",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "directus_users_id",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": null,
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 3,
|
||||
"special": null,
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
},
|
||||
"schema": {
|
||||
"name": "directus_users_id",
|
||||
"table": "attestations_directus_users",
|
||||
"data_type": "uuid",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": "directus_users",
|
||||
"foreign_key_column": "id"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
{
|
||||
"collection": "attestations_directus_users",
|
||||
"field": "id",
|
||||
"type": "integer",
|
||||
"meta": {
|
||||
"collection": "attestations_directus_users",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "id",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": null,
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 1,
|
||||
"special": null,
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
},
|
||||
"schema": {
|
||||
"name": "id",
|
||||
"table": "attestations_directus_users",
|
||||
"data_type": "integer",
|
||||
"default_value": "nextval('attestations_directus_users_id_seq'::regclass)",
|
||||
"max_length": null,
|
||||
"numeric_precision": 32,
|
||||
"numeric_scale": 0,
|
||||
"is_nullable": false,
|
||||
"is_unique": true,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": true,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": true,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
{
|
||||
"collection": "contactInfos",
|
||||
"field": "date_created",
|
||||
"type": "timestamp",
|
||||
"meta": {
|
||||
"collection": "contactInfos",
|
||||
"conditions": null,
|
||||
"display": "datetime",
|
||||
"display_options": {
|
||||
"relative": true
|
||||
},
|
||||
"field": "date_created",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "datetime",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 3,
|
||||
"special": [
|
||||
"date-created"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "date_created",
|
||||
"table": "contactInfos",
|
||||
"data_type": "timestamp with time zone",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
{
|
||||
"collection": "contactInfos",
|
||||
"field": "date_updated",
|
||||
"type": "timestamp",
|
||||
"meta": {
|
||||
"collection": "contactInfos",
|
||||
"conditions": null,
|
||||
"display": "datetime",
|
||||
"display_options": {
|
||||
"relative": true
|
||||
},
|
||||
"field": "date_updated",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "datetime",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 5,
|
||||
"special": [
|
||||
"date-updated"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "date_updated",
|
||||
"table": "contactInfos",
|
||||
"data_type": "timestamp with time zone",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
{
|
||||
"collection": "contactInfos",
|
||||
"field": "heading",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"collection": "contactInfos",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "heading",
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"interface": "input",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 6,
|
||||
"special": null,
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
},
|
||||
"schema": {
|
||||
"name": "heading",
|
||||
"table": "contactInfos",
|
||||
"data_type": "character varying",
|
||||
"default_value": null,
|
||||
"max_length": 255,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
45
backend/directus-config/snapshot/fields/contactInfos/id.json
Normal file
45
backend/directus-config/snapshot/fields/contactInfos/id.json
Normal file
@ -0,0 +1,45 @@
|
||||
{
|
||||
"collection": "contactInfos",
|
||||
"field": "id",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"collection": "contactInfos",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "id",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "input",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 1,
|
||||
"special": [
|
||||
"uuid"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
},
|
||||
"schema": {
|
||||
"name": "id",
|
||||
"table": "contactInfos",
|
||||
"data_type": "uuid",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": false,
|
||||
"is_unique": true,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": true,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
{
|
||||
"collection": "contactInfos",
|
||||
"field": "user_created",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"collection": "contactInfos",
|
||||
"conditions": null,
|
||||
"display": "user",
|
||||
"display_options": null,
|
||||
"field": "user_created",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "select-dropdown-m2o",
|
||||
"note": null,
|
||||
"options": {
|
||||
"template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}"
|
||||
},
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 2,
|
||||
"special": [
|
||||
"user-created"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "user_created",
|
||||
"table": "contactInfos",
|
||||
"data_type": "uuid",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": "directus_users",
|
||||
"foreign_key_column": "id"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
{
|
||||
"collection": "contactInfos",
|
||||
"field": "user_updated",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"collection": "contactInfos",
|
||||
"conditions": null,
|
||||
"display": "user",
|
||||
"display_options": null,
|
||||
"field": "user_updated",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "select-dropdown-m2o",
|
||||
"note": null,
|
||||
"options": {
|
||||
"template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}"
|
||||
},
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 4,
|
||||
"special": [
|
||||
"user-updated"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "user_updated",
|
||||
"table": "contactInfos",
|
||||
"data_type": "uuid",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": "directus_users",
|
||||
"foreign_key_column": "id"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
{
|
||||
"collection": "crowdfundings",
|
||||
"field": "date_created",
|
||||
"type": "timestamp",
|
||||
"meta": {
|
||||
"collection": "crowdfundings",
|
||||
"conditions": null,
|
||||
"display": "datetime",
|
||||
"display_options": {
|
||||
"relative": true
|
||||
},
|
||||
"field": "date_created",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "datetime",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 3,
|
||||
"special": [
|
||||
"date-created"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "date_created",
|
||||
"table": "crowdfundings",
|
||||
"data_type": "timestamp with time zone",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
{
|
||||
"collection": "crowdfundings",
|
||||
"field": "date_updated",
|
||||
"type": "timestamp",
|
||||
"meta": {
|
||||
"collection": "crowdfundings",
|
||||
"conditions": null,
|
||||
"display": "datetime",
|
||||
"display_options": {
|
||||
"relative": true
|
||||
},
|
||||
"field": "date_updated",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "datetime",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 5,
|
||||
"special": [
|
||||
"date-updated"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "date_updated",
|
||||
"table": "crowdfundings",
|
||||
"data_type": "timestamp with time zone",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,45 @@
|
||||
{
|
||||
"collection": "crowdfundings",
|
||||
"field": "id",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"collection": "crowdfundings",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "id",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "input",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 1,
|
||||
"special": [
|
||||
"uuid"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
},
|
||||
"schema": {
|
||||
"name": "id",
|
||||
"table": "crowdfundings",
|
||||
"data_type": "uuid",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": false,
|
||||
"is_unique": true,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": true,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
{
|
||||
"collection": "crowdfundings",
|
||||
"field": "user_created",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"collection": "crowdfundings",
|
||||
"conditions": null,
|
||||
"display": "user",
|
||||
"display_options": null,
|
||||
"field": "user_created",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "select-dropdown-m2o",
|
||||
"note": null,
|
||||
"options": {
|
||||
"template": "{{avatar}} {{first_name}} {{last_name}}"
|
||||
},
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 2,
|
||||
"special": [
|
||||
"user-created"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "user_created",
|
||||
"table": "crowdfundings",
|
||||
"data_type": "uuid",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": "directus_users",
|
||||
"foreign_key_column": "id"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
{
|
||||
"collection": "crowdfundings",
|
||||
"field": "user_updated",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"collection": "crowdfundings",
|
||||
"conditions": null,
|
||||
"display": "user",
|
||||
"display_options": null,
|
||||
"field": "user_updated",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "select-dropdown-m2o",
|
||||
"note": null,
|
||||
"options": {
|
||||
"template": "{{avatar}} {{first_name}} {{last_name}}"
|
||||
},
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 4,
|
||||
"special": [
|
||||
"user-updated"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "user_updated",
|
||||
"table": "crowdfundings",
|
||||
"data_type": "uuid",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": "directus_users",
|
||||
"foreign_key_column": "id"
|
||||
}
|
||||
}
|
||||
@ -1,12 +1,12 @@
|
||||
{
|
||||
"collection": "directus_sync_id_map",
|
||||
"field": "created_at",
|
||||
"type": "dateTime",
|
||||
"type": "timestamp",
|
||||
"meta": null,
|
||||
"schema": {
|
||||
"name": "created_at",
|
||||
"table": "directus_sync_id_map",
|
||||
"data_type": "datetime",
|
||||
"data_type": "timestamp with time zone",
|
||||
"default_value": "CURRENT_TIMESTAMP",
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
|
||||
@ -7,12 +7,12 @@
|
||||
"name": "id",
|
||||
"table": "directus_sync_id_map",
|
||||
"data_type": "integer",
|
||||
"default_value": null,
|
||||
"default_value": "nextval('directus_sync_id_map_id_seq'::regclass)",
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"numeric_precision": 32,
|
||||
"numeric_scale": 0,
|
||||
"is_nullable": false,
|
||||
"is_unique": false,
|
||||
"is_unique": true,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": true,
|
||||
"is_generated": false,
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
"schema": {
|
||||
"name": "local_id",
|
||||
"table": "directus_sync_id_map",
|
||||
"data_type": "varchar",
|
||||
"data_type": "character varying",
|
||||
"default_value": null,
|
||||
"max_length": 255,
|
||||
"numeric_precision": null,
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
"schema": {
|
||||
"name": "sync_id",
|
||||
"table": "directus_sync_id_map",
|
||||
"data_type": "varchar",
|
||||
"data_type": "character varying",
|
||||
"default_value": null,
|
||||
"max_length": 255,
|
||||
"numeric_precision": null,
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
"schema": {
|
||||
"name": "table",
|
||||
"table": "directus_sync_id_map",
|
||||
"data_type": "varchar",
|
||||
"data_type": "character varying",
|
||||
"default_value": null,
|
||||
"max_length": 255,
|
||||
"numeric_precision": null,
|
||||
|
||||
@ -0,0 +1,45 @@
|
||||
{
|
||||
"collection": "directus_users",
|
||||
"field": "imported",
|
||||
"type": "boolean",
|
||||
"meta": {
|
||||
"collection": "directus_users",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "imported",
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"interface": "boolean",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 7,
|
||||
"special": [
|
||||
"cast-boolean"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
},
|
||||
"schema": {
|
||||
"name": "imported",
|
||||
"table": "directus_users",
|
||||
"data_type": "boolean",
|
||||
"default_value": false,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
{
|
||||
"collection": "directus_users",
|
||||
"field": "notifications",
|
||||
"type": "alias",
|
||||
"meta": {
|
||||
"collection": "directus_users",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "notifications",
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"interface": "list-m2m",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 9,
|
||||
"special": [
|
||||
"m2m"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,45 @@
|
||||
{
|
||||
"collection": "directus_users",
|
||||
"field": "wc_user",
|
||||
"type": "boolean",
|
||||
"meta": {
|
||||
"collection": "directus_users",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "wc_user",
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"interface": "boolean",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 8,
|
||||
"special": [
|
||||
"cast-boolean"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
},
|
||||
"schema": {
|
||||
"name": "wc_user",
|
||||
"table": "directus_users",
|
||||
"data_type": "boolean",
|
||||
"default_value": false,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
{
|
||||
"collection": "features",
|
||||
"field": "date_created",
|
||||
"type": "timestamp",
|
||||
"meta": {
|
||||
"collection": "features",
|
||||
"conditions": null,
|
||||
"display": "datetime",
|
||||
"display_options": {
|
||||
"relative": true
|
||||
},
|
||||
"field": "date_created",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "datetime",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 5,
|
||||
"special": [
|
||||
"date-created"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "date_created",
|
||||
"table": "features",
|
||||
"data_type": "timestamp with time zone",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
{
|
||||
"collection": "features",
|
||||
"field": "date_updated",
|
||||
"type": "timestamp",
|
||||
"meta": {
|
||||
"collection": "features",
|
||||
"conditions": null,
|
||||
"display": "datetime",
|
||||
"display_options": {
|
||||
"relative": true
|
||||
},
|
||||
"field": "date_updated",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "datetime",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 7,
|
||||
"special": [
|
||||
"date-updated"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "date_updated",
|
||||
"table": "features",
|
||||
"data_type": "timestamp with time zone",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
{
|
||||
"collection": "features",
|
||||
"field": "heading",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"collection": "features",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "heading",
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"interface": "input",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 8,
|
||||
"special": null,
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
},
|
||||
"schema": {
|
||||
"name": "heading",
|
||||
"table": "features",
|
||||
"data_type": "character varying",
|
||||
"default_value": null,
|
||||
"max_length": 255,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
43
backend/directus-config/snapshot/fields/features/id.json
Normal file
43
backend/directus-config/snapshot/fields/features/id.json
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"collection": "features",
|
||||
"field": "id",
|
||||
"type": "integer",
|
||||
"meta": {
|
||||
"collection": "features",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "id",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "input",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 1,
|
||||
"special": null,
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
},
|
||||
"schema": {
|
||||
"name": "id",
|
||||
"table": "features",
|
||||
"data_type": "integer",
|
||||
"default_value": "nextval('features_id_seq'::regclass)",
|
||||
"max_length": null,
|
||||
"numeric_precision": 32,
|
||||
"numeric_scale": 0,
|
||||
"is_nullable": false,
|
||||
"is_unique": true,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": true,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": true,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
43
backend/directus-config/snapshot/fields/features/sort.json
Normal file
43
backend/directus-config/snapshot/fields/features/sort.json
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"collection": "features",
|
||||
"field": "sort",
|
||||
"type": "integer",
|
||||
"meta": {
|
||||
"collection": "features",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "sort",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "input",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 3,
|
||||
"special": null,
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
},
|
||||
"schema": {
|
||||
"name": "sort",
|
||||
"table": "features",
|
||||
"data_type": "integer",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": 32,
|
||||
"numeric_scale": 0,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
80
backend/directus-config/snapshot/fields/features/status.json
Normal file
80
backend/directus-config/snapshot/fields/features/status.json
Normal file
@ -0,0 +1,80 @@
|
||||
{
|
||||
"collection": "features",
|
||||
"field": "status",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"collection": "features",
|
||||
"conditions": null,
|
||||
"display": "labels",
|
||||
"display_options": {
|
||||
"choices": [
|
||||
{
|
||||
"background": "var(--theme--primary)",
|
||||
"foreground": "#FFFFFF",
|
||||
"text": "$t:published",
|
||||
"value": "published"
|
||||
},
|
||||
{
|
||||
"background": "#D3DAE4",
|
||||
"foreground": "#18222F",
|
||||
"text": "$t:draft",
|
||||
"value": "draft"
|
||||
},
|
||||
{
|
||||
"background": "var(--theme--warning)",
|
||||
"foreground": "#FFFFFF",
|
||||
"text": "$t:archived",
|
||||
"value": "archived"
|
||||
}
|
||||
],
|
||||
"showAsDot": true
|
||||
},
|
||||
"field": "status",
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"interface": "select-dropdown",
|
||||
"note": null,
|
||||
"options": {
|
||||
"choices": [
|
||||
{
|
||||
"text": "$t:published",
|
||||
"value": "published"
|
||||
},
|
||||
{
|
||||
"text": "$t:draft",
|
||||
"value": "draft"
|
||||
},
|
||||
{
|
||||
"text": "$t:archived",
|
||||
"value": "archived"
|
||||
}
|
||||
]
|
||||
},
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 2,
|
||||
"special": null,
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
},
|
||||
"schema": {
|
||||
"name": "status",
|
||||
"table": "features",
|
||||
"data_type": "character varying",
|
||||
"default_value": "draft",
|
||||
"max_length": 255,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": false,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
43
backend/directus-config/snapshot/fields/features/symbol.json
Normal file
43
backend/directus-config/snapshot/fields/features/symbol.json
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"collection": "features",
|
||||
"field": "symbol",
|
||||
"type": "string",
|
||||
"meta": {
|
||||
"collection": "features",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "symbol",
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"interface": "input",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 9,
|
||||
"special": null,
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
},
|
||||
"schema": {
|
||||
"name": "symbol",
|
||||
"table": "features",
|
||||
"data_type": "character varying",
|
||||
"default_value": null,
|
||||
"max_length": 255,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
43
backend/directus-config/snapshot/fields/features/text.json
Normal file
43
backend/directus-config/snapshot/fields/features/text.json
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"collection": "features",
|
||||
"field": "text",
|
||||
"type": "text",
|
||||
"meta": {
|
||||
"collection": "features",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "text",
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"interface": "input-multiline",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 10,
|
||||
"special": null,
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
},
|
||||
"schema": {
|
||||
"name": "text",
|
||||
"table": "features",
|
||||
"data_type": "text",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
{
|
||||
"collection": "features",
|
||||
"field": "user_created",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"collection": "features",
|
||||
"conditions": null,
|
||||
"display": "user",
|
||||
"display_options": null,
|
||||
"field": "user_created",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "select-dropdown-m2o",
|
||||
"note": null,
|
||||
"options": {
|
||||
"template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}"
|
||||
},
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 4,
|
||||
"special": [
|
||||
"user-created"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "user_created",
|
||||
"table": "features",
|
||||
"data_type": "uuid",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": "directus_users",
|
||||
"foreign_key_column": "id"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
{
|
||||
"collection": "features",
|
||||
"field": "user_updated",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"collection": "features",
|
||||
"conditions": null,
|
||||
"display": "user",
|
||||
"display_options": null,
|
||||
"field": "user_updated",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "select-dropdown-m2o",
|
||||
"note": null,
|
||||
"options": {
|
||||
"template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}"
|
||||
},
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 6,
|
||||
"special": [
|
||||
"user-updated"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "user_updated",
|
||||
"table": "features",
|
||||
"data_type": "uuid",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": "directus_users",
|
||||
"foreign_key_column": "id"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
{
|
||||
"collection": "gallery",
|
||||
"field": "date_created",
|
||||
"type": "timestamp",
|
||||
"meta": {
|
||||
"collection": "gallery",
|
||||
"conditions": null,
|
||||
"display": "datetime",
|
||||
"display_options": {
|
||||
"relative": true
|
||||
},
|
||||
"field": "date_created",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "datetime",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 3,
|
||||
"special": [
|
||||
"date-created"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "date_created",
|
||||
"table": "gallery",
|
||||
"data_type": "timestamp with time zone",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,47 @@
|
||||
{
|
||||
"collection": "gallery",
|
||||
"field": "date_updated",
|
||||
"type": "timestamp",
|
||||
"meta": {
|
||||
"collection": "gallery",
|
||||
"conditions": null,
|
||||
"display": "datetime",
|
||||
"display_options": {
|
||||
"relative": true
|
||||
},
|
||||
"field": "date_updated",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "datetime",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 5,
|
||||
"special": [
|
||||
"date-updated"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "half"
|
||||
},
|
||||
"schema": {
|
||||
"name": "date_updated",
|
||||
"table": "gallery",
|
||||
"data_type": "timestamp with time zone",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,45 @@
|
||||
{
|
||||
"collection": "gallery",
|
||||
"field": "hideInputLabel",
|
||||
"type": "boolean",
|
||||
"meta": {
|
||||
"collection": "gallery",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "hideInputLabel",
|
||||
"group": null,
|
||||
"hidden": false,
|
||||
"interface": "boolean",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": false,
|
||||
"required": false,
|
||||
"sort": 6,
|
||||
"special": [
|
||||
"cast-boolean"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
},
|
||||
"schema": {
|
||||
"name": "hideInputLabel",
|
||||
"table": "gallery",
|
||||
"data_type": "boolean",
|
||||
"default_value": false,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
45
backend/directus-config/snapshot/fields/gallery/id.json
Normal file
45
backend/directus-config/snapshot/fields/gallery/id.json
Normal file
@ -0,0 +1,45 @@
|
||||
{
|
||||
"collection": "gallery",
|
||||
"field": "id",
|
||||
"type": "uuid",
|
||||
"meta": {
|
||||
"collection": "gallery",
|
||||
"conditions": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"field": "id",
|
||||
"group": null,
|
||||
"hidden": true,
|
||||
"interface": "input",
|
||||
"note": null,
|
||||
"options": null,
|
||||
"readonly": true,
|
||||
"required": false,
|
||||
"sort": 1,
|
||||
"special": [
|
||||
"uuid"
|
||||
],
|
||||
"translations": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"width": "full"
|
||||
},
|
||||
"schema": {
|
||||
"name": "id",
|
||||
"table": "gallery",
|
||||
"data_type": "uuid",
|
||||
"default_value": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_nullable": false,
|
||||
"is_unique": true,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": true,
|
||||
"is_generated": false,
|
||||
"generation_expression": null,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user