Skip to content

LANGUAGE V1 · FROZEN REFERENCE

Example library

2,000 results · Page 137 of 167

storage-functions

Monument Workspace 33 · File workspace

60 lines · 2 pages · Supabase backend

AuthenticationDatabaseStorageServer functionsFormsInteractionsCollections
View code v1-storage-functions-0033
Create page login containing login_form, signup_form with viewport fill, alignment center, distribution center, background #f8fafc, padding 32 pixels, gap 18 pixels.
Create form login_form containing login_email, login_password, login_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input login_email with placeholder "Email".
Create input login_password with placeholder "Password".
login_password input type is password.
Create button login_button displaying "Sign in" with background #0f766e, text color white, padding 11 pixels.
login_button submits form.
Create form signup_form containing signup_email, signup_password, signup_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input signup_email with placeholder "Create account email".
Create input signup_password with placeholder "Create password".
signup_password input type is password.
Create button signup_button displaying "Create account" with background #0f172a, text color white, padding 11 pixels.
signup_button submits form.
Create page workspace containing workspace_title, record_form, records, upload_input, message_form, delete_button, logout_button with viewport fill, background #f8fafc, padding 28 pixels, gap 18 pixels.
Create heading workspace_title displaying "Monument Workspace 33" with font size 30 pixels.
Create form record_form containing title_input, status_input, save_button with direction vertical, gap 10 pixels, padding 22 pixels, background white, border radius 12 pixels.
Create input title_input with placeholder "Title".
Create input status_input with placeholder "Status".
Create button save_button displaying "Save record" with background #0f766e, text color white, padding 11 pixels.
save_button submits form.
Create container records with gap 10 pixels.
Create collection record_rows with values "".
Render collection record_rows inside records as text items.
Create state selected_id with value "".
Create button delete_button displaying "Delete selected" with background #dc2626, text color white, padding 10 pixels.
Create button logout_button displaying "Sign out" with background transparent, text color #0f172a, padding 10 pixels.
Use Supabase backend.
Enable email and password authentication.
Protect page workspace with authentication.
After authentication navigate to workspace.
Use form signup_form to sign up with email signup_email and password signup_password.
Use form login_form to sign in with email login_email and password login_password.
When logout_button is clicked, sign out.
Create database table records.
records has required text column title.
records has required text column status with default "active".
records belongs to authenticated user through owner_id.
Allow authenticated users to read, create, update, and delete their own rows in records through owner_id.
Create index records_owner_created_index on records using owner_id, created_at.
Create data query record_list from records selecting id, title, status, created_at.
record_list orders by created_at descending.
Load record_list on page workspace into record_rows.
Use form record_form to insert into records mapping title_input to title, status_input to status.
When delete_button is clicked, delete from records using state selected_id as id.
Create input upload_input with placeholder "Choose a private file".
upload_input input type is file.
Create state uploaded_path with value "".
Create form message_form containing message_input, message_button with direction vertical, gap 10 pixels.
Create input message_input with placeholder "Notification message".
Create button message_button displaying "Send notification".
message_button submits form.
Create private storage bucket workspace_files.
Allow authenticated users to read, upload, update, and delete their own files in workspace_files.
When upload_input changes, upload file to workspace_files and store path in uploaded_path.
Create server function notify_workspace.
notify_workspace requires authentication.
notify_workspace accepts text field message_input.
notify_workspace returns JSON message "Notification accepted".
notify_workspace forwards request to URL from secret WORKSPACE_WEBHOOK_URL.
Use form message_form to call server function notify_workspace.
storage-functions

Kindred Workspace 34 · File workspace

60 lines · 2 pages · Supabase backend

