@constructive-io/cli 5.10.5 → 5.10.7

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.
@@ -184,6 +184,15 @@ exports.default = async (argv, prompter, _options) => {
184
184
  for (const [key, value] of Object.entries(options)) {
185
185
  log.debug(`${key}: ${JSON.stringify(value)}`);
186
186
  }
187
+ // Debug: Log API routing configuration
188
+ const apiOpts = options.api || {};
189
+ log.debug(`📡 API Routing: isPublic=${apiOpts.isPublic}, enableServicesApi=${apiOpts.enableServicesApi}`);
190
+ if (apiOpts.isPublic === false) {
191
+ log.debug(` Header-based routing enabled (X-Api-Name, X-Database-Id, X-Meta-Schema)`);
192
+ }
193
+ if (apiOpts.metaSchemas?.length) {
194
+ log.debug(` Meta schemas: ${apiOpts.metaSchemas.join(', ')}`);
195
+ }
187
196
  log.success('🚀 Launching Server...\n');
188
197
  (0, graphql_server_1.GraphQLServer)(options);
189
198
  };
@@ -182,6 +182,15 @@ export default async (argv, prompter, _options) => {
182
182
  for (const [key, value] of Object.entries(options)) {
183
183
  log.debug(`${key}: ${JSON.stringify(value)}`);
184
184
  }
185
+ // Debug: Log API routing configuration
186
+ const apiOpts = options.api || {};
187
+ log.debug(`📡 API Routing: isPublic=${apiOpts.isPublic}, enableServicesApi=${apiOpts.enableServicesApi}`);
188
+ if (apiOpts.isPublic === false) {
189
+ log.debug(` Header-based routing enabled (X-Api-Name, X-Database-Id, X-Meta-Schema)`);
190
+ }
191
+ if (apiOpts.metaSchemas?.length) {
192
+ log.debug(` Meta schemas: ${apiOpts.metaSchemas.join(', ')}`);
193
+ }
185
194
  log.success('🚀 Launching Server...\n');
186
195
  server(options);
187
196
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructive-io/cli",
3
- "version": "5.10.5",
3
+ "version": "5.10.7",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Constructive CLI",
6
6
  "main": "index.js",
@@ -45,11 +45,11 @@
45
45
  "ts-node": "^10.9.2"
46
46
  },
47
47
  "dependencies": {
48
- "@constructive-io/graphql-codegen": "^2.28.4",
49
- "@constructive-io/graphql-env": "^2.9.1",
50
- "@constructive-io/graphql-explorer": "^2.15.1",
51
- "@constructive-io/graphql-server": "^2.19.5",
52
- "@constructive-io/knative-job-service": "^0.9.5",
48
+ "@constructive-io/graphql-codegen": "^2.28.5",
49
+ "@constructive-io/graphql-env": "^2.9.2",
50
+ "@constructive-io/graphql-explorer": "^2.15.2",
51
+ "@constructive-io/graphql-server": "^2.19.7",
52
+ "@constructive-io/knative-job-service": "^0.9.7",
53
53
  "@inquirerer/utils": "^3.2.0",
54
54
  "@pgpmjs/core": "^4.17.0",
55
55
  "@pgpmjs/logger": "^1.5.0",
@@ -75,5 +75,5 @@
75
75
  "postgres",
76
76
  "graphile"
77
77
  ],
78
- "gitHead": "13c6cd90521b5521a7219ce270e1b4dd979652cf"
78
+ "gitHead": "64fdb385977ead1f08cb95f63be2f3299ac90cd4"
79
79
  }