@getsoren/shared-module 2.47.0 → 2.47.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.
package/README.md CHANGED
@@ -170,8 +170,8 @@ export default defineConfig(config);
170
170
  When `input` is an object, the OpenAPI schema target is resolved with the following priorities:
171
171
 
172
172
  1. **Local file** (`./openapi.<name>.json`) — pulled schema snapshot
173
- 2. **Local service** (`https://<subdomain>.api.tracktor.test/openapi.json`) — docker compose back environment, probed via cURL
174
- 3. **Upstream deployed service** (`https://<subdomain>.api.dev.tracktor.fr/openapi.json`) — dev cluster, fallback
173
+ 2. **Local service** (`https://<subdomain>.api.soren.test/openapi.json`) — docker compose back environment, probed via cURL
174
+ 3. **Upstream deployed service** (`https://<subdomain>.api.dev.getsoren.ai/openapi.json`) — dev cluster, fallback
175
175
 
176
176
  ### Host
177
177
 
@@ -181,15 +181,15 @@ When `input` is an object, the OpenAPI schema target is resolved with the follow
181
181
  |-------------------|----------------------------------------------------------|
182
182
  | `overrideApiName` | `<host>` → generated folders `src/api/<host>/` |
183
183
  | `localFile` | `./openapi.<host>.json` |
184
- | `localUrl` | `https://<subdomain>.api.tracktor.test/openapi.json` |
185
- | `upstreamUrl` | `https://<subdomain>.api.dev.tracktor.fr/openapi.json` |
184
+ | `localUrl` | `https://<subdomain>.api.soren.test/openapi.json` |
185
+ | `upstreamUrl` | `https://<subdomain>.api.dev.getsoren.ai/openapi.json` |
186
186
 
187
187
  The subdomain matches the host, except `saas` which is served on the `app` subdomain.
188
188
  Every derived value can be overridden individually:
189
189
 
190
190
  ```typescript
191
191
  // Target a specific environment
192
- input: { host: "saas", upstreamUrl: "https://app.api.rc.tracktor.fr/openapi.json" }
192
+ input: { host: "saas", upstreamUrl: "https://app.api.stg.getsoren.ai/openapi.json" }
193
193
 
194
194
  // Fully custom, without host
195
195
  input: {
@@ -8,8 +8,8 @@ export interface ResolveOrvalHostInputOptions extends Partial<ResolveOrvalInputO
8
8
  /**
9
9
  * API name, also used as default "overrideApiName" and to derive:
10
10
  * - localFile: ./openapi.<host>.json
11
- * - localUrl: https://<subdomain>.api.tracktor.test/openapi.json
12
- * - upstreamUrl: https://<subdomain>.api.dev.tracktor.fr/openapi.json
11
+ * - localUrl: https://<subdomain>.api.soren.test/openapi.json
12
+ * - upstreamUrl: https://<subdomain>.api.dev.getsoren.ai/openapi.json
13
13
  * Each value can still be overridden individually.
14
14
  */
15
15
  host: OrvalApiHost;
package/dist/orval.js CHANGED
@@ -11,7 +11,7 @@ var r = (e, n = 1500) => {
11
11
  } catch {
12
12
  return !1;
13
13
  }
14
- }, i = ({ localFile: e, localUrl: t, upstreamUrl: i }) => e && n(e) ? (console.log(`Hint: remove ${e} to change target by upstream (http) instead.`), e) : t && r(t) ? t : i, a = "api.tracktor.test", o = "api.dev.tracktor.fr", s = {
14
+ }, i = ({ localFile: e, localUrl: t, upstreamUrl: i }) => e && n(e) ? (console.log(`Hint: remove ${e} to change target by upstream (http) instead.`), e) : t && r(t) ? t : i, a = "api.soren.test", o = "api.dev.getsoren.ai", s = {
15
15
  auth: "auth",
16
16
  saas: "app",
17
17
  supplier: "supplier"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getsoren/shared-module",
3
- "version": "2.47.0",
3
+ "version": "2.47.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "types": "./dist/main.d.ts",