AuthenticationDatabaseStorageServer functionsFormsInteractionsCollections
View code v1-storage-functions-0034
Create page login containing login_form, signup_form with viewport fill, alignment center, distribution center, background #f8fafc, padding 32 pixels, gap 18 pixels.
Create form login_form containing login_email, login_password, login_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input login_email with placeholder "Email".
Create input login_password with placeholder "Password".
login_password input type is password.
Create button login_button displaying "Sign in" with background #be123c, text color white, padding 11 pixels.
login_button submits form.
Create form signup_form containing signup_email, signup_password, signup_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input signup_email with placeholder "Create account email".
Create input signup_password with placeholder "Create password".
signup_password input type is password.
Create button signup_button displaying "Create account" with background #0f172a, text color white, padding 11 pixels.
signup_button submits form.
Create page workspace containing workspace_title, record_form, records, upload_input, message_form, delete_button, logout_button with viewport fill, background #f8fafc, padding 28 pixels, gap 18 pixels.
Create heading workspace_title displaying "Kindred Workspace 34" with font size 30 pixels.
Create form record_form containing title_input, status_input, save_button with direction vertical, gap 10 pixels, padding 22 pixels, background white, border radius 12 pixels.
Create input title_input with placeholder "Title".
Create input status_input with placeholder "Status".
Create button save_button displaying "Save record" with background #be123c, text color white, padding 11 pixels.
save_button submits form.
Create container records with gap 10 pixels.
Create collection record_rows with values "".
Render collection record_rows inside records as text items.
Create state selected_id with value "".
Create button delete_button displaying "Delete selected" with background #dc2626, text color white, padding 10 pixels.
Create button logout_button displaying "Sign out" with background transparent, text color #0f172a, padding 10 pixels.
Use Supabase backend.
Enable email and password authentication.
Protect page workspace with authentication.
After authentication navigate to workspace.
Use form signup_form to sign up with email signup_email and password signup_password.
Use form login_form to sign in with email login_email and password login_password.
When logout_button is clicked, sign out.
Create database table records.
records has required text column title.
records has required text column status with default "active".
records belongs to authenticated user through owner_id.
Allow authenticated users to read, create, update, and delete their own rows in records through owner_id.
Create index records_owner_created_index on records using owner_id, created_at.
Create data query record_list from records selecting id, title, status, created_at.
record_list orders by created_at descending.
Load record_list on page workspace into record_rows.
Use form record_form to insert into records mapping title_input to title, status_input to status.
When delete_button is clicked, delete from records using state selected_id as id.
Create input upload_input with placeholder "Choose a private file".
upload_input input type is file.
Create state uploaded_path with value "".
Create form message_form containing message_input, message_button with direction vertical, gap 10 pixels.
Create input message_input with placeholder "Notification message".
Create button message_button displaying "Send notification".
message_button submits form.
Create private storage bucket workspace_files.
Allow authenticated users to read, upload, update, and delete their own files in workspace_files.
When upload_input changes, upload file to workspace_files and store path in uploaded_path.
Create server function notify_workspace.
notify_workspace requires authentication.
notify_workspace accepts text field message_input.
notify_workspace returns JSON message "Notification accepted".
notify_workspace forwards request to URL from secret WORKSPACE_WEBHOOK_URL.
Use form message_form to call server function notify_workspace.
storage-functions

Juniper Workspace 35 · File workspace

60 lines · 2 pages · Supabase backend

AuthenticationDatabaseStorageServer functionsFormsInteractionsCollections
View code v1-storage-functions-0035
Create page login containing login_form, signup_form with viewport fill, alignment center, distribution center, background #f8fafc, padding 32 pixels, gap 18 pixels.
Create form login_form containing login_email, login_password, login_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input login_email with placeholder "Email".
Create input login_password with placeholder "Password".
login_password input type is password.
Create button login_button displaying "Sign in" with background #b45309, text color white, padding 11 pixels.
login_button submits form.
Create form signup_form containing signup_email, signup_password, signup_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input signup_email with placeholder "Create account email".
Create input signup_password with placeholder "Create password".
signup_password input type is password.
Create button signup_button displaying "Create account" with background #0f172a, text color white, padding 11 pixels.
signup_button submits form.
Create page workspace containing workspace_title, record_form, records, upload_input, message_form, delete_button, logout_button with viewport fill, background #f8fafc, padding 28 pixels, gap 18 pixels.
Create heading workspace_title displaying "Juniper Workspace 35" with font size 30 pixels.
Create form record_form containing title_input, status_input, save_button with direction vertical, gap 10 pixels, padding 22 pixels, background white, border radius 12 pixels.
Create input title_input with placeholder "Title".
Create input status_input with placeholder "Status".
Create button save_button displaying "Save record" with background #b45309, text color white, padding 11 pixels.
save_button submits form.
Create container records with gap 10 pixels.
Create collection record_rows with values "".
Render collection record_rows inside records as text items.
Create state selected_id with value "".
Create button delete_button displaying "Delete selected" with background #dc2626, text color white, padding 10 pixels.
Create button logout_button displaying "Sign out" with background transparent, text color #0f172a, padding 10 pixels.
Use Supabase backend.
Enable email and password authentication.
Protect page workspace with authentication.
After authentication navigate to workspace.
Use form signup_form to sign up with email signup_email and password signup_password.
Use form login_form to sign in with email login_email and password login_password.
When logout_button is clicked, sign out.
Create database table records.
records has required text column title.
records has required text column status with default "active".
records belongs to authenticated user through owner_id.
Allow authenticated users to read, create, update, and delete their own rows in records through owner_id.
Create index records_owner_created_index on records using owner_id, created_at.
Create data query record_list from records selecting id, title, status, created_at.
record_list orders by created_at descending.
Load record_list on page workspace into record_rows.
Use form record_form to insert into records mapping title_input to title, status_input to status.
When delete_button is clicked, delete from records using state selected_id as id.
Create input upload_input with placeholder "Choose a private file".
upload_input input type is file.
Create state uploaded_path with value "".
Create form message_form containing message_input, message_button with direction vertical, gap 10 pixels.
Create input message_input with placeholder "Notification message".
Create button message_button displaying "Send notification".
message_button submits form.
Create private storage bucket workspace_files.
Allow authenticated users to read, upload, update, and delete their own files in workspace_files.
When upload_input changes, upload file to workspace_files and store path in uploaded_path.
Create server function notify_workspace.
notify_workspace requires authentication.
notify_workspace accepts text field message_input.
notify_workspace returns JSON message "Notification accepted".
notify_workspace forwards request to URL from secret WORKSPACE_WEBHOOK_URL.
Use form message_form to call server function notify_workspace.
storage-functions

