@periskope/types 0.6.176 → 0.6.177
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/dist/supabase.types.d.ts +33 -18
- package/dist/types.d.ts +4 -0
- package/index.ts +3 -3
- package/package.json +1 -1
- package/rules.types.ts +1618 -1618
- package/supabase.types.ts +2749 -2744
- package/types.ts +856 -852
package/dist/supabase.types.d.ts
CHANGED
|
@@ -2,6 +2,31 @@ export type Json = {
|
|
|
2
2
|
[key: string]: any;
|
|
3
3
|
} | any;
|
|
4
4
|
export type Database = {
|
|
5
|
+
graphql_public: {
|
|
6
|
+
Tables: {
|
|
7
|
+
[_ in never]: never;
|
|
8
|
+
};
|
|
9
|
+
Views: {
|
|
10
|
+
[_ in never]: never;
|
|
11
|
+
};
|
|
12
|
+
Functions: {
|
|
13
|
+
graphql: {
|
|
14
|
+
Args: {
|
|
15
|
+
operationName?: string;
|
|
16
|
+
query?: string;
|
|
17
|
+
variables?: Json;
|
|
18
|
+
extensions?: Json;
|
|
19
|
+
};
|
|
20
|
+
Returns: Json;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
Enums: {
|
|
24
|
+
[_ in never]: never;
|
|
25
|
+
};
|
|
26
|
+
CompositeTypes: {
|
|
27
|
+
[_ in never]: never;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
5
30
|
internal: {
|
|
6
31
|
Tables: {
|
|
7
32
|
config: {
|
|
@@ -884,7 +909,7 @@ export type Database = {
|
|
|
884
909
|
response_time?: number | null;
|
|
885
910
|
status?: Database["public"]["Enums"]["enum_chat_tickets_status"] | null;
|
|
886
911
|
subject: string;
|
|
887
|
-
ticket_id
|
|
912
|
+
ticket_id?: string;
|
|
888
913
|
zohodesk_metadata?: Json | null;
|
|
889
914
|
};
|
|
890
915
|
Update: {
|
|
@@ -1461,6 +1486,13 @@ export type Database = {
|
|
|
1461
1486
|
user_id?: string | null;
|
|
1462
1487
|
};
|
|
1463
1488
|
Relationships: [
|
|
1489
|
+
{
|
|
1490
|
+
foreignKeyName: "tbl_org_members_fkey_auth_users";
|
|
1491
|
+
columns: ["user_id"];
|
|
1492
|
+
isOneToOne: false;
|
|
1493
|
+
referencedRelation: "users";
|
|
1494
|
+
referencedColumns: ["id"];
|
|
1495
|
+
},
|
|
1464
1496
|
{
|
|
1465
1497
|
foreignKeyName: "tbl_org_members_fkey_tbl_org";
|
|
1466
1498
|
columns: ["org_id"];
|
|
@@ -2339,7 +2371,6 @@ export type Database = {
|
|
|
2339
2371
|
owner_id: string | null;
|
|
2340
2372
|
path_tokens: string[] | null;
|
|
2341
2373
|
updated_at: string | null;
|
|
2342
|
-
user_metadata: Json | null;
|
|
2343
2374
|
version: string | null;
|
|
2344
2375
|
};
|
|
2345
2376
|
Insert: {
|
|
@@ -2353,7 +2384,6 @@ export type Database = {
|
|
|
2353
2384
|
owner_id?: string | null;
|
|
2354
2385
|
path_tokens?: string[] | null;
|
|
2355
2386
|
updated_at?: string | null;
|
|
2356
|
-
user_metadata?: Json | null;
|
|
2357
2387
|
version?: string | null;
|
|
2358
2388
|
};
|
|
2359
2389
|
Update: {
|
|
@@ -2367,7 +2397,6 @@ export type Database = {
|
|
|
2367
2397
|
owner_id?: string | null;
|
|
2368
2398
|
path_tokens?: string[] | null;
|
|
2369
2399
|
updated_at?: string | null;
|
|
2370
|
-
user_metadata?: Json | null;
|
|
2371
2400
|
version?: string | null;
|
|
2372
2401
|
};
|
|
2373
2402
|
Relationships: [
|
|
@@ -2389,7 +2418,6 @@ export type Database = {
|
|
|
2389
2418
|
key: string;
|
|
2390
2419
|
owner_id: string | null;
|
|
2391
2420
|
upload_signature: string;
|
|
2392
|
-
user_metadata: Json | null;
|
|
2393
2421
|
version: string;
|
|
2394
2422
|
};
|
|
2395
2423
|
Insert: {
|
|
@@ -2400,7 +2428,6 @@ export type Database = {
|
|
|
2400
2428
|
key: string;
|
|
2401
2429
|
owner_id?: string | null;
|
|
2402
2430
|
upload_signature: string;
|
|
2403
|
-
user_metadata?: Json | null;
|
|
2404
2431
|
version: string;
|
|
2405
2432
|
};
|
|
2406
2433
|
Update: {
|
|
@@ -2411,7 +2438,6 @@ export type Database = {
|
|
|
2411
2438
|
key?: string;
|
|
2412
2439
|
owner_id?: string | null;
|
|
2413
2440
|
upload_signature?: string;
|
|
2414
|
-
user_metadata?: Json | null;
|
|
2415
2441
|
version?: string;
|
|
2416
2442
|
};
|
|
2417
2443
|
Relationships: [
|
|
@@ -2548,10 +2574,6 @@ export type Database = {
|
|
|
2548
2574
|
updated_at: string;
|
|
2549
2575
|
}[];
|
|
2550
2576
|
};
|
|
2551
|
-
operation: {
|
|
2552
|
-
Args: Record<PropertyKey, never>;
|
|
2553
|
-
Returns: string;
|
|
2554
|
-
};
|
|
2555
2577
|
search: {
|
|
2556
2578
|
Args: {
|
|
2557
2579
|
prefix: string;
|
|
@@ -2622,11 +2644,4 @@ export type Enums<PublicEnumNameOrOptions extends keyof PublicSchema["Enums"] |
|
|
|
2622
2644
|
} ? keyof Database[PublicEnumNameOrOptions["schema"]]["Enums"] : never = never> = PublicEnumNameOrOptions extends {
|
|
2623
2645
|
schema: keyof Database;
|
|
2624
2646
|
} ? Database[PublicEnumNameOrOptions["schema"]]["Enums"][EnumName] : PublicEnumNameOrOptions extends keyof PublicSchema["Enums"] ? PublicSchema["Enums"][PublicEnumNameOrOptions] : never;
|
|
2625
|
-
export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof PublicSchema["CompositeTypes"] | {
|
|
2626
|
-
schema: keyof Database;
|
|
2627
|
-
}, CompositeTypeName extends PublicCompositeTypeNameOrOptions extends {
|
|
2628
|
-
schema: keyof Database;
|
|
2629
|
-
} ? keyof Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never = never> = PublicCompositeTypeNameOrOptions extends {
|
|
2630
|
-
schema: keyof Database;
|
|
2631
|
-
} ? Database[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof PublicSchema["CompositeTypes"] ? PublicSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never;
|
|
2632
2647
|
export {};
|
package/dist/types.d.ts
CHANGED
|
@@ -89,10 +89,14 @@ export type OrgMetadata = {
|
|
|
89
89
|
[id: string]: number;
|
|
90
90
|
};
|
|
91
91
|
};
|
|
92
|
+
rules?: {
|
|
93
|
+
limit?: number;
|
|
94
|
+
};
|
|
92
95
|
};
|
|
93
96
|
type AccessScopes = {
|
|
94
97
|
feature_flags: Record<string, boolean>;
|
|
95
98
|
integrations: boolean;
|
|
99
|
+
rules: boolean;
|
|
96
100
|
exports: boolean;
|
|
97
101
|
};
|
|
98
102
|
export type OrgType = OverrideProperties<Merge<Tables<'tbl_org'>, {
|
package/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './rules.types';
|
|
2
|
-
export * from './supabase.types';
|
|
3
|
-
export * from './types';
|
|
1
|
+
export * from './rules.types';
|
|
2
|
+
export * from './supabase.types';
|
|
3
|
+
export * from './types';
|