This commit is contained in:
Karl Ludwig Weise
2025-09-22 21:13:44 +02:00
parent a6b41fce87
commit 66c302b828
5 changed files with 42 additions and 128 deletions
+22 -71
View File
@@ -91,9 +91,7 @@
"tenant_short_name_unique": {
"name": "tenant_short_name_unique",
"nullsNotDistinct": false,
"columns": [
"short_name"
]
"columns": ["short_name"]
}
},
"policies": {},
@@ -179,12 +177,8 @@
"name": "tenant_config_tenant_id_tenant_id_fk",
"tableFrom": "tenant_config",
"tableTo": "tenant",
"columnsFrom": [
"tenant_id"
],
"columnsTo": [
"id"
],
"columnsFrom": ["tenant_id"],
"columnsTo": ["id"],
"onDelete": "no action",
"onUpdate": "no action"
}
@@ -320,12 +314,8 @@
"name": "user_tenant_id_tenant_id_fk",
"tableFrom": "user",
"tableTo": "tenant",
"columnsFrom": [
"tenant_id"
],
"columnsTo": [
"id"
],
"columnsFrom": ["tenant_id"],
"columnsTo": ["id"],
"onDelete": "no action",
"onUpdate": "no action"
}
@@ -335,9 +325,7 @@
"user_email_unique": {
"name": "user_email_unique",
"nullsNotDistinct": false,
"columns": [
"email"
]
"columns": ["email"]
}
},
"policies": {},
@@ -492,12 +480,8 @@
"name": "user_invite_tenant_id_tenant_id_fk",
"tableFrom": "user_invite",
"tableTo": "tenant",
"columnsFrom": [
"tenant_id"
],
"columnsTo": [
"id"
],
"columnsFrom": ["tenant_id"],
"columnsTo": ["id"],
"onDelete": "cascade",
"onUpdate": "no action"
},
@@ -505,12 +489,8 @@
"name": "user_invite_invited_by_user_id_fk",
"tableFrom": "user_invite",
"tableTo": "user",
"columnsFrom": [
"invited_by"
],
"columnsTo": [
"id"
],
"columnsFrom": ["invited_by"],
"columnsTo": ["id"],
"onDelete": "cascade",
"onUpdate": "no action"
},
@@ -518,12 +498,8 @@
"name": "user_invite_created_user_id_user_id_fk",
"tableFrom": "user_invite",
"tableTo": "user",
"columnsFrom": [
"created_user_id"
],
"columnsTo": [
"id"
],
"columnsFrom": ["created_user_id"],
"columnsTo": ["id"],
"onDelete": "no action",
"onUpdate": "no action"
}
@@ -533,9 +509,7 @@
"user_invite_invite_code_unique": {
"name": "user_invite_invite_code_unique",
"nullsNotDistinct": false,
"columns": [
"invite_code"
]
"columns": ["invite_code"]
}
},
"policies": {},
@@ -620,12 +594,8 @@
"name": "user_passkey_user_id_user_id_fk",
"tableFrom": "user_passkey",
"tableTo": "user",
"columnsFrom": [
"user_id"
],
"columnsTo": [
"id"
],
"columnsFrom": ["user_id"],
"columnsTo": ["id"],
"onDelete": "cascade",
"onUpdate": "no action"
}
@@ -748,12 +718,8 @@
"name": "user_session_user_id_user_id_fk",
"tableFrom": "user_session",
"tableTo": "user",
"columnsFrom": [
"user_id"
],
"columnsTo": [
"id"
],
"columnsFrom": ["user_id"],
"columnsTo": ["id"],
"onDelete": "cascade",
"onUpdate": "no action"
}
@@ -763,9 +729,7 @@
"user_session_session_token_unique": {
"name": "user_session_session_token_unique",
"nullsNotDistinct": false,
"columns": [
"session_token"
]
"columns": ["session_token"]
}
},
"policies": {},
@@ -777,30 +741,17 @@
"public.config_type": {
"name": "config_type",
"schema": "public",
"values": [
"BOOLEAN",
"NUMBER",
"STRING"
]
"values": ["BOOLEAN", "NUMBER", "STRING"]
},
"public.setup_state": {
"name": "setup_state",
"schema": "public",
"values": [
"NEW",
"SETTINGS_CREATED",
"AGENTS_SET_UP",
"FIRST_CHANNEL_CREATED"
]
"values": ["NEW", "SETTINGS_CREATED", "AGENTS_SET_UP", "FIRST_CHANNEL_CREATED"]
},
"public.user_role": {
"name": "user_role",
"schema": "public",
"values": [
"GLOBAL_ADMIN",
"TENANT_ADMIN",
"STAFF"
]
"values": ["GLOBAL_ADMIN", "TENANT_ADMIN", "STAFF"]
}
},
"schemas": {},
@@ -813,4 +764,4 @@
"schemas": {},
"tables": {}
}
}
}
+1 -1
View File
@@ -31,4 +31,4 @@
"breakpoints": true
}
]
}
}
@@ -39,7 +39,7 @@
detail: Matrix;
}>;
type Props = Omit<HTMLInputAttributes, "type"> & {
type Props = Omit<HTMLInputAttributes, "type" | "files"> & {
FallbackIcon: Component;
value?: string | File | null;
aspectRatio?: number;
@@ -53,7 +53,6 @@
aspectRatio = 1,
width = 300,
height = 300,
files,
...restProps
}: Props = $props();
+17 -53
View File
@@ -91,12 +91,8 @@
"name": "agent_absence_agent_id_agent_id_fk",
"tableFrom": "agent_absence",
"tableTo": "agent",
"columnsFrom": [
"agent_id"
],
"columnsTo": [
"id"
],
"columnsFrom": ["agent_id"],
"columnsTo": ["id"],
"onDelete": "no action",
"onUpdate": "no action"
}
@@ -169,12 +165,8 @@
"name": "appointment_client_id_client_id_fk",
"tableFrom": "appointment",
"tableTo": "client",
"columnsFrom": [
"client_id"
],
"columnsTo": [
"id"
],
"columnsFrom": ["client_id"],
"columnsTo": ["id"],
"onDelete": "no action",
"onUpdate": "no action"
},
@@ -182,12 +174,8 @@
"name": "appointment_channel_id_channel_id_fk",
"tableFrom": "appointment",
"tableTo": "channel",
"columnsFrom": [
"channel_id"
],
"columnsTo": [
"id"
],
"columnsFrom": ["channel_id"],
"columnsTo": ["id"],
"onDelete": "no action",
"onUpdate": "no action"
}
@@ -284,12 +272,8 @@
"name": "channel_agent_channel_id_channel_id_fk",
"tableFrom": "channel_agent",
"tableTo": "channel",
"columnsFrom": [
"channel_id"
],
"columnsTo": [
"id"
],
"columnsFrom": ["channel_id"],
"columnsTo": ["id"],
"onDelete": "no action",
"onUpdate": "no action"
},
@@ -297,12 +281,8 @@
"name": "channel_agent_agent_id_agent_id_fk",
"tableFrom": "channel_agent",
"tableTo": "agent",
"columnsFrom": [
"agent_id"
],
"columnsTo": [
"id"
],
"columnsFrom": ["agent_id"],
"columnsTo": ["id"],
"onDelete": "no action",
"onUpdate": "no action"
}
@@ -336,12 +316,8 @@
"name": "channel_slot_template_channel_id_channel_id_fk",
"tableFrom": "channel_slot_template",
"tableTo": "channel",
"columnsFrom": [
"channel_id"
],
"columnsTo": [
"id"
],
"columnsFrom": ["channel_id"],
"columnsTo": ["id"],
"onDelete": "no action",
"onUpdate": "no action"
},
@@ -349,12 +325,8 @@
"name": "channel_slot_template_slot_template_id_slotTemplate_id_fk",
"tableFrom": "channel_slot_template",
"tableTo": "slotTemplate",
"columnsFrom": [
"slot_template_id"
],
"columnsTo": [
"id"
],
"columnsFrom": ["slot_template_id"],
"columnsTo": ["id"],
"onDelete": "no action",
"onUpdate": "no action"
}
@@ -414,9 +386,7 @@
"client_hash_key_unique": {
"name": "client_hash_key_unique",
"nullsNotDistinct": false,
"columns": [
"hash_key"
]
"columns": ["hash_key"]
}
},
"policies": {},
@@ -472,13 +442,7 @@
"public.appointment_status": {
"name": "appointment_status",
"schema": "public",
"values": [
"NEW",
"CONFIRMED",
"HELD",
"REJECTED",
"NO_SHOW"
]
"values": ["NEW", "CONFIRMED", "HELD", "REJECTED", "NO_SHOW"]
}
},
"schemas": {},
@@ -491,4 +455,4 @@
"schemas": {},
"tables": {}
}
}
}
+1 -1
View File
@@ -24,4 +24,4 @@
"breakpoints": true
}
]
}
}