Solace Workspace 36 · File workspace

60 lines · 2 pages · Supabase backend

AuthenticationDatabaseStorageServer functionsFormsInteractionsCollections
View code v1-storage-functions-0036
Create page login containing login_form, signup_form with viewport fill, alignment center, distribution center, background #f8fafc, padding 32 pixels, gap 18 pixels.
Create form login_form containing login_email, login_password, login_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input login_email with placeholder "Email".
Create input login_password with placeholder "Password".
login_password input type is password.
Create button login_button displaying "Sign in" with background #4338ca, text color white, padding 11 pixels.
login_button submits form.
Create form signup_form containing signup_email, signup_password, signup_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input signup_email with placeholder "Create account email".
Create input signup_password with placeholder "Create password".
signup_password input type is password.
Create button signup_button displaying "Create account" with background #0f172a, text color white, padding 11 pixels.
signup_button submits form.
Create page workspace containing workspace_title, record_form, records, upload_input, message_form, delete_button, logout_button with viewport fill, background #f8fafc, padding 28 pixels, gap 18 pixels.
Create heading workspace_title displaying "Solace Workspace 36" with font size 30 pixels.
Create form record_form containing title_input, status_input, save_button with direction vertical, gap 10 pixels, padding 22 pixels, background white, border radius 12 pixels.
Create input title_input with placeholder "Title".
Create input status_input with placeholder "Status".
Create button save_button displaying "Save record" with background #4338ca, text color white, padding 11 pixels.
save_button submits form.
Create container records with gap 10 pixels.
Create collection record_rows with values "".
Render collection record_rows inside records as text items.
Create state selected_id with value "".
Create button delete_button displaying "Delete selected" with background #dc2626, text color white, padding 10 pixels.
Create button logout_button displaying "Sign out" with background transparent, text color #0f172a, padding 10 pixels.
Use Supabase backend.
Enable email and password authentication.
Protect page workspace with authentication.
After authentication navigate to workspace.
Use form signup_form to sign up with email signup_email and password signup_password.
Use form login_form to sign in with email login_email and password login_password.
When logout_button is clicked, sign out.
Create database table records.
records has required text column title.
records has required text column status with default "active".
records belongs to authenticated user through owner_id.
Allow authenticated users to read, create, update, and delete their own rows in records through owner_id.
Create index records_owner_created_index on records using owner_id, created_at.
Create data query record_list from records selecting id, title, status, created_at.
record_list orders by created_at descending.
Load record_list on page workspace into record_rows.
Use form record_form to insert into records mapping title_input to title, status_input to status.
When delete_button is clicked, delete from records using state selected_id as id.
Create input upload_input with placeholder "Choose a private file".
upload_input input type is file.
Create state uploaded_path with value "".
Create form message_form containing message_input, message_button with direction vertical, gap 10 pixels.
Create input message_input with placeholder "Notification message".
Create button message_button displaying "Send notification".
message_button submits form.
Create private storage bucket workspace_files.
Allow authenticated users to read, upload, update, and delete their own files in workspace_files.
When upload_input changes, upload file to workspace_files and store path in uploaded_path.
Create server function notify_workspace.
notify_workspace requires authentication.
notify_workspace accepts text field message_input.
notify_workspace returns JSON message "Notification accepted".
notify_workspace forwards request to URL from secret WORKSPACE_WEBHOOK_URL.
Use form message_form to call server function notify_workspace.
storage-functions

Arc Workspace 37 · File workspace

60 lines · 2 pages · Supabase backend

