On branch main
Your branch is up to date with 'origin/main'. Changes to be committed: modified: index.html modified: src/App.jsx new file: src/components/FileUploader/FileUploader.css new file: src/components/FileUploader/FileUploader.jsx new file: sveege-notes-db/.github/copilot-instructions.md new file: sveege-notes-db/.gitignore new file: sveege-notes-db/README.md new file: sveege-notes-db/manifest.yml new file: sveege-notes-db/package-lock.json new file: sveege-notes-db/package.json
This commit is contained in:
60
sveege-notes-db/manifest.yml
Normal file
60
sveege-notes-db/manifest.yml
Normal file
@@ -0,0 +1,60 @@
|
||||
# This is a sample file for a manifest.yml manifest backend.
|
||||
# Read more about the manifest format here: https:/manifest.build/docs
|
||||
|
||||
name: Sveege Notes
|
||||
entities:
|
||||
Note:
|
||||
properties:
|
||||
- name
|
||||
- { name: text, type: richText }
|
||||
- { name: createdOn, type: timestamp }
|
||||
belongsTo:
|
||||
- User
|
||||
belongsToMany:
|
||||
- Image
|
||||
policies:
|
||||
create:
|
||||
- { access: restricted, allow: User, condition: self }
|
||||
read:
|
||||
- { access: restricted, allow: User, condition: self }
|
||||
update:
|
||||
- { access: restricted, allow: User, condition: self }
|
||||
delete:
|
||||
- { access: restricted, allow: User, condition: self }
|
||||
|
||||
Image:
|
||||
mainProp: id
|
||||
properties:
|
||||
- { name: photo, type: image, options: { sizes: { small: { height: 90, width: 90 }, large: { width: 200 } } } }
|
||||
- { name: name, type: text }
|
||||
- { name: uploadedOn, type: timestamp }
|
||||
belongsTo:
|
||||
- Note
|
||||
policies:
|
||||
create:
|
||||
- { access: restricted, allow: User, condition: self }
|
||||
read:
|
||||
- { access: restricted, allow: User, condition: self }
|
||||
update:
|
||||
- { access: restricted, allow: User, condition: self }
|
||||
delete:
|
||||
- { access: restricted, allow: User, condition: self }
|
||||
|
||||
User:
|
||||
authenticable: true
|
||||
properties:
|
||||
- name
|
||||
policies:
|
||||
read:
|
||||
- access: public
|
||||
|
||||
Homepage:
|
||||
nameSingular: Home content
|
||||
single: true
|
||||
properties:
|
||||
- title
|
||||
- { name: description, type: richText }
|
||||
- { name: cover, type: image }
|
||||
policies:
|
||||
read:
|
||||
- access: public
|
||||
Reference in New Issue
Block a user