Skip to content

Commit 560bc37

Browse files
authored
Merge pull request #957 from constructive-io/schema-update/20260402-061139
chore: update schemas from constructive-db
2 parents b0b6f07 + 1c2f518 commit 560bc37

12 files changed

Lines changed: 54 additions & 54 deletions

File tree

sdk/constructive-cli/src/auth/cli/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,14 +306,14 @@ csdk user list --where.searchTsv "search query" --select title,tsvRank
306306
csdk user list --where.trgmDisplayName.value "approximate query" --where.trgmDisplayName.threshold 0.3 --select title,displayNameTrgmSimilarity
307307
```
308308

309-
*Composite search (fullTextSearch dispatches to all text adapters):*
309+
*Composite search (unifiedSearch dispatches to all text adapters):*
310310
```bash
311-
csdk user list --where.fullTextSearch "search query" --select title,tsvRank,displayNameTrgmSimilarity,searchScore
311+
csdk user list --where.unifiedSearch "search query" --select title,tsvRank,displayNameTrgmSimilarity,searchScore
312312
```
313313

314314
*Search with pagination and field projection:*
315315
```bash
316-
csdk user list --where.fullTextSearch "query" --limit 10 --select id,title,searchScore
316+
csdk user list --where.unifiedSearch "query" --limit 10 --select id,title,searchScore
317317
csdk user search "query" --limit 10 --select id,title,searchScore
318318
```
319319

sdk/constructive-cli/src/auth/orm/input-types.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -679,12 +679,12 @@ export interface UserFilter {
679679
/** TRGM search on the `display_name` column. */
680680
trgmDisplayName?: TrgmSearchInput;
681681
/**
682-
* Composite full-text search. Provide a search string and it will be dispatched
683-
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
682+
* Composite unified search. Provide a search string and it will be dispatched to
683+
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
684684
* simultaneously. Rows matching ANY algorithm are returned. All matching score
685685
* fields are populated.
686686
*/
687-
fullTextSearch?: string;
687+
unifiedSearch?: string;
688688
}
689689
// ============ OrderBy Types ============
690690
export type EmailOrderBy =
@@ -1679,12 +1679,12 @@ export interface UserFilter {
16791679
/** TRGM search on the `display_name` column. */
16801680
trgmDisplayName?: TrgmSearchInput;
16811681
/**
1682-
* Composite full-text search. Provide a search string and it will be dispatched
1683-
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
1682+
* Composite unified search. Provide a search string and it will be dispatched to
1683+
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
16841684
* simultaneously. Rows matching ANY algorithm are returned. All matching score
16851685
* fields are populated.
16861686
*/
1687-
fullTextSearch?: string;
1687+
unifiedSearch?: string;
16881688
}
16891689
/** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
16901690
export interface StringFilter {

sdk/constructive-cli/src/public/cli/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3471,14 +3471,14 @@ csdk user list --where.searchTsv "search query" --select title,tsvRank
34713471
csdk user list --where.trgmDisplayName.value "approximate query" --where.trgmDisplayName.threshold 0.3 --select title,displayNameTrgmSimilarity
34723472
```
34733473

3474-
*Composite search (fullTextSearch dispatches to all text adapters):*
3474+
*Composite search (unifiedSearch dispatches to all text adapters):*
34753475
```bash
3476-
csdk user list --where.fullTextSearch "search query" --select title,tsvRank,displayNameTrgmSimilarity,searchScore
3476+
csdk user list --where.unifiedSearch "search query" --select title,tsvRank,displayNameTrgmSimilarity,searchScore
34773477
```
34783478

34793479
*Search with pagination and field projection:*
34803480
```bash
3481-
csdk user list --where.fullTextSearch "query" --limit 10 --select id,title,searchScore
3481+
csdk user list --where.unifiedSearch "query" --limit 10 --select id,title,searchScore
34823482
csdk user search "query" --limit 10 --select id,title,searchScore
34833483
```
34843484