AuthenticationDatabaseStorageServer functionsFormsInteractionsCollections
View code v1-storage-functions-0037
Create page login containing login_form, signup_form with viewport fill, alignment center, distribution center, background #f8fafc, padding 32 pixels, gap 18 pixels.
Create form login_form containing login_email, login_password, login_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input login_email with placeholder "Email".
Create input login_password with placeholder "Password".
login_password input type is password.
Create button login_button displaying "Sign in" with background #047857, text color white, padding 11 pixels.
login_button submits form.
Create form signup_form containing signup_email, signup_password, signup_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input signup_email with placeholder "Create account email".
Create input signup_password with placeholder "Create password".
signup_password input type is password.
Create button signup_button displaying "Create account" with background #0f172a, text color white, padding 11 pixels.
signup_button submits form.
Create page workspace containing workspace_title, record_form, records, upload_input, message_form, delete_button, logout_button with viewport fill, background #f8fafc, padding 28 pixels, gap 18 pixels.
Create heading workspace_title displaying "Arc Workspace 37" with font size 30 pixels.
Create form record_form containing title_input, status_input, save_button with direction vertical, gap 10 pixels, padding 22 pixels, background white, border radius 12 pixels.
Create input title_input with placeholder "Title".
Create input status_input with placeholder "Status".
Create button save_button displaying "Save record" with background #047857, text color white, padding 11 pixels.
save_button submits form.
Create container records with gap 10 pixels.
Create collection record_rows with values "".
Render collection record_rows inside records as text items.
Create state selected_id with value "".
Create button delete_button displaying "Delete selected" with background #dc2626, text color white, padding 10 pixels.
Create button logout_button displaying "Sign out" with background transparent, text color #0f172a, padding 10 pixels.
Use Supabase backend.
Enable email and password authentication.
Protect page workspace with authentication.
After authentication navigate to workspace.
Use form signup_form to sign up with email signup_email and password signup_password.
Use form login_form to sign in with email login_email and password login_password.
When logout_button is clicked, sign out.
Create database table records.
records has required text column title.
records has required text column status with default "active".
records belongs to authenticated user through owner_id.
Allow authenticated users to read, create, update, and delete their own rows in records through owner_id.
Create index records_owner_created_index on records using owner_id, created_at.
Create data query record_list from records selecting id, title, status, created_at.
record_list orders by created_at descending.
Load record_list on page workspace into record_rows.
Use form record_form to insert into records mapping title_input to title, status_input to status.
When delete_button is clicked, delete from records using state selected_id as id.
Create input upload_input with placeholder "Choose a private file".
upload_input input type is file.
Create state uploaded_path with value "".
Create form message_form containing message_input, message_button with direction vertical, gap 10 pixels.
Create input message_input with placeholder "Notification message".
Create button message_button displaying "Send notification".
message_button submits form.
Create private storage bucket workspace_files.
Allow authenticated users to read, upload, update, and delete their own files in workspace_files.
When upload_input changes, upload file to workspace_files and store path in uploaded_path.
Create server function notify_workspace.
notify_workspace requires authentication.
notify_workspace accepts text field message_input.
notify_workspace returns JSON message "Notification accepted".
notify_workspace forwards request to URL from secret WORKSPACE_WEBHOOK_URL.
Use form message_form to call server function notify_workspace.
storage-functions

Vesper Workspace 38 · File workspace

60 lines · 2 pages · Supabase backend

AuthenticationDatabaseStorageServer functionsFormsInteractionsCollections
View code v1-storage-functions-0038
Create page login containing login_form, signup_form with viewport fill, alignment center, distribution center, background #f8fafc, padding 32 pixels, gap 18 pixels.
Create form login_form containing login_email, login_password, login_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input login_email with placeholder "Email".
Create input login_password with placeholder "Password".
login_password input type is password.
Create button login_button displaying "Sign in" with background #c026d3, text color white, padding 11 pixels.
login_button submits form.
Create form signup_form containing signup_email, signup_password, signup_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input signup_email with placeholder "Create account email".
Create input signup_password with placeholder "Create password".
signup_password input type is password.
Create button signup_button displaying "Create account" with background #0f172a, text color white, padding 11 pixels.
signup_button submits form.
Create page workspace containing workspace_title, record_form, records, upload_input, message_form, delete_button, logout_button with viewport fill, background #f8fafc, padding 28 pixels, gap 18 pixels.
Create heading workspace_title displaying "Vesper Workspace 38" with font size 30 pixels.
Create form record_form containing title_input, status_input, save_button with direction vertical, gap 10 pixels, padding 22 pixels, background white, border radius 12 pixels.
Create input title_input with placeholder "Title".
Create input status_input with placeholder "Status".
Create button save_button displaying "Save record" with background #c026d3, text color white, padding 11 pixels.
save_button submits form.
Create container records with gap 10 pixels.
Create collection record_rows with values "".
Render collection record_rows inside records as text items.
Create state selected_id with value "".
Create button delete_button displaying "Delete selected" with background #dc2626, text color white, padding 10 pixels.
Create button logout_button displaying "Sign out" with background transparent, text color #0f172a, padding 10 pixels.
Use Supabase backend.
Enable email and password authentication.
Protect page workspace with authentication.
After authentication navigate to workspace.
Use form signup_form to sign up with email signup_email and password signup_password.
Use form login_form to sign in with email login_email and password login_password.
When logout_button is clicked, sign out.
Create database table records.
records has required text column title.
records has required text column status with default "active".
records belongs to authenticated user through owner_id.
Allow authenticated users to read, create, update, and delete their own rows in records through owner_id.
Create index records_owner_created_index on records using owner_id, created_at.
Create data query record_list from records selecting id, title, status, created_at.
record_list orders by created_at descending.
Load record_list on page workspace into record_rows.
Use form record_form to insert into records mapping title_input to title, status_input to status.
When delete_button is clicked, delete from records using state selected_id as id.
Create input upload_input with placeholder "Choose a private file".
upload_input input type is file.
Create state uploaded_path with value "".
Create form message_form containing message_input, message_button with direction vertical, gap 10 pixels.
Create input message_input with placeholder "Notification message".
Create button message_button displaying "Send notification".
message_button submits form.
Create private storage bucket workspace_files.
Allow authenticated users to read, upload, update, and delete their own files in workspace_files.
When upload_input changes, upload file to workspace_files and store path in uploaded_path.
Create server function notify_workspace.
notify_workspace requires authentication.
notify_workspace accepts text field message_input.
notify_workspace returns JSON message "Notification accepted".
notify_workspace forwards request to URL from secret WORKSPACE_WEBHOOK_URL.
Use form message_form to call server function notify_workspace.
storage-functions

