@thallylabs/migrate 0.2.34 → 0.2.35
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 +34 -0
- package/dist/index.d.ts +7 -2
- package/dist/index.js +203 -52
- package/dist/index.js.map +1 -1
- package/dist/{url-migration-EwtII4P-.d.ts → url-migration-peVzTLjL.d.ts} +13 -0
- package/dist/url-migration.d.ts +1 -1
- package/dist/url-migration.js.map +1 -1
- package/package.json +1 -1
|
@@ -165,6 +165,12 @@ interface MigrationNavigationGroup {
|
|
|
165
165
|
hidden?: boolean;
|
|
166
166
|
pages: Array<string | MigrationNavigationGroup>;
|
|
167
167
|
}
|
|
168
|
+
/** A group of an API tab's authored sidebar: `METHOD /path` operation keys and nested groups. */
|
|
169
|
+
interface MigrationApiGroup {
|
|
170
|
+
group: string;
|
|
171
|
+
icon?: string;
|
|
172
|
+
pages: Array<string | MigrationApiGroup>;
|
|
173
|
+
}
|
|
168
174
|
interface MigrationNavigationTab {
|
|
169
175
|
tab: string;
|
|
170
176
|
/** Reader-facing label when `tab` includes a version for unique identity. */
|
|
@@ -180,6 +186,7 @@ interface MigrationNavigationTab {
|
|
|
180
186
|
api?: {
|
|
181
187
|
source: string;
|
|
182
188
|
navigation?: boolean;
|
|
189
|
+
groups?: Array<MigrationApiGroup>;
|
|
183
190
|
};
|
|
184
191
|
}
|
|
185
192
|
interface MigrationBannerConfig {
|
|
@@ -238,6 +245,8 @@ interface MigrationDocsConfig {
|
|
|
238
245
|
stylesheets?: Array<string>;
|
|
239
246
|
/** `false` hides the breadcrumb trail; Mintlify pages show only a group eyebrow. */
|
|
240
247
|
breadcrumbs?: boolean;
|
|
248
|
+
/** `path` shows the full group path above the title (Mintlify `styling.eyebrows: "breadcrumbs"`); the default shows the nearest group. */
|
|
249
|
+
eyebrow?: 'group' | 'path';
|
|
241
250
|
tabs: Array<MigrationNavigationTab>;
|
|
242
251
|
navigation?: {
|
|
243
252
|
/** How sibling documentation collections are presented to readers. */
|
|
@@ -440,6 +449,10 @@ interface RemoteApiSpec {
|
|
|
440
449
|
hidden?: boolean;
|
|
441
450
|
/** Every `directory` docs.json mounts this spec under: several API tabs may share one spec URL. */
|
|
442
451
|
directories?: Array<RemoteApiSpecDirectory>;
|
|
452
|
+
/** The operation groups docs.json authors for the tab this spec binds to, merged across every reference that shares it. */
|
|
453
|
+
groups?: Array<MigrationApiGroup>;
|
|
454
|
+
/** Every reference sharing the tab lists operations and none survives (all hidden or restricted): no endpoint navigation is generated for it. */
|
|
455
|
+
navigation?: false;
|
|
443
456
|
/** Operation keys (`get /x`) only access-restricted pages document; marked `x-excluded` after download. */
|
|
444
457
|
withheldOperations?: Array<string>;
|
|
445
458
|
/** Operation keys published pages or docs.json also name; keeps a shared `$ref` path item public. */
|
package/dist/url-migration.d.ts
CHANGED
|
@@ -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-
|
|
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-peVzTLjL.js';
|