@sverka/compiler 0.1.14 → 0.1.16
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/dist/index.d.mts +381 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +595 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -186,6 +186,34 @@ export declare function pinActionRef(ref: string, registry: PinRegistry): string
|
|
|
186
186
|
export declare function loadBundledRegistry(): PinRegistry;
|
|
187
187
|
//#endregion
|
|
188
188
|
//#region src/github/types.d.ts
|
|
189
|
+
interface GithubInput {
|
|
190
|
+
readonly type: string;
|
|
191
|
+
readonly description?: string;
|
|
192
|
+
readonly required?: boolean;
|
|
193
|
+
readonly default?: string | number | boolean;
|
|
194
|
+
readonly options?: readonly string[];
|
|
195
|
+
}
|
|
196
|
+
interface GithubTriggers {
|
|
197
|
+
readonly push?: {
|
|
198
|
+
readonly branches?: readonly string[];
|
|
199
|
+
readonly tags?: readonly string[];
|
|
200
|
+
readonly paths?: readonly string[];
|
|
201
|
+
};
|
|
202
|
+
readonly pull_request?: {
|
|
203
|
+
readonly branches?: readonly string[];
|
|
204
|
+
readonly paths?: readonly string[];
|
|
205
|
+
};
|
|
206
|
+
readonly workflow_dispatch?: null | {
|
|
207
|
+
readonly inputs?: Readonly<Record<string, GithubInput>>;
|
|
208
|
+
};
|
|
209
|
+
readonly schedule?: readonly {
|
|
210
|
+
readonly cron: string;
|
|
211
|
+
readonly timezone?: string;
|
|
212
|
+
}[];
|
|
213
|
+
readonly workflow_call?: {
|
|
214
|
+
readonly inputs?: Record<string, unknown>;
|
|
215
|
+
} | null;
|
|
216
|
+
}
|
|
189
217
|
interface GithubStep {
|
|
190
218
|
readonly id?: string;
|
|
191
219
|
readonly name?: string;
|
|
@@ -198,6 +226,73 @@ interface GithubStep {
|
|
|
198
226
|
readonly workingDirectory?: string;
|
|
199
227
|
readonly shell?: string;
|
|
200
228
|
}
|
|
229
|
+
type GithubRunsOn = string | readonly string[] | {
|
|
230
|
+
readonly group: string;
|
|
231
|
+
readonly labels: readonly string[];
|
|
232
|
+
};
|
|
233
|
+
interface GithubService {
|
|
234
|
+
readonly image: string;
|
|
235
|
+
readonly env?: Record<string, string>;
|
|
236
|
+
readonly ports?: readonly string[];
|
|
237
|
+
readonly options?: string;
|
|
238
|
+
}
|
|
239
|
+
interface GithubJob {
|
|
240
|
+
readonly id: string;
|
|
241
|
+
readonly name: string;
|
|
242
|
+
readonly runsOn: GithubRunsOn;
|
|
243
|
+
readonly needs: readonly string[];
|
|
244
|
+
readonly steps: readonly GithubStep[];
|
|
245
|
+
readonly timeoutMinutes?: number;
|
|
246
|
+
readonly env?: Record<string, string>;
|
|
247
|
+
readonly container?: string;
|
|
248
|
+
readonly strategy?: {
|
|
249
|
+
readonly matrix: Record<string, unknown>;
|
|
250
|
+
readonly failFast?: boolean;
|
|
251
|
+
readonly maxParallel?: number;
|
|
252
|
+
};
|
|
253
|
+
readonly outputs?: Record<string, string>;
|
|
254
|
+
readonly if?: string;
|
|
255
|
+
readonly permissions?: Readonly<Record<string, string>>;
|
|
256
|
+
readonly services?: Readonly<Record<string, GithubService>>;
|
|
257
|
+
readonly environment?: {
|
|
258
|
+
readonly name: string;
|
|
259
|
+
readonly url?: string;
|
|
260
|
+
};
|
|
261
|
+
readonly cache?: GithubCache;
|
|
262
|
+
readonly concurrency?: {
|
|
263
|
+
readonly group: string;
|
|
264
|
+
readonly cancelInProgress?: boolean;
|
|
265
|
+
};
|
|
266
|
+
/** For reusable workflow call jobs: "uses" + "with" + "secrets". */
|
|
267
|
+
readonly uses?: string;
|
|
268
|
+
readonly with?: Record<string, unknown>;
|
|
269
|
+
readonly secrets?: "inherit" | Record<string, string>;
|
|
270
|
+
}
|
|
271
|
+
interface GithubCache {
|
|
272
|
+
readonly path: readonly string[];
|
|
273
|
+
readonly key: string;
|
|
274
|
+
readonly restoreKeys?: readonly string[];
|
|
275
|
+
}
|
|
276
|
+
interface GithubDefaultsRun {
|
|
277
|
+
readonly shell?: string;
|
|
278
|
+
readonly "working-directory"?: string;
|
|
279
|
+
}
|
|
280
|
+
interface GithubDefaults {
|
|
281
|
+
readonly run: GithubDefaultsRun;
|
|
282
|
+
}
|
|
283
|
+
interface GithubTargetGraph {
|
|
284
|
+
readonly name: string;
|
|
285
|
+
readonly runName?: string;
|
|
286
|
+
readonly on: GithubTriggers;
|
|
287
|
+
readonly jobs: readonly GithubJob[];
|
|
288
|
+
readonly env: Record<string, string>;
|
|
289
|
+
readonly permissions?: Readonly<Record<string, string>>;
|
|
290
|
+
readonly defaults?: GithubDefaults;
|
|
291
|
+
readonly concurrency?: {
|
|
292
|
+
readonly group: string;
|
|
293
|
+
readonly cancelInProgress?: boolean;
|
|
294
|
+
};
|
|
295
|
+
}
|
|
201
296
|
interface GeneratedArtifact {
|
|
202
297
|
readonly path: string;
|
|
203
298
|
readonly content: string;
|
|
@@ -230,12 +325,213 @@ interface GithubTargetConfig {
|
|
|
230
325
|
}
|
|
231
326
|
//#endregion
|
|
232
327
|
//#region src/github/target.d.ts
|
|
328
|
+
/**
|
|
329
|
+
* GitHub Actions target — native lowering from Definition Graph.
|
|
330
|
+
* Implements the Target contract: analyze → lower → emit.
|
|
331
|
+
*/
|
|
332
|
+
export declare class GithubTarget implements Target {
|
|
333
|
+
readonly name = "github";
|
|
334
|
+
readonly capabilities: CapabilityManifest;
|
|
335
|
+
private readonly pinningMode;
|
|
336
|
+
private readonly pinningRegistry;
|
|
337
|
+
private readonly config;
|
|
338
|
+
constructor(config?: GithubTargetConfig);
|
|
339
|
+
/**
|
|
340
|
+
* Analyze a Definition Graph against the GitHub capability manifest.
|
|
341
|
+
* Returns diagnostics for unsupported or emulated capabilities, plus
|
|
342
|
+
* `unpinned-action` diagnostics (spec 22) for third-party `uses:` refs
|
|
343
|
+
* that are not pinned in the emitted output.
|
|
344
|
+
*/
|
|
345
|
+
analyze(graph: DefinitionGraph): readonly TargetDiagnostic[];
|
|
346
|
+
/**
|
|
347
|
+
* Lower a Definition Graph to one or more GithubTargetGraphs.
|
|
348
|
+
* Single-pipeline graphs return one target graph; multi-pipeline graphs
|
|
349
|
+
* with reusable workflow calls return one per pipeline.
|
|
350
|
+
*/
|
|
351
|
+
lower(graph: DefinitionGraph): GithubTargetGraph | readonly GithubTargetGraph[];
|
|
352
|
+
/**
|
|
353
|
+
* Emit one or more GithubTargetGraphs as YAML artifacts.
|
|
354
|
+
* Produces .github/workflows/<name>.yml files. When pinning is on (strict),
|
|
355
|
+
* every `uses:` ref is routed through `pinActionRef`.
|
|
356
|
+
*/
|
|
357
|
+
emit(targetGraph: GithubTargetGraph | readonly GithubTargetGraph[]): readonly GeneratedArtifact[];
|
|
358
|
+
/**
|
|
359
|
+
* Compile a Definition Graph to generated artifacts and diagnostics.
|
|
360
|
+
*/
|
|
361
|
+
compile(graph: DefinitionGraph): CompilationResult;
|
|
362
|
+
/**
|
|
363
|
+
* Scan a lowered target graph for third-party `uses:` refs and emit
|
|
364
|
+
* `unpinned-action` diagnostics (spec 22). A ref is "unpinned" when it
|
|
365
|
+
* remains on a mutable version tag in the emitted output:
|
|
366
|
+
* - strict mode + missing registry entry → error
|
|
367
|
+
* - off mode + missing registry entry → warning
|
|
368
|
+
* - malformed ref (no `@`) → warning (both modes)
|
|
369
|
+
* Refs in the registry produce no diagnostic (they are pinnable; strict
|
|
370
|
+
* pins them, off leaves them unchanged by choice).
|
|
371
|
+
*/
|
|
372
|
+
private pinningDiagnostics;
|
|
373
|
+
private diagnosticFor;
|
|
374
|
+
}
|
|
233
375
|
/**
|
|
234
376
|
* Convenience function: analyze → lower → emit in one call.
|
|
235
377
|
*/
|
|
236
378
|
export declare function compileGithub(graph: DefinitionGraph, config?: GithubTargetConfig): CompilationResult;
|
|
237
379
|
//#endregion
|
|
380
|
+
//#region src/github/capabilities.d.ts
|
|
381
|
+
export declare const githubCapabilities: CapabilityManifest;
|
|
382
|
+
//#endregion
|
|
383
|
+
//#region src/github/errors.d.ts
|
|
384
|
+
type GithubTargetErrorCode = "INVALID_GRAPH" | "UNSUPPORTED_TRIGGER" | "UNSUPPORTED_FEATURE" | "LOWER_FAILED" | "LOWERING_ERROR" | "IMPORT_FAILED" | "INVALID_MATRIX";
|
|
385
|
+
export declare class GithubTargetError extends Error {
|
|
386
|
+
readonly code: GithubTargetErrorCode;
|
|
387
|
+
readonly cause: unknown;
|
|
388
|
+
constructor(message: string, code: GithubTargetErrorCode, cause?: unknown);
|
|
389
|
+
}
|
|
390
|
+
//#endregion
|
|
238
391
|
//#region src/gitlab/types.d.ts
|
|
392
|
+
interface GitlabRule {
|
|
393
|
+
readonly if?: string;
|
|
394
|
+
readonly when?: string;
|
|
395
|
+
readonly changes?: readonly string[];
|
|
396
|
+
readonly exists?: readonly string[];
|
|
397
|
+
readonly variables?: Readonly<Record<string, string>>;
|
|
398
|
+
}
|
|
399
|
+
interface GitlabArtifactSpec {
|
|
400
|
+
readonly paths?: readonly string[];
|
|
401
|
+
readonly reports?: Readonly<Record<string, unknown>>;
|
|
402
|
+
readonly expireIn?: string;
|
|
403
|
+
readonly access?: string;
|
|
404
|
+
readonly when?: string;
|
|
405
|
+
}
|
|
406
|
+
interface GitlabService {
|
|
407
|
+
readonly name: string;
|
|
408
|
+
readonly alias?: string;
|
|
409
|
+
readonly entrypoint?: readonly string[];
|
|
410
|
+
readonly command?: readonly string[];
|
|
411
|
+
readonly variables?: Record<string, string>;
|
|
412
|
+
}
|
|
413
|
+
interface GitlabEnvironment {
|
|
414
|
+
readonly name: string;
|
|
415
|
+
readonly url?: string;
|
|
416
|
+
readonly action?: string;
|
|
417
|
+
readonly deploymentTier?: string;
|
|
418
|
+
readonly onStop?: string;
|
|
419
|
+
}
|
|
420
|
+
interface GitlabJob {
|
|
421
|
+
readonly id: string;
|
|
422
|
+
readonly stage: string;
|
|
423
|
+
readonly image?: string;
|
|
424
|
+
readonly needs: readonly string[];
|
|
425
|
+
readonly script: readonly string[];
|
|
426
|
+
readonly beforeScript?: readonly string[];
|
|
427
|
+
readonly afterScript?: readonly string[];
|
|
428
|
+
readonly artifacts?: GitlabArtifactSpec;
|
|
429
|
+
readonly variables?: Record<string, string>;
|
|
430
|
+
readonly rules?: readonly GitlabRule[];
|
|
431
|
+
readonly timeout?: string;
|
|
432
|
+
readonly allowFailure?: boolean | {
|
|
433
|
+
readonly exitCodes: readonly number[];
|
|
434
|
+
};
|
|
435
|
+
readonly retry?: {
|
|
436
|
+
readonly max: number;
|
|
437
|
+
readonly when?: readonly string[];
|
|
438
|
+
readonly exitCodes?: readonly number[];
|
|
439
|
+
};
|
|
440
|
+
readonly parallel?: {
|
|
441
|
+
readonly matrix: readonly Record<string, unknown>[];
|
|
442
|
+
};
|
|
443
|
+
readonly interruptible?: boolean;
|
|
444
|
+
readonly tags?: readonly string[];
|
|
445
|
+
readonly idTokens?: Readonly<Record<string, {
|
|
446
|
+
aud: string;
|
|
447
|
+
}>>;
|
|
448
|
+
readonly services?: readonly GitlabService[];
|
|
449
|
+
readonly environment?: GitlabEnvironment;
|
|
450
|
+
readonly cache?: GitlabCache;
|
|
451
|
+
readonly resourceGroup?: string;
|
|
452
|
+
readonly trigger?: GitlabTrigger;
|
|
453
|
+
readonly release?: GitlabRelease;
|
|
454
|
+
readonly pages?: GitlabPages;
|
|
455
|
+
readonly when?: "on_success" | "on_failure" | "always" | "manual" | "delayed" | "never";
|
|
456
|
+
readonly start_in?: string;
|
|
457
|
+
}
|
|
458
|
+
interface GitlabCache {
|
|
459
|
+
readonly paths: readonly string[];
|
|
460
|
+
readonly key: string;
|
|
461
|
+
readonly policy?: string;
|
|
462
|
+
readonly fallbackKeys?: readonly string[];
|
|
463
|
+
}
|
|
464
|
+
interface GitlabDefault {
|
|
465
|
+
readonly image?: string;
|
|
466
|
+
readonly beforeScript?: readonly string[];
|
|
467
|
+
readonly afterScript?: readonly string[];
|
|
468
|
+
readonly timeout?: string;
|
|
469
|
+
readonly retry?: {
|
|
470
|
+
max: number;
|
|
471
|
+
exitCodes?: readonly number[];
|
|
472
|
+
};
|
|
473
|
+
readonly interruptible?: boolean;
|
|
474
|
+
}
|
|
475
|
+
interface GitlabSpecInput {
|
|
476
|
+
readonly type: string;
|
|
477
|
+
readonly description?: string;
|
|
478
|
+
readonly default?: string | number | boolean | readonly string[];
|
|
479
|
+
readonly options?: readonly string[];
|
|
480
|
+
readonly regex?: string;
|
|
481
|
+
}
|
|
482
|
+
interface GitlabPages {
|
|
483
|
+
readonly publish: string;
|
|
484
|
+
readonly path_prefix?: string;
|
|
485
|
+
}
|
|
486
|
+
interface GitlabRelease {
|
|
487
|
+
readonly tag_name: string;
|
|
488
|
+
readonly name?: string;
|
|
489
|
+
readonly description?: string;
|
|
490
|
+
readonly assets?: {
|
|
491
|
+
readonly links: readonly {
|
|
492
|
+
readonly name: string;
|
|
493
|
+
readonly url: string;
|
|
494
|
+
}[];
|
|
495
|
+
};
|
|
496
|
+
readonly draft?: boolean;
|
|
497
|
+
}
|
|
498
|
+
interface GitlabTrigger {
|
|
499
|
+
readonly include?: readonly GitlabTriggerInclude[];
|
|
500
|
+
readonly project?: string;
|
|
501
|
+
readonly branch?: string;
|
|
502
|
+
readonly strategy?: string;
|
|
503
|
+
}
|
|
504
|
+
interface GitlabTriggerInclude {
|
|
505
|
+
readonly artifact: string;
|
|
506
|
+
readonly job: string;
|
|
507
|
+
}
|
|
508
|
+
interface GitlabComponentInclude {
|
|
509
|
+
readonly component: string;
|
|
510
|
+
readonly inputs: Record<string, unknown>;
|
|
511
|
+
}
|
|
512
|
+
interface GitlabLocalInclude {
|
|
513
|
+
readonly local: string;
|
|
514
|
+
readonly inputs?: Record<string, unknown>;
|
|
515
|
+
}
|
|
516
|
+
interface GitlabWorkflowRule {
|
|
517
|
+
readonly if?: string;
|
|
518
|
+
readonly changes?: readonly string[];
|
|
519
|
+
readonly exists?: readonly string[];
|
|
520
|
+
readonly variables?: Record<string, string>;
|
|
521
|
+
readonly when?: "always" | "never";
|
|
522
|
+
}
|
|
523
|
+
interface GitlabTargetGraph {
|
|
524
|
+
readonly name: string;
|
|
525
|
+
readonly stages: readonly string[];
|
|
526
|
+
readonly jobs: readonly GitlabJob[];
|
|
527
|
+
readonly variables: Record<string, string>;
|
|
528
|
+
readonly autoCancel?: boolean;
|
|
529
|
+
readonly default?: GitlabDefault;
|
|
530
|
+
readonly specInputs?: Readonly<Record<string, GitlabSpecInput>>;
|
|
531
|
+
readonly includes: readonly GitlabComponentInclude[];
|
|
532
|
+
readonly localIncludes?: readonly GitlabLocalInclude[];
|
|
533
|
+
readonly workflowRules?: readonly GitlabWorkflowRule[];
|
|
534
|
+
}
|
|
239
535
|
interface GeneratedArtifact$1 {
|
|
240
536
|
readonly path: string;
|
|
241
537
|
readonly content: string;
|
|
@@ -253,10 +549,94 @@ interface CompilationResult$1 {
|
|
|
253
549
|
}
|
|
254
550
|
//#endregion
|
|
255
551
|
//#region src/gitlab/target.d.ts
|
|
552
|
+
/**
|
|
553
|
+
* GitLab CI target — native lowering from Definition Graph.
|
|
554
|
+
* Implements the Target contract: analyze → lower → emit.
|
|
555
|
+
*/
|
|
556
|
+
export declare class GitlabTarget implements Target {
|
|
557
|
+
readonly name = "gitlab";
|
|
558
|
+
readonly capabilities: CapabilityManifest;
|
|
559
|
+
/**
|
|
560
|
+
* Analyze a Definition Graph against the GitLab capability manifest.
|
|
561
|
+
* Returns diagnostics for unsupported or emulated capabilities.
|
|
562
|
+
*/
|
|
563
|
+
analyze(graph: DefinitionGraph): readonly TargetDiagnostic$1[];
|
|
564
|
+
/**
|
|
565
|
+
* Lower a Definition Graph to a GitlabTargetGraph.
|
|
566
|
+
* One GitLab job per reachable Step with needs, stages, and operation mapping.
|
|
567
|
+
*/
|
|
568
|
+
lower(graph: DefinitionGraph): GitlabTargetGraph;
|
|
569
|
+
/**
|
|
570
|
+
* Emit a GitlabTargetGraph as YAML artifacts.
|
|
571
|
+
* Produces one .gitlab-ci.yml file.
|
|
572
|
+
*/
|
|
573
|
+
emit(targetGraph: GitlabTargetGraph): readonly GeneratedArtifact$1[];
|
|
574
|
+
/**
|
|
575
|
+
* Compile a Definition Graph to generated artifacts and diagnostics.
|
|
576
|
+
*/
|
|
577
|
+
compile(graph: DefinitionGraph): CompilationResult$1;
|
|
578
|
+
}
|
|
256
579
|
/**
|
|
257
580
|
* Convenience function: analyze → lower → emit in one call.
|
|
258
581
|
*/
|
|
259
582
|
export declare function compileGitlab(graph: DefinitionGraph): CompilationResult$1;
|
|
260
583
|
//#endregion
|
|
261
|
-
|
|
584
|
+
//#region src/gitlab/capabilities.d.ts
|
|
585
|
+
export declare const gitlabCapabilities: CapabilityManifest;
|
|
586
|
+
//#endregion
|
|
587
|
+
//#region src/gitlab/errors.d.ts
|
|
588
|
+
type GitlabTargetErrorCode = "INVALID_GRAPH" | "UNSUPPORTED_TRIGGER" | "LOWER_FAILED" | "EMIT_FAILED" | "IMPORT_FAILED" | "MATRIX_TOO_LARGE" | "INVALID_MATRIX";
|
|
589
|
+
export declare class GitlabTargetError extends Error {
|
|
590
|
+
readonly code: GitlabTargetErrorCode;
|
|
591
|
+
readonly cause: unknown;
|
|
592
|
+
constructor(message: string, code: GitlabTargetErrorCode, cause?: unknown);
|
|
593
|
+
}
|
|
594
|
+
//#endregion
|
|
595
|
+
//#region src/github/importer.d.ts
|
|
596
|
+
/**
|
|
597
|
+
* Diagnostic produced during import for unmappable constructs.
|
|
598
|
+
*/
|
|
599
|
+
interface ImportDiagnostic {
|
|
600
|
+
readonly severity: "info" | "warn" | "error";
|
|
601
|
+
readonly message: string;
|
|
602
|
+
readonly path?: string;
|
|
603
|
+
}
|
|
604
|
+
interface ImportResult {
|
|
605
|
+
readonly graph: DefinitionGraph;
|
|
606
|
+
readonly diagnostics: readonly ImportDiagnostic[];
|
|
607
|
+
}
|
|
608
|
+
/**
|
|
609
|
+
* Import a GitHub Actions workflow YAML string into a Definition Graph.
|
|
610
|
+
* Lossy: unmappable constructs produce diagnostics.
|
|
611
|
+
*/
|
|
612
|
+
export declare function importGithub(source: string): DefinitionGraph;
|
|
613
|
+
/**
|
|
614
|
+
* Import a GitHub Actions workflow YAML string with diagnostics.
|
|
615
|
+
*/
|
|
616
|
+
export declare function importGithubWithDiagnostics(source: string): ImportResult;
|
|
617
|
+
//#endregion
|
|
618
|
+
//#region src/gitlab/importer.d.ts
|
|
619
|
+
/**
|
|
620
|
+
* Diagnostic produced during import for unmappable constructs.
|
|
621
|
+
*/
|
|
622
|
+
interface ImportDiagnostic$1 {
|
|
623
|
+
readonly severity: "info" | "warn" | "error";
|
|
624
|
+
readonly message: string;
|
|
625
|
+
readonly path?: string;
|
|
626
|
+
}
|
|
627
|
+
interface ImportResult$1 {
|
|
628
|
+
readonly graph: DefinitionGraph;
|
|
629
|
+
readonly diagnostics: readonly ImportDiagnostic$1[];
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* Import a GitLab CI YAML string into a Definition Graph.
|
|
633
|
+
* Lossy: unmappable constructs produce diagnostics.
|
|
634
|
+
*/
|
|
635
|
+
export declare function importGitlab(source: string): DefinitionGraph;
|
|
636
|
+
/**
|
|
637
|
+
* Import a GitLab CI YAML string with diagnostics for unmappable constructs.
|
|
638
|
+
*/
|
|
639
|
+
export declare function importGitlabWithDiagnostics(source: string): ImportResult$1;
|
|
640
|
+
//#endregion
|
|
641
|
+
export type { CapabilityDetail, CapabilityDiagnostic, CapabilityManifest, CapabilitySupport, CompilationResult, ConnectorFactory, Engine, GeneratedArtifact, GithubJob, GithubStep, GithubTargetConfig, GithubTargetErrorCode, GithubTargetGraph, GithubTriggers, GitlabArtifactSpec, GitlabComponentInclude, GitlabJob, GitlabLocalInclude, GitlabPages, GitlabRelease, GitlabRule, GitlabTargetErrorCode, GitlabTargetGraph, GitlabTrigger, GitlabTriggerInclude, GitlabWorkflowRule, GraphTransform, GraphValidator, ImportDiagnostic, ImportResult, Importer, ModelContribution, NativeExtension, PinRegistry, PinningConfig, PluginErrorCode, PluginMeta, PluginOptions, PluginRegistry, SverkaPlugin, Target, TargetDiagnostic, ToolDefinition, ToolProvider, ToolResult, ToolResultContent };
|
|
262
642
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/plugin/types.ts","../src/plugin/factory.ts","../src/plugin/capabilities.ts","../src/plugin/errors.ts","../src/github/pinning.ts","../src/github/types.ts","../src/github/target.ts","../src/gitlab/types.ts","../src/gitlab/target.ts"],"mappings":";;KAQY;UAGK;WACN,SAAS;WACT;WACA;;KAGC,qBAAqB,eAE/B,oBAAoB;UAGL;WACN;WACA,SAAS;WACT;WACA;WACA;;UAOM;WACN;WACA;;UAGM;WACN;EACT,UAAU,OAAO,kBAAkB;;UAGpB;WACN;EACT,SAAS,OAAO,2BAA2B;;UAG5B;WACN;EACT,QAAQ,OAAO,kBAAkB;;UAGlB;WACN;aACE;aACA;;WAEF,sBAAsB;;UAGhB;WACN;EACT,MAAM,gBAAgB;;UAGP;WACN;EACT,QAAQ;;UAGO;WACN;EACT,OAAO;;UAGQ;WACN;WACA;WACA;WACA;;UAOM;;WAEN;WACA;;WAEA,cAAc,SAAS;;KAGtB;WACG;WAAuB;;WACvB;WAAwB;WAAuB;;WAE/C;WACA;aAAqB;aAAsB;;;UAGzC;WACN,kBAAkB;WAClB;;;;;;;UAQM;EACf,aAAa,iBAAiB;EAC9B,SACE,cACA,OAAO,SAAS,2BACf,QAAQ;EACX,YAAY;;UAOG;WACN;WACA;WACA,eAAe;WACf,iBAAiB;WACjB,sBAAsB;WACtB,sBAAsB;WACtB,mBAAmB;WACnB,qBAAqB;WACrB,mBAAmB;WACnB,sBAAsB;WACtB,sBAAsB;;WAEtB,QAAQ;;UAGF;YACL;;UAGK;WACN;;UAOM;EACf,SAAS,QAAQ;WACR,kBAAkB;EAC3B,mBAAmB;;;;;;;;;;;;;;;wBCvIL,mBACd,UAAU,UAAU,eAAe,OAAO,eAAe,cACzD,UAAU,gBACT;;;;wBAoEa,wBAAwB;;;;;;;wBCmaxB,mBAAmB,OAAO,kBAAkB;;;;;;wBAkE5C,oBACd,OAAO,iBACP,oBAAoB,gCACV;;;KCpkBA;qBAGC,oBAAoB;WACtB,MAAM;WACG;EAEN,YAAA,iBAAiB,MAAM,iBAAiB;;;;;UCCrC;YACL;;;UAIK;;WAEN;;WAEA,WAAW;;;;;;;;;;;;;wBAgBN,aAAa,aAAa,UAAU;;;;wBAwBpC,uBAAuB;;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/plugin/types.ts","../src/plugin/factory.ts","../src/plugin/capabilities.ts","../src/plugin/errors.ts","../src/github/pinning.ts","../src/github/types.ts","../src/github/target.ts","../src/github/capabilities.ts","../src/github/errors.ts","../src/gitlab/types.ts","../src/gitlab/target.ts","../src/gitlab/capabilities.ts","../src/gitlab/errors.ts","../src/github/importer.ts","../src/gitlab/importer.ts"],"mappings":";;KAQY;UAGK;WACN,SAAS;WACT;WACA;;KAGC,qBAAqB,eAE/B,oBAAoB;UAGL;WACN;WACA,SAAS;WACT;WACA;WACA;;UAOM;WACN;WACA;;UAGM;WACN;EACT,UAAU,OAAO,kBAAkB;;UAGpB;WACN;EACT,SAAS,OAAO,2BAA2B;;UAG5B;WACN;EACT,QAAQ,OAAO,kBAAkB;;UAGlB;WACN;aACE;aACA;;WAEF,sBAAsB;;UAGhB;WACN;EACT,MAAM,gBAAgB;;UAGP;WACN;EACT,QAAQ;;UAGO;WACN;EACT,OAAO;;UAGQ;WACN;WACA;WACA;WACA;;UAOM;;WAEN;WACA;;WAEA,cAAc,SAAS;;KAGtB;WACG;WAAuB;;WACvB;WAAwB;WAAuB;;WAE/C;WACA;aAAqB;aAAsB;;;UAGzC;WACN,kBAAkB;WAClB;;;;;;;UAQM;EACf,aAAa,iBAAiB;EAC9B,SACE,cACA,OAAO,SAAS,2BACf,QAAQ;EACX,YAAY;;UAOG;WACN;WACA;WACA,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