Fieldwork Workspace 39 · File workspace

60 lines · 2 pages · Supabase backend

AuthenticationDatabaseStorageServer functionsFormsInteractionsCollections
View code v1-storage-functions-0039
Create page login containing login_form, signup_form with viewport fill, alignment center, distribution center, background #f8fafc, padding 32 pixels, gap 18 pixels.
Create form login_form containing login_email, login_password, login_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input login_email with placeholder "Email".
Create input login_password with placeholder "Password".
login_password input type is password.
Create button login_button displaying "Sign in" with background #0369a1, text color white, padding 11 pixels.
login_button submits form.
Create form signup_form containing signup_email, signup_password, signup_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input signup_email with placeholder "Create account email".
Create input signup_password with placeholder "Create password".
signup_password input type is password.
Create button signup_button displaying "Create account" with background #0f172a, text color white, padding 11 pixels.
signup_button submits form.
Create page workspace containing workspace_title, record_form, records, upload_input, message_form, delete_button, logout_button with viewport fill, background #f8fafc, padding 28 pixels, gap 18 pixels.
Create heading workspace_title displaying "Fieldwork Workspace 39" with font size 30 pixels.
Create form record_form containing title_input, status_input, save_button with direction vertical, gap 10 pixels, padding 22 pixels, background white, border radius 12 pixels.
Create input title_input with placeholder "Title".
Create input status_input with placeholder "Status".
Create button save_button displaying "Save record" with background #0369a1, text color white, padding 11 pixels.
save_button submits form.
Create container records with gap 10 pixels.
Create collection record_rows with values "".
Render collection record_rows inside records as text items.
Create state selected_id with value "".
Create button delete_button displaying "Delete selected" with background #dc2626, text color white, padding 10 pixels.
Create button logout_button displaying "Sign out" with background transparent, text color #0f172a, padding 10 pixels.
Use Supabase backend.
Enable email and password authentication.
Protect page workspace with authentication.
After authentication navigate to workspace.
Use form signup_form to sign up with email signup_email and password signup_password.
Use form login_form to sign in with email login_email and password login_password.
When logout_button is clicked, sign out.
Create database table records.
records has required text column title.
records has required text column status with default "active".
records belongs to authenticated user through owner_id.
Allow authenticated users to read, create, update, and delete their own rows in records through owner_id.
Create index records_owner_created_index on records using owner_id, created_at.
Create data query record_list from records selecting id, title, status, created_at.
record_list orders by created_at descending.
Load record_list on page workspace into record_rows.
Use form record_form to insert into records mapping title_input to title, status_input to status.
When delete_button is clicked, delete from records using state selected_id as id.
Create input upload_input with placeholder "Choose a private file".
upload_input input type is file.
Create state uploaded_path with value "".
Create form message_form containing message_input, message_button with direction vertical, gap 10 pixels.
Create input message_input with placeholder "Notification message".
Create button message_button displaying "Send notification".
message_button submits form.
Create private storage bucket workspace_files.
Allow authenticated users to read, upload, update, and delete their own files in workspace_files.
When upload_input changes, upload file to workspace_files and store path in uploaded_path.
Create server function notify_workspace.
notify_workspace requires authentication.
notify_workspace accepts text field message_input.
notify_workspace returns JSON message "Notification accepted".
notify_workspace forwards request to URL from secret WORKSPACE_WEBHOOK_URL.
Use form message_form to call server function notify_workspace.
storage-functions

Ember Workspace 40 · File workspace

60 lines · 2 pages · Supabase backend

