@periskope/types 0.6.177 → 0.6.178
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 +18 -33
- package/dist/types.d.ts +4 -1
- package/index.ts +3 -3
- package/package.json +1 -1
- package/rules.types.ts +1618 -1618
- package/supabase.types.ts +2744 -2749
- package/types.ts +859 -856
package/dist/supabase.types.d.ts
CHANGED
|
@@ -2,31 +2,6 @@ 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
|
-
};
|
|
30
5
|
internal: {
|
|
31
6
|
Tables: {
|
|
32
7
|
config: {
|
|
@@ -1486,13 +1461,6 @@ export type Database = {
|
|
|
1486
1461
|
user_id?: string | null;
|
|
1487
1462
|
};
|
|
1488
1463
|
Relationships: [
|
|
1489
|
-
{
|
|
1490
|
-
foreignKeyName: "tbl_org_members_fkey_auth_users";
|
|
1491
|
-
columns: ["user_id"];
|
|
1492
|
-
isOneToOne: false;
|
|
1493
|
-
referencedRelation: "users";
|
|
1494
|
-
referencedColumns: ["id"];
|
|
1495
|
-
},
|
|
1496
1464
|
{
|
|
1497
1465
|
foreignKeyName: "tbl_org_members_fkey_tbl_org";
|
|
1498
1466
|
columns: ["org_id"];
|
|
@@ -1908,6 +1876,7 @@ export type Database = {
|
|
|
1908
1876
|
};
|
|
1909
1877
|
view_chats: {
|
|
1910
1878
|
Row: {
|
|
1879
|
+
add_members_admins_only: boolean | null;
|
|
1911
1880
|
assigned_to: string | null;
|
|
1912
1881
|
chat_access: Json | null;
|
|
1913
1882
|
chat_id: string | null;
|
|
@@ -1927,7 +1896,6 @@ export type Database = {
|
|
|
1927
1896
|
is_muted: boolean | null;
|
|
1928
1897
|
label_ids: Json | null;
|
|
1929
1898
|
latest_message: Json | null;
|
|
1930
|
-
member_add_mode: string | null;
|
|
1931
1899
|
member_count: number | null;
|
|
1932
1900
|
message_unread_count: number | null;
|
|
1933
1901
|
messages_admins_only: boolean | null;
|
|
@@ -2371,6 +2339,7 @@ export type Database = {
|
|
|
2371
2339
|
owner_id: string | null;
|
|
2372
2340
|
path_tokens: string[] | null;
|
|
2373
2341
|
updated_at: string | null;
|
|
2342
|
+
user_metadata: Json | null;
|
|
2374
2343
|
version: string | null;
|
|
2375
2344
|
};
|
|
2376
2345
|
Insert: {
|
|
@@ -2384,6 +2353,7 @@ export type Database = {
|
|
|
2384
2353
|
owner_id?: string | null;
|
|
2385
2354
|
path_tokens?: string[] | null;
|
|
2386
2355
|
updated_at?: string | null;
|
|
2356
|
+
user_metadata?: Json | null;
|
|
2387
2357
|
version?: string | null;
|
|
2388
2358
|
};
|
|
2389
2359
|
Update: {
|
|
@@ -2397,6 +2367,7 @@ export type Database = {
|
|
|
2397
2367
|
owner_id?: string | null;
|
|
2398
2368
|
path_tokens?: string[] | null;
|
|
2399
2369
|
updated_at?: string | null;
|
|
2370
|
+
user_metadata?: Json | null;
|
|
2400
2371
|
version?: string | null;
|
|
2401
2372
|
};
|
|
2402
2373
|
Relationships: [
|
|
@@ -2418,6 +2389,7 @@ export type Database = {
|
|
|
2418
2389
|
key: string;
|
|
2419
2390
|
owner_id: string | null;
|
|
2420
2391
|
upload_signature: string;
|
|
2392
|
+
user_metadata: Json | null;
|
|
2421
2393
|
version: string;
|
|
2422
2394
|
};
|
|
2423
2395
|
Insert: {
|
|
@@ -2428,6 +2400,7 @@ export type Database = {
|
|
|
2428
2400
|
key: string;
|
|
2429
2401
|
owner_id?: string | null;
|
|
2430
2402
|
upload_signature: string;
|
|
2403
|
+
user_metadata?: Json | null;
|
|
2431
2404
|
version: string;
|
|
2432
2405
|
};
|
|
2433
2406
|
Update: {
|
|
@@ -2438,6 +2411,7 @@ export type Database = {
|
|
|
2438
2411
|
key?: string;
|
|
2439
2412
|
owner_id?: string | null;
|
|
2440
2413
|
upload_signature?: string;
|
|
2414
|
+
user_metadata?: Json | null;
|
|
2441
2415
|
version?: string;
|
|
2442
2416
|
};
|
|
2443
2417
|
Relationships: [
|
|
@@ -2574,6 +2548,10 @@ export type Database = {
|
|
|
2574
2548
|
updated_at: string;
|
|
2575
2549
|
}[];
|
|
2576
2550
|
};
|
|
2551
|
+
operation: {
|
|
2552
|
+
Args: Record<PropertyKey, never>;
|
|
2553
|
+
Returns: string;
|
|
2554
|
+
};
|
|
2577
2555
|
search: {
|
|
2578
2556
|
Args: {
|
|
2579
2557
|
prefix: string;
|
|
@@ -2644,4 +2622,11 @@ export type Enums<PublicEnumNameOrOptions extends keyof PublicSchema["Enums"] |
|
|
|
2644
2622
|
} ? keyof Database[PublicEnumNameOrOptions["schema"]]["Enums"] : never = never> = PublicEnumNameOrOptions extends {
|
|
2645
2623
|
schema: keyof Database;
|
|
2646
2624
|
} ? 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;
|
|
2647
2632
|
export {};
|
package/dist/types.d.ts
CHANGED
|
@@ -92,6 +92,9 @@ export type OrgMetadata = {
|
|
|
92
92
|
rules?: {
|
|
93
93
|
limit?: number;
|
|
94
94
|
};
|
|
95
|
+
ai?: {
|
|
96
|
+
flag_prompt?: string;
|
|
97
|
+
};
|
|
95
98
|
};
|
|
96
99
|
type AccessScopes = {
|
|
97
100
|
feature_flags: Record<string, boolean>;
|
|
@@ -470,7 +473,7 @@ export type PollResultType = {
|
|
|
470
473
|
export type CreateGroupOptions = {
|
|
471
474
|
messagesAdminsOnly?: boolean;
|
|
472
475
|
infoAdminsOnly?: boolean;
|
|
473
|
-
|
|
476
|
+
addMembersAdminsOnly?: boolean;
|
|
474
477
|
image?: string;
|
|
475
478
|
name?: string;
|
|
476
479
|
description?: string;
|
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';
|