@everylanguage/shared-types 1.0.23-dev.20260108.21312.188 → 1.0.23-dev.20260110.115114.197
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -1
- package/types/database.d.ts +63 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everylanguage/shared-types",
|
|
3
|
-
"version": "1.0.23-dev.
|
|
3
|
+
"version": "1.0.23-dev.20260110.115114.197",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "types/database.js",
|
|
@@ -25,6 +25,10 @@
|
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "https://github.com/Every-Language/everylanguage-monorepo.git"
|
|
31
|
+
},
|
|
28
32
|
"description": "TypeScript types for Every Language database",
|
|
29
33
|
"keywords": [
|
|
30
34
|
"supabase",
|
package/types/database.d.ts
CHANGED
|
@@ -4665,6 +4665,68 @@ export type Database = {
|
|
|
4665
4665
|
}
|
|
4666
4666
|
];
|
|
4667
4667
|
};
|
|
4668
|
+
user_projects_denormalized: {
|
|
4669
|
+
Row: {
|
|
4670
|
+
created_at: string | null;
|
|
4671
|
+
id: string;
|
|
4672
|
+
project_id: string;
|
|
4673
|
+
role_id: string;
|
|
4674
|
+
role_key: string;
|
|
4675
|
+
role_name: string;
|
|
4676
|
+
updated_at: string | null;
|
|
4677
|
+
user_id: string;
|
|
4678
|
+
};
|
|
4679
|
+
Insert: {
|
|
4680
|
+
created_at?: string | null;
|
|
4681
|
+
id?: string;
|
|
4682
|
+
project_id: string;
|
|
4683
|
+
role_id: string;
|
|
4684
|
+
role_key: string;
|
|
4685
|
+
role_name: string;
|
|
4686
|
+
updated_at?: string | null;
|
|
4687
|
+
user_id: string;
|
|
4688
|
+
};
|
|
4689
|
+
Update: {
|
|
4690
|
+
created_at?: string | null;
|
|
4691
|
+
id?: string;
|
|
4692
|
+
project_id?: string;
|
|
4693
|
+
role_id?: string;
|
|
4694
|
+
role_key?: string;
|
|
4695
|
+
role_name?: string;
|
|
4696
|
+
updated_at?: string | null;
|
|
4697
|
+
user_id?: string;
|
|
4698
|
+
};
|
|
4699
|
+
Relationships: [
|
|
4700
|
+
{
|
|
4701
|
+
foreignKeyName: "user_projects_denormalized_project_id_fkey";
|
|
4702
|
+
columns: ["project_id"];
|
|
4703
|
+
isOneToOne: false;
|
|
4704
|
+
referencedRelation: "projects";
|
|
4705
|
+
referencedColumns: ["id"];
|
|
4706
|
+
},
|
|
4707
|
+
{
|
|
4708
|
+
foreignKeyName: "user_projects_denormalized_project_id_fkey";
|
|
4709
|
+
columns: ["project_id"];
|
|
4710
|
+
isOneToOne: false;
|
|
4711
|
+
referencedRelation: "user_projects";
|
|
4712
|
+
referencedColumns: ["id"];
|
|
4713
|
+
},
|
|
4714
|
+
{
|
|
4715
|
+
foreignKeyName: "user_projects_denormalized_role_id_fkey";
|
|
4716
|
+
columns: ["role_id"];
|
|
4717
|
+
isOneToOne: false;
|
|
4718
|
+
referencedRelation: "roles";
|
|
4719
|
+
referencedColumns: ["id"];
|
|
4720
|
+
},
|
|
4721
|
+
{
|
|
4722
|
+
foreignKeyName: "user_projects_denormalized_user_id_fkey";
|
|
4723
|
+
columns: ["user_id"];
|
|
4724
|
+
isOneToOne: false;
|
|
4725
|
+
referencedRelation: "users";
|
|
4726
|
+
referencedColumns: ["id"];
|
|
4727
|
+
}
|
|
4728
|
+
];
|
|
4729
|
+
};
|
|
4668
4730
|
user_roles: {
|
|
4669
4731
|
Row: {
|
|
4670
4732
|
base_id: string | null;
|
|
@@ -6038,7 +6100,7 @@ export type Database = {
|
|
|
6038
6100
|
referencedColumns: ["language_entity_id"];
|
|
6039
6101
|
},
|
|
6040
6102
|
{
|
|
6041
|
-
foreignKeyName: "
|
|
6103
|
+
foreignKeyName: "user_projects_denormalized_role_id_fkey";
|
|
6042
6104
|
columns: ["role_id"];
|
|
6043
6105
|
isOneToOne: false;
|
|
6044
6106
|
referencedRelation: "roles";
|