AuthenticationDatabaseStorageServer functionsFormsInteractionsCollections
View code v1-storage-functions-0040
Create page login containing login_form, signup_form with viewport fill, alignment center, distribution center, background #f8fafc, padding 32 pixels, gap 18 pixels.
Create form login_form containing login_email, login_password, login_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input login_email with placeholder "Email".
Create input login_password with placeholder "Password".
login_password input type is password.
Create button login_button displaying "Sign in" with background #4f46e5, text color white, padding 11 pixels.
login_button submits form.
Create form signup_form containing signup_email, signup_password, signup_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input signup_email with placeholder "Create account email".
Create input signup_password with placeholder "Create password".
signup_password input type is password.
Create button signup_button displaying "Create account" with background #0f172a, text color white, padding 11 pixels.
signup_button submits form.
Create page workspace containing workspace_title, record_form, records, upload_input, message_form, delete_button, logout_button with viewport fill, background #f8fafc, padding 28 pixels, gap 18 pixels.
Create heading workspace_title displaying "Ember Workspace 40" with font size 30 pixels.
Create form record_form containing title_input, status_input, save_button with direction vertical, gap 10 pixels, padding 22 pixels, background white, border radius 12 pixels.
Create input title_input with placeholder "Title".
Create input status_input with placeholder "Status".
Create button save_button displaying "Save record" with background #4f46e5, text color white, padding 11 pixels.
save_button submits form.
Create container records with gap 10 pixels.
Create collection record_rows with values "".
Render collection record_rows inside records as text items.
Create state selected_id with value "".
Create button delete_button displaying "Delete selected" with background #dc2626, text color white, padding 10 pixels.
Create button logout_button displaying "Sign out" with background transparent, text color #0f172a, padding 10 pixels.
Use Supabase backend.
Enable email and password authentication.
Protect page workspace with authentication.
After authentication navigate to workspace.
Use form signup_form to sign up with email signup_email and password signup_password.
Use form login_form to sign in with email login_email and password login_password.
When logout_button is clicked, sign out.
Create database table records.
records has required text column title.
records has required text column status with default "active".
records belongs to authenticated user through owner_id.
Allow authenticated users to read, create, update, and delete their own rows in records through owner_id.
Create index records_owner_created_index on records using owner_id, created_at.
Create data query record_list from records selecting id, title, status, created_at.
record_list orders by created_at descending.
Load record_list on page workspace into record_rows.
Use form record_form to insert into records mapping title_input to title, status_input to status.
When delete_button is clicked, delete from records using state selected_id as id.
Create input upload_input with placeholder "Choose a private file".
upload_input input type is file.
Create state uploaded_path with value "".
Create form message_form containing message_input, message_button with direction vertical, gap 10 pixels.
Create input message_input with placeholder "Notification message".
Create button message_button displaying "Send notification".
message_button submits form.
Create private storage bucket workspace_files.
Allow authenticated users to read, upload, update, and delete their own files in workspace_files.
When upload_input changes, upload file to workspace_files and store path in uploaded_path.
Create server function notify_workspace.
notify_workspace requires authentication.
notify_workspace accepts text field message_input.
notify_workspace returns JSON message "Notification accepted".
notify_workspace forwards request to URL from secret WORKSPACE_WEBHOOK_URL.
Use form message_form to call server function notify_workspace.
storage-functions

Aurelia Workspace 41 · File workspace

60 lines · 2 pages · Supabase backend

AuthenticationDatabaseStorageServer functionsFormsInteractionsCollections
View code v1-storage-functions-0041
Create page login containing login_form, signup_form with viewport fill, alignment center, distribution center, background #f8fafc, padding 32 pixels, gap 18 pixels.
Create form login_form containing login_email, login_password, login_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input login_email with placeholder "Email".
Create input login_password with placeholder "Password".
login_password input type is password.
Create button login_button displaying "Sign in" with background #7c3aed, text color white, padding 11 pixels.
login_button submits form.
Create form signup_form containing signup_email, signup_password, signup_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input signup_email with placeholder "Create account email".
Create input signup_password with placeholder "Create password".
signup_password input type is password.
Create button signup_button displaying "Create account" with background #0f172a, text color white, padding 11 pixels.
signup_button submits form.
Create page workspace containing workspace_title, record_form, records, upload_input, message_form, delete_button, logout_button with viewport fill, background #f8fafc, padding 28 pixels, gap 18 pixels.
Create heading workspace_title displaying "Aurelia Workspace 41" with font size 30 pixels.
Create form record_form containing title_input, status_input, save_button with direction vertical, gap 10 pixels, padding 22 pixels, background white, border radius 12 pixels.
Create input title_input with placeholder "Title".
Create input status_input with placeholder "Status".
Create button save_button displaying "Save record" with background #7c3aed, text color white, padding 11 pixels.
save_button submits form.
Create container records with gap 10 pixels.
Create collection record_rows with values "".
Render collection record_rows inside records as text items.
Create state selected_id with value "".
Create button delete_button displaying "Delete selected" with background #dc2626, text color white, padding 10 pixels.
Create button logout_button displaying "Sign out" with background transparent, text color #0f172a, padding 10 pixels.
Use Supabase backend.
Enable email and password authentication.
Protect page workspace with authentication.
After authentication navigate to workspace.
Use form signup_form to sign up with email signup_email and password signup_password.
Use form login_form to sign in with email login_email and password login_password.
When logout_button is clicked, sign out.
Create database table records.
records has required text column title.
records has required text column status with default "active".
records belongs to authenticated user through owner_id.
Allow authenticated users to read, create, update, and delete their own rows in records through owner_id.
Create index records_owner_created_index on records using owner_id, created_at.
Create data query record_list from records selecting id, title, status, created_at.
record_list orders by created_at descending.
Load record_list on page workspace into record_rows.
Use form record_form to insert into records mapping title_input to title, status_input to status.
When delete_button is clicked, delete from records using state selected_id as id.
Create input upload_input with placeholder "Choose a private file".
upload_input input type is file.
Create state uploaded_path with value "".
Create form message_form containing message_input, message_button with direction vertical, gap 10 pixels.
Create input message_input with placeholder "Notification message".
Create button message_button displaying "Send notification".
message_button submits form.
Create private storage bucket workspace_files.
Allow authenticated users to read, upload, update, and delete their own files in workspace_files.
When upload_input changes, upload file to workspace_files and store path in uploaded_path.
Create server function notify_workspace.
notify_workspace requires authentication.
notify_workspace accepts text field message_input.
notify_workspace returns JSON message "Notification accepted".
notify_workspace forwards request to URL from secret WORKSPACE_WEBHOOK_URL.
Use form message_form to call server function notify_workspace.
storage-functions

Northstar Workspace 42 · File workspace

