@eide/uniformgen 0.1.7 → 0.1.9

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.
@@ -647,7 +647,7 @@ export function useGetEntitiesRoutes(
647
647
  /**
648
648
  * List of model keys that support route resolution
649
649
  */
650
- export const ROUTABLE_MODELS = [\${modelKeys.map(k => \`'\${k}'\`).join(', ')}] as const;
650
+ export const ROUTABLE_MODELS = [${modelKeys.map(k => `'${k}'`).join(', ')}] as const;
651
651
 
652
652
  /**
653
653
  * Type for routable model keys
@@ -723,7 +723,7 @@ export interface GraphQLClient {
723
723
  /**
724
724
  * GraphQL query for single entity routes
725
725
  */
726
- const GET_ENTITY_ROUTES_QUERY = \\\`
726
+ const GET_ENTITY_ROUTES_QUERY = \`
727
727
  query GetEntityRoutes($input: GetEntityRoutesInput!) {
728
728
  getEntityRoutes(input: $input) {
729
729
  naturalKey
@@ -757,7 +757,7 @@ const GET_ENTITY_ROUTES_QUERY = \\\`
757
757
  /**
758
758
  * GraphQL query for batch entity routes
759
759
  */
760
- const GET_ENTITIES_ROUTES_QUERY = \\\`
760
+ const GET_ENTITIES_ROUTES_QUERY = \`
761
761
  query GetEntitiesRoutes($input: GetEntitiesRoutesInput!) {
762
762
  getEntitiesRoutes(input: $input) {
763
763
  results {
@@ -873,7 +873,7 @@ export async function getEntitiesRoutes(
873
873
  /**
874
874
  * List of model keys that support route resolution
875
875
  */
876
- export const ROUTABLE_MODELS = [\${modelKeys.map(k => \`'\${k}'\`).join(', ')}] as const;
876
+ export const ROUTABLE_MODELS = [${modelKeys.map(k => `'${k}'`).join(', ')}] as const;
877
877
 
878
878
  /**
879
879
  * Type for routable model keys
@@ -1109,7 +1109,7 @@ export function useResolveEntities(
1109
1109
  /**
1110
1110
  * List of model keys that support content resolution
1111
1111
  */
1112
- export const ROUTABLE_MODELS = [\${modelKeys.map(k => \`'\${k}'\`).join(', ')}] as const;
1112
+ export const ROUTABLE_MODELS = [${modelKeys.map(k => `'${k}'`).join(', ')}] as const;
1113
1113
 
1114
1114
  /**
1115
1115
  * Type for routable model keys
@@ -1203,7 +1203,7 @@ export interface GraphQLClient {
1203
1203
  /**
1204
1204
  * GraphQL query for batch entity resolution
1205
1205
  */
1206
- const RESOLVE_ENTITIES_QUERY = \\\`
1206
+ const RESOLVE_ENTITIES_QUERY = \`
1207
1207
  query ResolveEntities($input: ResolveEntitiesInput!) {
1208
1208
  resolveEntities(input: $input) {
1209
1209
  results {
@@ -1354,7 +1354,7 @@ export async function resolveEntities(
1354
1354
  /**
1355
1355
  * List of model keys that support content resolution
1356
1356
  */
1357
- export const ROUTABLE_MODELS = [\${modelKeys.map(k => \`'\${k}'\`).join(', ')}] as const;
1357
+ export const ROUTABLE_MODELS = [${modelKeys.map(k => `'${k}'`).join(', ')}] as const;
1358
1358
 
1359
1359
  /**
1360
1360
  * Type for routable model keys
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eide/uniformgen",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Type-safe code generator for Foir - generates TypeScript types and GraphQL operations from your project schemas",
5
5
  "type": "module",
6
6
  "publishConfig": {