@@ -458,6 +458,11 @@ test('typegen: typescript', async () => {
458
458
name: string | null
459
459
status: Database["public"]["Enums"]["user_status"] | null
460
460
}[]
461
+ SetofOptions: {
462
+ from: "*"
463
+ to: "users"
464
+ isOneToOne: false
465
+ }
461
466
}
462
467
function_returning_table: {
463
468
Args: Record<PropertyKey, never>
@@ -483,7 +488,7 @@ test('typegen: typescript', async () => {
483
488
user_status: Database["public"]["Enums"]["user_status"] | null
484
489
}
485
490
SetofOptions: {
486
- from: "users" | "users_view"
491
+ from: "*" | " users" | "users_view"
487
492
to: "user_todos_summary_view"
488
493
isOneToOne: true
489
494
}
@@ -499,7 +504,7 @@ test('typegen: typescript', async () => {
499
504
"user-id": number
500
505
}[]
501
506
SetofOptions: {
502
- from: "users" | "users_view"
507
+ from: "*" | " users" | "users_view"
503
508
to: "todos"
504
509
isOneToOne: false
505
510
}
@@ -514,7 +519,7 @@ test('typegen: typescript', async () => {
514
519
"user-id": number
515
520
}[]
516
521
SetofOptions: {
517
- from: "users " | "todos "
522
+ from: "todos " | "users "
518
523
to: "todos"
519
524
isOneToOne: false
520
525
}
@@ -1185,6 +1190,11 @@ test('typegen w/ one-to-one relationships', async () => {
1185
1190
name: string | null
1186
1191
status: Database["public"]["Enums"]["user_status"] | null
1187
1192
}[]
1193
+ SetofOptions: {
1194
+ from: "*"
1195
+ to: "users"
1196
+ isOneToOne: false
1197
+ }
1188
1198
}
1189
1199
function_returning_table: {
1190
1200
Args: Record<PropertyKey, never>
@@ -1210,7 +1220,7 @@ test('typegen w/ one-to-one relationships', async () => {
1210
1220
user_status: Database["public"]["Enums"]["user_status"] | null
1211
1221
}
1212
1222
SetofOptions: {
1213
- from: "users" | "users_view"
1223
+ from: "*" | " users" | "users_view"
1214
1224
to: "user_todos_summary_view"
1215
1225
isOneToOne: true
1216
1226
}
@@ -1226,7 +1236,7 @@ test('typegen w/ one-to-one relationships', async () => {
1226
1236
"user-id": number
1227
1237
}[]
1228
1238
SetofOptions: {
1229
- from: "users" | "users_view"
1239
+ from: "*" | " users" | "users_view"
1230
1240
to: "todos"
1231
1241
isOneToOne: false
1232
1242
}
@@ -1241,7 +1251,7 @@ test('typegen w/ one-to-one relationships', async () => {
1241
1251
"user-id": number
1242
1252
}[]
1243
1253
SetofOptions: {
1244
- from: "users " | "todos "
1254
+ from: "todos " | "users "
1245
1255
to: "todos"
1246
1256
isOneToOne: false
1247
1257
}
@@ -1912,6 +1922,11 @@ test('typegen: typescript w/ one-to-one relationships', async () => {
1912
1922
name: string | null
1913
1923
status: Database["public"]["Enums"]["user_status"] | null
1914
1924
}[]
1925
+ SetofOptions: {
1926
+ from: "*"
1927
+ to: "users"
1928
+ isOneToOne: false
1929
+ }
1915
1930
}
1916
1931
function_returning_table: {
1917
1932
Args: Record<PropertyKey, never>
@@ -1937,7 +1952,7 @@ test('typegen: typescript w/ one-to-one relationships', async () => {
1937
1952
user_status: Database["public"]["Enums"]["user_status"] | null
1938
1953
}
1939
1954
SetofOptions: {
1940
- from: "users" | "users_view"
1955
+ from: "*" | " users" | "users_view"
1941
1956
to: "user_todos_summary_view"
1942
1957
isOneToOne: true
1943
1958
}
@@ -1953,7 +1968,7 @@ test('typegen: typescript w/ one-to-one relationships', async () => {
1953
1968
"user-id": number
1954
1969
}[]
1955
1970
SetofOptions: {
1956
- from: "users" | "users_view"
1971
+ from: "*" | " users" | "users_view"
1957
1972
to: "todos"
1958
1973
isOneToOne: false
1959
1974
}
@@ -1968,7 +1983,7 @@ test('typegen: typescript w/ one-to-one relationships', async () => {
1968
1983
"user-id": number
1969
1984
}[]
1970
1985
SetofOptions: {
1971
- from: "users " | "todos "
1986
+ from: "todos " | "users "
1972
1987
to: "todos"
1973
1988
isOneToOne: false
1974
1989
}
0 commit comments