60 lines · 2 pages · Supabase backend

AuthenticationDatabaseStorageServer functionsFormsInteractionsCollections
View code v1-storage-functions-0042
Create page login containing login_form, signup_form with viewport fill, alignment center, distribution center, background #f8fafc, padding 32 pixels, gap 18 pixels.
Create form login_form containing login_email, login_password, login_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input login_email with placeholder "Email".
Create input login_password with placeholder "Password".
login_password input type is password.
Create button login_button displaying "Sign in" with background #2563eb, text color white, padding 11 pixels.
login_button submits form.
Create form signup_form containing signup_email, signup_password, signup_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input signup_email with placeholder "Create account email".
Create input signup_password with placeholder "Create password".
signup_password input type is password.
Create button signup_button displaying "Create account" with background #0f172a, text color white, padding 11 pixels.
signup_button submits form.
Create page workspace containing workspace_title, record_form, records, upload_input, message_form, delete_button, logout_button with viewport fill, background #f8fafc, padding 28 pixels, gap 18 pixels.
Create heading workspace_title displaying "Northstar Workspace 42" with font size 30 pixels.
Create form record_form containing title_input, status_input, save_button with direction vertical, gap 10 pixels, padding 22 pixels, background white, border radius 12 pixels.
Create input title_input with placeholder "Title".
Create input status_input with placeholder "Status".
Create button save_button displaying "Save record" with background #2563eb, text color white, padding 11 pixels.
save_button submits form.
Create container records with gap 10 pixels.
Create collection record_rows with values "".
Render collection record_rows inside records as text items.
Create state selected_id with value "".
Create button delete_button displaying "Delete selected" with background #dc2626, text color white, padding 10 pixels.
Create button logout_button displaying "Sign out" with background transparent, text color #0f172a, padding 10 pixels.
Use Supabase backend.
Enable email and password authentication.
Protect page workspace with authentication.
After authentication navigate to workspace.
Use form signup_form to sign up with email signup_email and password signup_password.
Use form login_form to sign in with email login_email and password login_password.
When logout_button is clicked, sign out.
Create database table records.
records has required text column title.
records has required text column status with default "active".
records belongs to authenticated user through owner_id.
Allow authenticated users to read, create, update, and delete their own rows in records through owner_id.
Create index records_owner_created_index on records using owner_id, created_at.
Create data query record_list from records selecting id, title, status, created_at.
record_list orders by created_at descending.
Load record_list on page workspace into record_rows.
Use form record_form to insert into records mapping title_input to title, status_input to status.
When delete_button is clicked, delete from records using state selected_id as id.
Create input upload_input with placeholder "Choose a private file".
upload_input input type is file.
Create state uploaded_path with value "".
Create form message_form containing message_input, message_button with direction vertical, gap 10 pixels.
Create input message_input with placeholder "Notification message".
Create button message_button displaying "Send notification".
message_button submits form.
Create private storage bucket workspace_files.
Allow authenticated users to read, upload, update, and delete their own files in workspace_files.
When upload_input changes, upload file to workspace_files and store path in uploaded_path.
Create server function notify_workspace.
notify_workspace requires authentication.
notify_workspace accepts text field message_input.
notify_workspace returns JSON message "Notification accepted".
notify_workspace forwards request to URL from secret WORKSPACE_WEBHOOK_URL.
Use form message_form to call server function notify_workspace.
storage-functions

Velvet House Workspace 43 · File workspace

60 lines · 2 pages · Supabase backend

AuthenticationDatabaseStorageServer functionsFormsInteractionsCollections
View code v1-storage-functions-0043
Create page login containing login_form, signup_form with viewport fill, alignment center, distribution center, background #f8fafc, padding 32 pixels, gap 18 pixels.
Create form login_form containing login_email, login_password, login_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input login_email with placeholder "Email".
Create input login_password with placeholder "Password".
login_password input type is password.
Create button login_button displaying "Sign in" with background #0f766e, text color white, padding 11 pixels.
login_button submits form.
Create form signup_form containing signup_email, signup_password, signup_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input signup_email with placeholder "Create account email".
Create input signup_password with placeholder "Create password".
signup_password input type is password.
Create button signup_button displaying "Create account" with background #0f172a, text color white, padding 11 pixels.
signup_button submits form.
Create page workspace containing workspace_title, record_form, records, upload_input, message_form, delete_button, logout_button with viewport fill, background #f8fafc, padding 28 pixels, gap 18 pixels.
Create heading workspace_title displaying "Velvet House Workspace 43" with font size 30 pixels.
Create form record_form containing title_input, status_input, save_button with direction vertical, gap 10 pixels, padding 22 pixels, background white, border radius 12 pixels.
Create input title_input with placeholder "Title".
Create input status_input with placeholder "Status".
Create button save_button displaying "Save record" with background #0f766e, text color white, padding 11 pixels.
save_button submits form.
Create container records with gap 10 pixels.
Create collection record_rows with values "".
Render collection record_rows inside records as text items.
Create state selected_id with value "".
Create button delete_button displaying "Delete selected" with background #dc2626, text color white, padding 10 pixels.
Create button logout_button displaying "Sign out" with background transparent, text color #0f172a, padding 10 pixels.
Use Supabase backend.
Enable email and password authentication.
Protect page workspace with authentication.
After authentication navigate to workspace.
Use form signup_form to sign up with email signup_email and password signup_password.
Use form login_form to sign in with email login_email and password login_password.
When logout_button is clicked, sign out.
Create database table records.
records has required text column title.
records has required text column status with default "active".
records belongs to authenticated user through owner_id.
Allow authenticated users to read, create, update, and delete their own rows in records through owner_id.
Create index records_owner_created_index on records using owner_id, created_at.
Create data query record_list from records selecting id, title, status, created_at.
record_list orders by created_at descending.
Load record_list on page workspace into record_rows.
Use form record_form to insert into records mapping title_input to title, status_input to status.
When delete_button is clicked, delete from records using state selected_id as id.
Create input upload_input with placeholder "Choose a private file".
upload_input input type is file.
Create state uploaded_path with value "".
Create form message_form containing message_input, message_button with direction vertical, gap 10 pixels.
Create input message_input with placeholder "Notification message".
Create button message_button displaying "Send notification".
message_button submits form.
Create private storage bucket workspace_files.
Allow authenticated users to read, upload, update, and delete their own files in workspace_files.
When upload_input changes, upload file to workspace_files and store path in uploaded_path.
Create server function notify_workspace.
notify_workspace requires authentication.
notify_workspace accepts text field message_input.
notify_workspace returns JSON message "Notification accepted".
notify_workspace forwards request to URL from secret WORKSPACE_WEBHOOK_URL.
Use form message_form to call server function notify_workspace.
storage-functions

