@teardown/types 0.1.39 → 0.1.41
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 +4 -4
- package/src/generated-consts.ts +7 -0
- package/src/generated-types.ts +46 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teardown/types",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.41",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"check": "bun x biome check ./src"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@biomejs/biome": "2.3.
|
|
45
|
-
"@teardown/tsconfig": "0.1.
|
|
44
|
+
"@biomejs/biome": "2.3.8",
|
|
45
|
+
"@teardown/tsconfig": "0.1.41",
|
|
46
46
|
"@types/bun": "1.3.3"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"typescript": "
|
|
49
|
+
"typescript": "5.9.3"
|
|
50
50
|
}
|
|
51
51
|
}
|
package/src/generated-consts.ts
CHANGED
|
@@ -23,6 +23,13 @@ export enum EnvironmentTypeEnum {
|
|
|
23
23
|
PRODUCTION = "PRODUCTION",
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
export enum OrgInvitationStatusEnum {
|
|
27
|
+
PENDING = "PENDING",
|
|
28
|
+
ACCEPTED = "ACCEPTED",
|
|
29
|
+
CANCELLED = "CANCELLED",
|
|
30
|
+
EXPIRED = "EXPIRED",
|
|
31
|
+
}
|
|
32
|
+
|
|
26
33
|
export enum OrgRoleTypeEnum {
|
|
27
34
|
OWNER = "OWNER",
|
|
28
35
|
ADMIN = "ADMIN",
|
package/src/generated-types.ts
CHANGED
|
@@ -533,6 +533,50 @@ export type Database = {
|
|
|
533
533
|
},
|
|
534
534
|
]
|
|
535
535
|
}
|
|
536
|
+
org_invitations: {
|
|
537
|
+
Row: {
|
|
538
|
+
created_at: string
|
|
539
|
+
email: string
|
|
540
|
+
expires_at: string
|
|
541
|
+
id: string
|
|
542
|
+
invited_by: string
|
|
543
|
+
org_id: string
|
|
544
|
+
role: Database["public"]["Enums"]["org_role_type"]
|
|
545
|
+
status: Database["public"]["Enums"]["org_invitation_status"]
|
|
546
|
+
updated_at: string
|
|
547
|
+
}
|
|
548
|
+
Insert: {
|
|
549
|
+
created_at?: string
|
|
550
|
+
email: string
|
|
551
|
+
expires_at?: string
|
|
552
|
+
id?: string
|
|
553
|
+
invited_by: string
|
|
554
|
+
org_id: string
|
|
555
|
+
role?: Database["public"]["Enums"]["org_role_type"]
|
|
556
|
+
status?: Database["public"]["Enums"]["org_invitation_status"]
|
|
557
|
+
updated_at?: string
|
|
558
|
+
}
|
|
559
|
+
Update: {
|
|
560
|
+
created_at?: string
|
|
561
|
+
email?: string
|
|
562
|
+
expires_at?: string
|
|
563
|
+
id?: string
|
|
564
|
+
invited_by?: string
|
|
565
|
+
org_id?: string
|
|
566
|
+
role?: Database["public"]["Enums"]["org_role_type"]
|
|
567
|
+
status?: Database["public"]["Enums"]["org_invitation_status"]
|
|
568
|
+
updated_at?: string
|
|
569
|
+
}
|
|
570
|
+
Relationships: [
|
|
571
|
+
{
|
|
572
|
+
foreignKeyName: "org_invitations_org_id_fkey"
|
|
573
|
+
columns: ["org_id"]
|
|
574
|
+
isOneToOne: false
|
|
575
|
+
referencedRelation: "orgs"
|
|
576
|
+
referencedColumns: ["id"]
|
|
577
|
+
},
|
|
578
|
+
]
|
|
579
|
+
}
|
|
536
580
|
org_roles: {
|
|
537
581
|
Row: {
|
|
538
582
|
created_at: string
|
|
@@ -1111,6 +1155,7 @@ export type Database = {
|
|
|
1111
1155
|
| "UNKNOWN"
|
|
1112
1156
|
| "OTHER"
|
|
1113
1157
|
environment_type: "DEVELOPMENT" | "STAGING" | "PRODUCTION"
|
|
1158
|
+
org_invitation_status: "PENDING" | "ACCEPTED" | "CANCELLED" | "EXPIRED"
|
|
1114
1159
|
org_role_type: "OWNER" | "ADMIN" | "ENGINEER"
|
|
1115
1160
|
org_type: "PERSONAL" | "START_UP" | "SCALE_UP" | "AGENCY" | "ENTERPRISE"
|
|
1116
1161
|
project_api_key_kind: "publishable" | "secret"
|
|
@@ -1281,6 +1326,7 @@ export const Constants = {
|
|
|
1281
1326
|
"OTHER",
|
|
1282
1327
|
],
|
|
1283
1328
|
environment_type: ["DEVELOPMENT", "STAGING", "PRODUCTION"],
|
|
1329
|
+
org_invitation_status: ["PENDING", "ACCEPTED", "CANCELLED", "EXPIRED"],
|
|
1284
1330
|
org_role_type: ["OWNER", "ADMIN", "ENGINEER"],
|
|
1285
1331
|
org_type: ["PERSONAL", "START_UP", "SCALE_UP", "AGENCY", "ENTERPRISE"],
|
|
1286
1332
|
project_api_key_kind: ["publishable", "secret"],
|