@constructive-io/graphql-env 3.17.0 → 3.17.1

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.
Files changed (2) hide show
  1. package/README.md +5 -4
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -50,7 +50,8 @@ In addition to all environment variables supported by `@pgpmjs/env`, this packag
50
50
  - `FEATURES_POSTGIS` - Enable PostGIS support
51
51
 
52
52
  ### API Configuration
53
- - `API_ENABLE_SERVICES` - Enable services API (domain/subdomain routing)
53
+ - `API_ENABLE_SCOPED_ROUTING` - Enable scoped routing (host resolution via `resolve_route()`)
54
+ - `API_SCOPED_ROUTING_SCHEMA` - Schema containing the compiled `resolve_route()` resolver
54
55
  - `API_IS_PUBLIC` - Whether API is public
55
56
  - `API_EXPOSED_SCHEMAS` - Comma-separated list of exposed schemas
56
57
  - `API_META_SCHEMAS` - Comma-separated list of meta schemas
@@ -71,13 +72,13 @@ GraphQL defaults are provided by `@constructive-io/graphql-types`:
71
72
  postgis: true
72
73
  },
73
74
  api: {
74
- enableServicesApi: true,
75
75
  exposedSchemas: [],
76
76
  anonRole: 'administrator',
77
77
  roleName: 'administrator',
78
- defaultDatabaseId: 'hard-coded',
79
78
  isPublic: true,
80
- metaSchemas: ['services_public', 'metaschema_public', 'metaschema_modules_public']
79
+ metaSchemas: ['constructive_routing_public', 'metaschema_public', 'metaschema_modules_public'],
80
+ enableScopedRouting: true,
81
+ scopedRoutingSchema: 'constructive_routing_public'
81
82
  }
82
83
  }
83
84
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/graphql-env",
3
- "version": "3.17.0",
3
+ "version": "3.17.1",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Constructive environment configuration with GraphQL/Graphile support",
6
6
  "main": "index.js",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "12factor-env": "^1.17.1",
33
- "@constructive-io/graphql-types": "^3.16.0",
33
+ "@constructive-io/graphql-types": "^3.16.1",
34
34
  "@pgpmjs/env": "^2.29.0",
35
35
  "deepmerge": "^4.3.1"
36
36
  },
@@ -45,5 +45,5 @@
45
45
  "devDependencies": {
46
46
  "makage": "^0.3.0"
47
47
  },
48
- "gitHead": "39db6d576bce7bc1de8123849f237b1695779d88"
48
+ "gitHead": "ebba3f838664032e6f6adf6c9c6d2b6cdddd994a"
49
49
  }