Luma Workspace 44 · File workspace

60 lines · 2 pages · Supabase backend

AuthenticationDatabaseStorageServer functionsFormsInteractionsCollections
View code v1-storage-functions-0044
Create page login containing login_form, signup_form with viewport fill, alignment center, distribution center, background #f8fafc, padding 32 pixels, gap 18 pixels.
Create form login_form containing login_email, login_password, login_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input login_email with placeholder "Email".
Create input login_password with placeholder "Password".
login_password input type is password.
Create button login_button displaying "Sign in" with background #be123c, text color white, padding 11 pixels.
login_button submits form.
Create form signup_form containing signup_email, signup_password, signup_button with direction vertical, gap 10 pixels, padding 24 pixels, background white, border radius 12 pixels.
Create input signup_email with placeholder "Create account email".
Create input signup_password with placeholder "Create password".
signup_password input type is password.
Create button signup_button displaying "Create account" with background #0f172a, text color white, padding 11 pixels.
signup_button submits form.
Create page workspace containing workspace_title, record_form, records, upload_input, message_form, delete_button, logout_button with viewport fill, background #f8fafc, padding 28 pixels, gap 18 pixels.
Create heading workspace_title displaying "Luma Workspace 44" with font size 30 pixels.
Create form record_form containing title_input, status_input, save_button with direction vertical, gap 10 pixels, padding 22 pixels, background white, border radius 12 pixels.
Create input title_input with placeholder "Title".
Create input status_input with placeholder "Status".
Create button save_button displaying "Save record" with background #be123c, text color white, padding 11 pixels.
save_button submits form.
Create container records with gap 10 pixels.
Create collection record_rows with values "".
Render collection record_rows inside records as text items.
Create state selected_id with value "".
Create button delete_button displaying "Delete selected" with background #dc2626, text color white, padding 10 pixels.
Create button logout_button displaying "Sign out" with background transparent, text color #0f172a, padding 10 pixels.
Use Supabase backend.
Enable email and password authentication.
Protect page workspace with authentication.
After authentication navigate to workspace.
Use form signup_form to sign up with email signup_email and password signup_password.
Use form login_form to sign in with email login_email and password login_password.
When logout_button is clicked, sign out.
Create database table records.
records has required text column title.
records has required text column status with default "active".
records belongs to authenticated user through owner_id.
Allow authenticated users to read, create, update, and delete their own rows in records through owner_id.
Create index records_owner_created_index on records using owner_id, created_at.
Create data query record_list from records selecting id, title, status, created_at.
record_list orders by created_at descending.
Load record_list on page workspace into record_rows.
Use form record_form to insert into records mapping title_input to title, status_input to status.
When delete_button is clicked, delete from records using state selected_id as id.
Create input upload_input with placeholder "Choose a private file".
upload_input input type is file.
Create state uploaded_path with value "".
Create form message_form containing message_input, message_button with direction vertical, gap 10 pixels.
Create input message_input with placeholder "Notification message".
Create button message_button displaying "Send notification".
message_button submits form.
Create private storage bucket workspace_files.
Allow authenticated users to read, upload, update, and delete their own files in workspace_files.
When upload_input changes, upload file to workspace_files and store path in uploaded_path.
Create server function notify_workspace.
notify_workspace requires authentication.
notify_workspace accepts text field message_input.
notify_workspace returns JSON message "Notification accepted".
notify_workspace forwards request to URL from secret WORKSPACE_WEBHOOK_URL.
Use form message_form to call server function notify_workspace.