@thallylabs/migrate 0.2.32 → 0.2.33

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.
@@ -424,12 +424,21 @@ interface MigrationWarning {
424
424
  source?: string;
425
425
  }
426
426
  /** A repository-configured remote OpenAPI spec, downloaded after the bundle is built. */
427
+ /** A route prefix Mintlify served one spec's generated endpoint pages under (`openapi: { source, directory }`). */
428
+ interface RemoteApiSpecDirectory {
429
+ /** The authored `directory`, without leading or trailing slashes. */
430
+ directory: string;
431
+ /** `METHOD /path` operations docs.json lists under that reference, in authored order; absent when Mintlify generates every operation. */
432
+ operations?: Array<string>;
433
+ }
427
434
  interface RemoteApiSpec {
428
435
  url: string;
429
436
  tabLabel?: string;
430
437
  parentTab?: string;
431
438
  icon?: string;
432
439
  hidden?: boolean;
440
+ /** Every `directory` docs.json mounts this spec under: several API tabs may share one spec URL. */
441
+ directories?: Array<RemoteApiSpecDirectory>;
433
442
  /** Operation keys (`get /x`) only access-restricted pages document; marked `x-excluded` after download. */
434
443
  withheldOperations?: Array<string>;
435
444
  /** Operation keys published pages or docs.json also name; keeps a shared `$ref` path item public. */
@@ -443,6 +452,16 @@ interface MigrationBundle {
443
452
  assets: Array<MigrationAsset>;
444
453
  /** Repository-configured remote specs awaiting a bounded network fetch by the host. */
445
454
  remoteApiSpecs?: Array<RemoteApiSpec>;
455
+ /**
456
+ * Repository OpenAPI specs docs.json mounts under a `directory` (no surrounding slashes), with the tab each is bound to; the remote ones are in
457
+ * `remoteApiSpecs[].directories`. Present only alongside remote specs: a spec's id depends on which remote tabs bind ahead of it, so
458
+ * hydration links the local and remote mounts together once every download has settled, and the links stay as authored until then.
459
+ */
460
+ localApiMounts?: Array<{
461
+ filename: string;
462
+ directory: string;
463
+ tab?: string;
464
+ }>;
446
465
  /** Customer-owned component source and registry; paths are repository-relative. */
447
466
  componentFiles?: Array<RenderedMigrationFile>;
448
467
  /**
@@ -1 +1 @@
1
- export { a as MigrationAsset, f as MigrationBundle, h as MigrationCapture, i as MigrationCaptureProvider, j as MigrationCaptureState, k as MigrationCapturedAsset, g as MigrationDocsConfig, l as MigrationEvidence, m as MigrationFetchRequest, n as MigrationFetchResponse, d as MigrationFetcher, o as MigrationJournalAsset, b as MigrationNavigationGroup, p as MigrationNavigationOccurrence, q as MigrationNavigationTab, M as MigrationPage, e as MigrationPlatform, c as MigrationWarning, R as RenderedMigrationFile, U as UrlMigrationCheckpoint, r as UrlMigrationCheckpointDelta, s as UrlMigrationIssue, t as UrlMigrationRecord, u as UrlMigrationRun, v as UrlMigrationRunOptions, w as UrlMigrationValidation, x as classifyMigrationResponse, z as renderMigrationFiles, A as runUrlMigration, B as validateUrlMigration } from './url-migration-Coy62q1L.js';
1
+ export { a as MigrationAsset, f as MigrationBundle, h as MigrationCapture, i as MigrationCaptureProvider, j as MigrationCaptureState, k as MigrationCapturedAsset, g as MigrationDocsConfig, l as MigrationEvidence, m as MigrationFetchRequest, n as MigrationFetchResponse, d as MigrationFetcher, o as MigrationJournalAsset, b as MigrationNavigationGroup, p as MigrationNavigationOccurrence, q as MigrationNavigationTab, M as MigrationPage, e as MigrationPlatform, c as MigrationWarning, R as RenderedMigrationFile, U as UrlMigrationCheckpoint, r as UrlMigrationCheckpointDelta, s as UrlMigrationIssue, t as UrlMigrationRecord, u as UrlMigrationRun, v as UrlMigrationRunOptions, w as UrlMigrationValidation, x as classifyMigrationResponse, z as renderMigrationFiles, A as runUrlMigration, B as validateUrlMigration } from './url-migration-_wVauqSg.js';