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:
Derek Holodak
2025-09-13 12:43:34 -04:00
parent 76b063a264
commit e56dc7c59c
10 changed files with 7263 additions and 21 deletions

View 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