sdk/constructive-cli/src/public/orm/input-types.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9744,12 +9744,12 @@ export interface UserFilter {
97449744
/** TRGM search on the `display_name` column. */
97459745
trgmDisplayName?: TrgmSearchInput;
97469746
/**
9747-
* Composite full-text search. Provide a search string and it will be dispatched
9748-
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
9747+
* Composite unified search. Provide a search string and it will be dispatched to
9748+
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
97499749
* simultaneously. Rows matching ANY algorithm are returned. All matching score
97509750
* fields are populated.
97519751
*/
9752-
fullTextSearch?: string;
9752+
unifiedSearch?: string;
97539753
}
97549754
export interface AstMigrationFilter {
97559755
/** Filter by the object’s `id` field. */
@@ -22141,12 +22141,12 @@ export interface UserFilter {
2214122141
/** TRGM search on the `display_name` column. */
2214222142
trgmDisplayName?: TrgmSearchInput;
2214322143
/**
22144-
* Composite full-text search. Provide a search string and it will be dispatched
22145-
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
22144+
* Composite unified search. Provide a search string and it will be dispatched to
22145+
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
2214622146
* simultaneously. Rows matching ANY algorithm are returned. All matching score
2214722147
* fields are populated.
2214822148
*/
22149-
fullTextSearch?: string;
22149+
unifiedSearch?: string;
2215022150
}
2215122151
/** A filter to be used against `RlsModule` object types. All fields are combined with a logical ‘and.’ */
2215222152
export interface RlsModuleFilter {

sdk/constructive-react/src/auth/orm/input-types.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -679,12 +679,12 @@ export interface UserFilter {
679679
/** TRGM search on the `display_name` column. */
680680
trgmDisplayName?: TrgmSearchInput;
681681
/**
682-
* Composite full-text search. Provide a search string and it will be dispatched
683-
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
682+
* Composite unified search. Provide a search string and it will be dispatched to
683+
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
684684
* simultaneously. Rows matching ANY algorithm are returned. All matching score
685685
* fields are populated.
686686
*/
687-
fullTextSearch?: string;
687+
unifiedSearch?: string;
688688
}
689689
// ============ OrderBy Types ============
690690
export type EmailOrderBy =
@@ -1679,12 +1679,12 @@ export interface UserFilter {
16791679
/** TRGM search on the `display_name` column. */
16801680
trgmDisplayName?: TrgmSearchInput;
16811681
/**
1682-
* Composite full-text search. Provide a search string and it will be dispatched
1683-
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
1682+
* Composite unified search. Provide a search string and it will be dispatched to
1683+
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
16841684
* simultaneously. Rows matching ANY algorithm are returned. All matching score
16851685
* fields are populated.
16861686
*/
1687-
fullTextSearch?: string;
1687+
unifiedSearch?: string;
16881688
}
16891689
/** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */
16901690
export interface StringFilter {

sdk/constructive-react/src/auth/schema-types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,12 +323,12 @@ export interface UserFilter {
323323
/** TRGM search on the `display_name` column. */
324324
trgmDisplayName?: TrgmSearchInput;
325325
/**
326-
* Composite full-text search. Provide a search string and it will be dispatched
327-
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
326+
* Composite unified search. Provide a search string and it will be dispatched to
327+
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
328328
* simultaneously. Rows matching ANY algorithm are returned. All matching score
329329
* fields are populated.
330330
*/
331-
fullTextSearch?: string;
331+
unifiedSearch?: string;
332332
}
333333
/** A filter to be used against String fields with pg_trgm support. All fields are combined with a logical ‘and.’ */
334334
export interface StringTrgmFilter {

sdk/constructive-react/src/public/orm/input-types.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9744,12 +9744,12 @@ export interface UserFilter {
97449744
/** TRGM search on the `display_name` column. */
97459745
trgmDisplayName?: TrgmSearchInput;
97469746
/**
9747-
* Composite full-text search. Provide a search string and it will be dispatched
9748-
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
9747+
* Composite unified search. Provide a search string and it will be dispatched to
9748+
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
97499749
* simultaneously. Rows matching ANY algorithm are returned. All matching score
97509750
* fields are populated.
97519751
*/
9752-
fullTextSearch?: string;
9752+
unifiedSearch?: string;
97539753
}
97549754
export interface AstMigrationFilter {
97559755
/** Filter by the object’s `id` field. */
@@ -22141,12 +22141,12 @@ export interface UserFilter {
2214122141
/** TRGM search on the `display_name` column. */
2214222142
trgmDisplayName?: TrgmSearchInput;
2214322143
/**
22144-
* Composite full-text search. Provide a search string and it will be dispatched
22145-
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
22144+
* Composite unified search. Provide a search string and it will be dispatched to
22145+
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
2214622146
* simultaneously. Rows matching ANY algorithm are returned. All matching score
2214722147
* fields are populated.
2214822148
*/
22149-
fullTextSearch?: string;
22149+
unifiedSearch?: string;
2215022150
}
2215122151
/** A filter to be used against `RlsModule` object types. All fields are combined with a logical ‘and.’ */
2215222152
export interface RlsModuleFilter {

sdk/constructive-react/src/public/schema-types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3336,12 +3336,12 @@ export interface UserFilter {
33363336
/** TRGM search on the `display_name` column. */
33373337
trgmDisplayName?: TrgmSearchInput;
33383338
/**
3339-
* Composite full-text search. Provide a search string and it will be dispatched
3340-
* to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
3339+
* Composite unified search. Provide a search string and it will be dispatched to
3340+
* all text-compatible search algorithms (tsvector, BM25, pg_trgm)
33413341
* simultaneously. Rows matching ANY algorithm are returned. All matching score
33423342
* fields are populated.
33433343
*/
3344-
fullTextSearch?: string;
3344+
unifiedSearch?: string;
33453345
}
33463346
/** A filter to be used against String fields with pg_trgm support. All fields are combined with a logical ‘and.’ */
33473347
export interface StringTrgmFilter {

sdk/constructive-sdk/schemas/auth.graphql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -854,12 +854,12 @@ input UserFilter {
854854
trgmDisplayName: TrgmSearchInput
855855

856856
"""
857-
Composite full-text search. Provide a search string and it will be dispatched
858-
to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
857+
Composite unified search. Provide a search string and it will be dispatched to
858+
all text-compatible search algorithms (tsvector, BM25, pg_trgm)
859859
simultaneously. Rows matching ANY algorithm are returned. All matching score
860860
fields are populated.
861861
"""
862-
fullTextSearch: String
862+
unifiedSearch: String
863863
}
864864

865865
"""

sdk/constructive-sdk/schemas/public.graphql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8867,12 +8867,12 @@ input UserFilter {
88678867
trgmDisplayName: TrgmSearchInput
88688868

88698869
"""
8870-
Composite full-text search. Provide a search string and it will be dispatched
8871-
to all text-compatible search algorithms (tsvector, BM25, pg_trgm)
8870+
Composite unified search. Provide a search string and it will be dispatched to
8871+
all text-compatible search algorithms (tsvector, BM25, pg_trgm)
88728872
simultaneously. Rows matching ANY algorithm are returned. All matching score
88738873
fields are populated.
88748874
"""
8875-
fullTextSearch: String
8875+
unifiedSearch: String
88768876
}
88778877

88788878
"""

0 commit comments

Comments
 (0)