@constructive-io/graphql-codegen 4.28.3 → 4.28.5

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.
@@ -335,16 +335,16 @@ function buildSearchExamples(specialGroups, toolName, cmd) {
335
335
  }
336
336
  }
337
337
  }
338
- // Composite fullTextSearch example (dispatches to all text adapters)
338
+ // Composite unifiedSearch example (dispatches to all text adapters)
339
339
  const hasTextSearch = specialGroups.some((g) => g.category === 'search' && g.fields.some((f) => f.type.gqlType === 'FullText' || /TrgmSimilarity$/.test(f.name) || /Bm25Score$/.test(f.name)));
340
340
  if (hasTextSearch) {
341
341
  const fieldsArg = scoreFields.length > 0
342
342
  ? `title,${[...new Set(scoreFields)].join(',')}`
343
343
  : 'title';
344
344
  examples.push({
345
- description: 'Composite search (fullTextSearch dispatches to all text adapters)',
345
+ description: 'Composite search (unifiedSearch dispatches to all text adapters)',
346
346
  code: [
347
- `${toolName} ${cmd} list --where.fullTextSearch "search query" --select ${fieldsArg}`,
347
+ `${toolName} ${cmd} list --where.unifiedSearch "search query" --select ${fieldsArg}`,
348
348
  ],
349
349
  });
350
350
  }
@@ -353,7 +353,7 @@ function buildSearchExamples(specialGroups, toolName, cmd) {
353
353
  examples.push({
354
354
  description: 'Search with pagination and field projection',
355
355
  code: [
356
- `${toolName} ${cmd} list --where.fullTextSearch "query" --limit 10 --select id,title,searchScore`,
356
+ `${toolName} ${cmd} list --where.unifiedSearch "query" --limit 10 --select id,title,searchScore`,
357
357
  `${toolName} ${cmd} search "query" --limit 10 --select id,title,searchScore`,
358
358
  ],
359
359
  });
@@ -312,16 +312,16 @@ export function buildSearchExamples(specialGroups, toolName, cmd) {
312
312
  }
313
313
  }
314
314
  }
315
- // Composite fullTextSearch example (dispatches to all text adapters)
315
+ // Composite unifiedSearch example (dispatches to all text adapters)
316
316
  const hasTextSearch = specialGroups.some((g) => g.category === 'search' && g.fields.some((f) => f.type.gqlType === 'FullText' || /TrgmSimilarity$/.test(f.name) || /Bm25Score$/.test(f.name)));
317
317
  if (hasTextSearch) {
318
318
  const fieldsArg = scoreFields.length > 0
319
319
  ? `title,${[...new Set(scoreFields)].join(',')}`
320
320
  : 'title';
321
321
  examples.push({
322
- description: 'Composite search (fullTextSearch dispatches to all text adapters)',
322
+ description: 'Composite search (unifiedSearch dispatches to all text adapters)',
323
323
  code: [
324
- `${toolName} ${cmd} list --where.fullTextSearch "search query" --select ${fieldsArg}`,
324
+ `${toolName} ${cmd} list --where.unifiedSearch "search query" --select ${fieldsArg}`,
325
325
  ],
326
326
  });
327
327
  }
@@ -330,7 +330,7 @@ export function buildSearchExamples(specialGroups, toolName, cmd) {
330
330
  examples.push({
331
331
  description: 'Search with pagination and field projection',
332
332
  code: [
333
- `${toolName} ${cmd} list --where.fullTextSearch "query" --limit 10 --select id,title,searchScore`,
333
+ `${toolName} ${cmd} list --where.unifiedSearch "query" --limit 10 --select id,title,searchScore`,
334
334
  `${toolName} ${cmd} search "query" --limit 10 --select id,title,searchScore`,
335
335
  ],
336
336
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/graphql-codegen",
3
- "version": "4.28.3",
3
+ "version": "4.28.5",
4
4
  "description": "GraphQL SDK generator for Constructive databases with React Query hooks",
5
5
  "keywords": [
6
6
  "graphql",
@@ -56,7 +56,7 @@
56
56
  "@0no-co/graphql.web": "^1.1.2",
57
57
  "@babel/generator": "^7.29.1",
58
58
  "@babel/types": "^7.29.0",
59
- "@constructive-io/graphql-query": "^3.12.14",
59
+ "@constructive-io/graphql-query": "^3.12.16",
60
60
  "@constructive-io/graphql-types": "^3.4.3",
61
61
  "@inquirerer/utils": "^3.3.5",
62
62
  "@pgpmjs/core": "^6.10.7",
@@ -64,7 +64,7 @@
64
64
  "deepmerge": "^4.3.1",
65
65
  "find-and-require-package-json": "^0.9.1",
66
66
  "gql-ast": "^3.4.2",
67
- "graphile-schema": "^1.11.10",
67
+ "graphile-schema": "^1.11.12",
68
68
  "graphql": "16.13.0",
69
69
  "inflekt": "^0.7.1",
70
70
  "inquirerer": "^4.7.0",
@@ -100,5 +100,5 @@
100
100
  "tsx": "^4.21.0",
101
101
  "typescript": "^5.9.3"
102
102
  },
103
- "gitHead": "d1cfd698f829c6fae346a5004f735acd44519bb7"
103
+ "gitHead": "9356877ea3ea61013b28b1496f015776e82ccb85"
104
104
  }