@effected/github-actions 0.10.2 → 0.11.0
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/index.d.ts +71 -71
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ declare const ActionEnvironmentError_base: Schema.Class<ActionEnvironmentError,
|
|
|
25
25
|
*
|
|
26
26
|
* @public
|
|
27
27
|
*/
|
|
28
|
-
declare class ActionEnvironmentError extends ActionEnvironmentError_base {
|
|
28
|
+
export declare class ActionEnvironmentError extends ActionEnvironmentError_base {
|
|
29
29
|
get message(): string;
|
|
30
30
|
}
|
|
31
31
|
declare const GitHubContext_base: Schema.Class<GitHubContext, Schema.Struct<{
|
|
@@ -69,7 +69,7 @@ declare const GitHubContext_base: Schema.Class<GitHubContext, Schema.Struct<{
|
|
|
69
69
|
*
|
|
70
70
|
* @public
|
|
71
71
|
*/
|
|
72
|
-
declare class GitHubContext extends GitHubContext_base {
|
|
72
|
+
export declare class GitHubContext extends GitHubContext_base {
|
|
73
73
|
/**
|
|
74
74
|
* The branch a human means: `headRef` when present (a pull request, where
|
|
75
75
|
* `refName` is the useless `123/merge`), otherwise `refName`.
|
|
@@ -97,7 +97,7 @@ declare const RunnerContext_base: Schema.Class<RunnerContext, Schema.Struct<{
|
|
|
97
97
|
*
|
|
98
98
|
* @public
|
|
99
99
|
*/
|
|
100
|
-
declare class RunnerContext extends RunnerContext_base {}
|
|
100
|
+
export declare class RunnerContext extends RunnerContext_base {}
|
|
101
101
|
/**
|
|
102
102
|
* The {@link ActionEnvironment} service shape.
|
|
103
103
|
*
|
|
@@ -161,7 +161,7 @@ declare const ActionEnvironment_base: Context.ServiceClass<ActionEnvironment, "@
|
|
|
161
161
|
*
|
|
162
162
|
* @public
|
|
163
163
|
*/
|
|
164
|
-
declare class ActionEnvironment extends ActionEnvironment_base {
|
|
164
|
+
export declare class ActionEnvironment extends ActionEnvironment_base {
|
|
165
165
|
/** Seeded from `process.env`, once, at layer construction. */
|
|
166
166
|
static readonly layer: Layer.Layer<ActionEnvironment, never, FileSystem.FileSystem>;
|
|
167
167
|
/**
|
|
@@ -290,7 +290,7 @@ interface AnnotationProperties {
|
|
|
290
290
|
*
|
|
291
291
|
* @public
|
|
292
292
|
*/
|
|
293
|
-
declare class WorkflowCommand {
|
|
293
|
+
export declare class WorkflowCommand {
|
|
294
294
|
private constructor();
|
|
295
295
|
/**
|
|
296
296
|
* Render an arbitrary command. The primitive every other member uses.
|
|
@@ -457,7 +457,7 @@ declare const ActionLogger_base: Context.ServiceClass<ActionLogger, "@effected/g
|
|
|
457
457
|
*
|
|
458
458
|
* @public
|
|
459
459
|
*/
|
|
460
|
-
declare class ActionLogger extends ActionLogger_base {
|
|
460
|
+
export declare class ActionLogger extends ActionLogger_base {
|
|
461
461
|
static readonly layer: Layer.Layer<ActionLogger, never, ActionEnvironment>;
|
|
462
462
|
/**
|
|
463
463
|
* The `Logger` that maps Effect log levels onto workflow commands.
|
|
@@ -510,7 +510,7 @@ declare const RunnerFileUnavailableError_base: Schema.Class<RunnerFileUnavailabl
|
|
|
510
510
|
*
|
|
511
511
|
* @public
|
|
512
512
|
*/
|
|
513
|
-
declare class RunnerFileUnavailableError extends RunnerFileUnavailableError_base {
|
|
513
|
+
export declare class RunnerFileUnavailableError extends RunnerFileUnavailableError_base {
|
|
514
514
|
get message(): string;
|
|
515
515
|
}
|
|
516
516
|
declare const RunnerFileWriteError_base: Schema.Class<RunnerFileWriteError, Schema.TaggedStruct<"RunnerFileWriteError", {
|
|
@@ -524,7 +524,7 @@ declare const RunnerFileWriteError_base: Schema.Class<RunnerFileWriteError, Sche
|
|
|
524
524
|
*
|
|
525
525
|
* @public
|
|
526
526
|
*/
|
|
527
|
-
declare class RunnerFileWriteError extends RunnerFileWriteError_base {
|
|
527
|
+
export declare class RunnerFileWriteError extends RunnerFileWriteError_base {
|
|
528
528
|
get message(): string;
|
|
529
529
|
}
|
|
530
530
|
declare const InvalidOutputNameError_base: Schema.Class<InvalidOutputNameError, Schema.TaggedStruct<"InvalidOutputNameError", {
|
|
@@ -540,7 +540,7 @@ declare const InvalidOutputNameError_base: Schema.Class<InvalidOutputNameError,
|
|
|
540
540
|
*
|
|
541
541
|
* @public
|
|
542
542
|
*/
|
|
543
|
-
declare class InvalidOutputNameError extends InvalidOutputNameError_base {
|
|
543
|
+
export declare class InvalidOutputNameError extends InvalidOutputNameError_base {
|
|
544
544
|
get message(): string;
|
|
545
545
|
}
|
|
546
546
|
declare const OutputEncodeError_base: Schema.Class<OutputEncodeError, Schema.TaggedStruct<"OutputEncodeError", {
|
|
@@ -554,7 +554,7 @@ declare const OutputEncodeError_base: Schema.Class<OutputEncodeError, Schema.Tag
|
|
|
554
554
|
*
|
|
555
555
|
* @public
|
|
556
556
|
*/
|
|
557
|
-
declare class OutputEncodeError extends OutputEncodeError_base {
|
|
557
|
+
export declare class OutputEncodeError extends OutputEncodeError_base {
|
|
558
558
|
get message(): string;
|
|
559
559
|
}
|
|
560
560
|
declare const DetachedOutputError_base: Schema.Class<DetachedOutputError, Schema.TaggedStruct<"DetachedOutputError", {
|
|
@@ -571,7 +571,7 @@ declare const DetachedOutputError_base: Schema.Class<DetachedOutputError, Schema
|
|
|
571
571
|
*
|
|
572
572
|
* @public
|
|
573
573
|
*/
|
|
574
|
-
declare class DetachedOutputError extends DetachedOutputError_base {
|
|
574
|
+
export declare class DetachedOutputError extends DetachedOutputError_base {
|
|
575
575
|
get message(): string;
|
|
576
576
|
}
|
|
577
577
|
/**
|
|
@@ -633,7 +633,7 @@ declare const ActionOutputs_base: Context.ServiceClass<ActionOutputs, "@effected
|
|
|
633
633
|
*
|
|
634
634
|
* @public
|
|
635
635
|
*/
|
|
636
|
-
declare class ActionOutputs extends ActionOutputs_base {
|
|
636
|
+
export declare class ActionOutputs extends ActionOutputs_base {
|
|
637
637
|
static readonly layer: Layer.Layer<ActionOutputs, never, ActionEnvironment | FileSystem.FileSystem>;
|
|
638
638
|
/**
|
|
639
639
|
* The outputs surface that is correct inside a **detached worker**.
|
|
@@ -700,7 +700,7 @@ declare const ActionStateError_base: Schema.Class<ActionStateError, Schema.Tagge
|
|
|
700
700
|
*
|
|
701
701
|
* @public
|
|
702
702
|
*/
|
|
703
|
-
declare class ActionStateError extends ActionStateError_base {
|
|
703
|
+
export declare class ActionStateError extends ActionStateError_base {
|
|
704
704
|
get message(): string;
|
|
705
705
|
}
|
|
706
706
|
/**
|
|
@@ -755,7 +755,7 @@ declare const ActionState_base: Context.ServiceClass<ActionState, "@effected/git
|
|
|
755
755
|
*
|
|
756
756
|
* @public
|
|
757
757
|
*/
|
|
758
|
-
declare class ActionState extends ActionState_base {
|
|
758
|
+
export declare class ActionState extends ActionState_base {
|
|
759
759
|
static readonly layer: Layer.Layer<ActionState, never, ActionEnvironment | FileSystem.FileSystem | ActionOutputs>;
|
|
760
760
|
/** A test double. Unstubbed members die rather than answering wrongly. */
|
|
761
761
|
static readonly makeTest: (overrides?: Partial<ActionStateShape>) => ActionStateShape;
|
|
@@ -792,7 +792,7 @@ type ActionServices = ActionEnvironment | ActionLogger | ActionOutputs | ActionS
|
|
|
792
792
|
*
|
|
793
793
|
* @public
|
|
794
794
|
*/
|
|
795
|
-
declare class ActionRuntime {
|
|
795
|
+
export declare class ActionRuntime {
|
|
796
796
|
private constructor();
|
|
797
797
|
/**
|
|
798
798
|
* The composed default: the runner services, the platform, an HTTP client
|
|
@@ -833,7 +833,7 @@ interface ActionRunOptions<R> {
|
|
|
833
833
|
*
|
|
834
834
|
* @public
|
|
835
835
|
*/
|
|
836
|
-
declare const describeCause: (cause: Cause.Cause<unknown>) => string;
|
|
836
|
+
export declare const describeCause: (cause: Cause.Cause<unknown>) => string;
|
|
837
837
|
/**
|
|
838
838
|
* The entry point an action's `main`, `pre` and `post` scripts call.
|
|
839
839
|
*
|
|
@@ -873,7 +873,7 @@ declare const describeCause: (cause: Cause.Cause<unknown>) => string;
|
|
|
873
873
|
*
|
|
874
874
|
* @public
|
|
875
875
|
*/
|
|
876
|
-
declare class Action {
|
|
876
|
+
export declare class Action {
|
|
877
877
|
private constructor();
|
|
878
878
|
/** {@link describeCause}, so an action can render its own failures the same way. */
|
|
879
879
|
static readonly describeCause: (cause: Cause.Cause<unknown>) => string;
|
|
@@ -899,7 +899,7 @@ declare const BlobTransferError_base: Schema.Class<BlobTransferError, Schema.Tag
|
|
|
899
899
|
*
|
|
900
900
|
* @public
|
|
901
901
|
*/
|
|
902
|
-
declare class BlobTransferError extends BlobTransferError_base {
|
|
902
|
+
export declare class BlobTransferError extends BlobTransferError_base {
|
|
903
903
|
get message(): string;
|
|
904
904
|
}
|
|
905
905
|
/**
|
|
@@ -959,7 +959,7 @@ declare const CacheKeyReadError_base: Schema.Class<CacheKeyReadError, Schema.Tag
|
|
|
959
959
|
*
|
|
960
960
|
* @public
|
|
961
961
|
*/
|
|
962
|
-
declare class CacheKeyReadError extends CacheKeyReadError_base {
|
|
962
|
+
export declare class CacheKeyReadError extends CacheKeyReadError_base {
|
|
963
963
|
get message(): string;
|
|
964
964
|
}
|
|
965
965
|
declare const CacheKeyBadPatternError_base: Schema.Class<CacheKeyBadPatternError, Schema.TaggedStruct<"CacheKeyBadPatternError", {
|
|
@@ -973,7 +973,7 @@ declare const CacheKeyBadPatternError_base: Schema.Class<CacheKeyBadPatternError
|
|
|
973
973
|
*
|
|
974
974
|
* @public
|
|
975
975
|
*/
|
|
976
|
-
declare class CacheKeyBadPatternError extends CacheKeyBadPatternError_base {
|
|
976
|
+
export declare class CacheKeyBadPatternError extends CacheKeyBadPatternError_base {
|
|
977
977
|
get message(): string;
|
|
978
978
|
}
|
|
979
979
|
/**
|
|
@@ -1031,7 +1031,7 @@ declare const CacheKey_base: Schema.Class<CacheKey, Schema.Struct<{
|
|
|
1031
1031
|
*
|
|
1032
1032
|
* @public
|
|
1033
1033
|
*/
|
|
1034
|
-
declare class CacheKey extends CacheKey_base {
|
|
1034
|
+
export declare class CacheKey extends CacheKey_base {
|
|
1035
1035
|
/** The primary key: every segment, joined. */
|
|
1036
1036
|
get key(): string;
|
|
1037
1037
|
/**
|
|
@@ -1311,7 +1311,7 @@ declare const ActionCacheError_base: Schema.Class<ActionCacheError, Schema.Tagge
|
|
|
1311
1311
|
*
|
|
1312
1312
|
* @public
|
|
1313
1313
|
*/
|
|
1314
|
-
declare class ActionCacheError extends ActionCacheError_base {
|
|
1314
|
+
export declare class ActionCacheError extends ActionCacheError_base {
|
|
1315
1315
|
get message(): string;
|
|
1316
1316
|
}
|
|
1317
1317
|
/**
|
|
@@ -1400,7 +1400,7 @@ declare const ActionCache_base: Context.ServiceClass<ActionCache, "@effected/git
|
|
|
1400
1400
|
*
|
|
1401
1401
|
* @public
|
|
1402
1402
|
*/
|
|
1403
|
-
declare class ActionCache extends ActionCache_base {
|
|
1403
|
+
export declare class ActionCache extends ActionCache_base {
|
|
1404
1404
|
/** The cache, over the real Azure client and the real `tar`. */
|
|
1405
1405
|
static readonly layer: Layer.Layer<ActionCache, never, ActionEnvironment | HttpClient.HttpClient | FileSystem.FileSystem | Path.Path | ChildProcessSpawner.ChildProcessSpawner>;
|
|
1406
1406
|
/**
|
|
@@ -1480,7 +1480,7 @@ interface PairsOptions {
|
|
|
1480
1480
|
*
|
|
1481
1481
|
* @public
|
|
1482
1482
|
*/
|
|
1483
|
-
declare class ActionInput {
|
|
1483
|
+
export declare class ActionInput {
|
|
1484
1484
|
private constructor();
|
|
1485
1485
|
/**
|
|
1486
1486
|
* The exact environment variable the runner publishes an input under.
|
|
@@ -1820,7 +1820,7 @@ declare const OidcTokenError_base: Schema.Class<OidcTokenError, Schema.TaggedStr
|
|
|
1820
1820
|
*
|
|
1821
1821
|
* @public
|
|
1822
1822
|
*/
|
|
1823
|
-
declare class OidcTokenError extends OidcTokenError_base {
|
|
1823
|
+
export declare class OidcTokenError extends OidcTokenError_base {
|
|
1824
1824
|
get message(): string;
|
|
1825
1825
|
}
|
|
1826
1826
|
declare const OidcClaims_base: Schema.Class<OidcClaims, Schema.Struct<{
|
|
@@ -1861,7 +1861,7 @@ declare const OidcClaims_base: Schema.Class<OidcClaims, Schema.Struct<{
|
|
|
1861
1861
|
*
|
|
1862
1862
|
* @public
|
|
1863
1863
|
*/
|
|
1864
|
-
declare class OidcClaims extends OidcClaims_base {}
|
|
1864
|
+
export declare class OidcClaims extends OidcClaims_base {}
|
|
1865
1865
|
/**
|
|
1866
1866
|
* The {@link OidcTokenIssuer} service shape.
|
|
1867
1867
|
*
|
|
@@ -1929,7 +1929,7 @@ declare const OidcTokenIssuer_base: Context.ServiceClass<OidcTokenIssuer, "@effe
|
|
|
1929
1929
|
*
|
|
1930
1930
|
* @public
|
|
1931
1931
|
*/
|
|
1932
|
-
declare class OidcTokenIssuer extends OidcTokenIssuer_base {
|
|
1932
|
+
export declare class OidcTokenIssuer extends OidcTokenIssuer_base {
|
|
1933
1933
|
static readonly layer: Layer.Layer<OidcTokenIssuer, never, ActionEnvironment | HttpClient.HttpClient>;
|
|
1934
1934
|
/**
|
|
1935
1935
|
* An **unsigned** JWT carrying these claims.
|
|
@@ -1997,7 +1997,7 @@ declare class OidcTokenIssuer extends OidcTokenIssuer_base {
|
|
|
1997
1997
|
*
|
|
1998
1998
|
* @public
|
|
1999
1999
|
*/
|
|
2000
|
-
declare class ActionsIdentityToken {
|
|
2000
|
+
export declare class ActionsIdentityToken {
|
|
2001
2001
|
private constructor();
|
|
2002
2002
|
/**
|
|
2003
2003
|
* `IdentityToken` served by the runner's OIDC token service.
|
|
@@ -2045,7 +2045,7 @@ declare class ActionsIdentityToken {
|
|
|
2045
2045
|
*
|
|
2046
2046
|
* @public
|
|
2047
2047
|
*/
|
|
2048
|
-
declare class ActionsProvenance {
|
|
2048
|
+
export declare class ActionsProvenance {
|
|
2049
2049
|
private constructor();
|
|
2050
2050
|
/**
|
|
2051
2051
|
* The current run's SLSA provenance, built from the runner's OIDC claims.
|
|
@@ -2107,7 +2107,7 @@ declare const ArtifactError_base: Schema.Class<ArtifactError, Schema.TaggedStruc
|
|
|
2107
2107
|
*
|
|
2108
2108
|
* @public
|
|
2109
2109
|
*/
|
|
2110
|
-
declare class ArtifactError extends ArtifactError_base {
|
|
2110
|
+
export declare class ArtifactError extends ArtifactError_base {
|
|
2111
2111
|
get message(): string;
|
|
2112
2112
|
}
|
|
2113
2113
|
/**
|
|
@@ -2247,7 +2247,7 @@ declare const Artifact_base: Context.ServiceClass<Artifact, "@effected/github-ac
|
|
|
2247
2247
|
*
|
|
2248
2248
|
* @public
|
|
2249
2249
|
*/
|
|
2250
|
-
declare class Artifact extends Artifact_base {
|
|
2250
|
+
export declare class Artifact extends Artifact_base {
|
|
2251
2251
|
/** The service, over the real Azure client and the real `zip`. */
|
|
2252
2252
|
static readonly layer: Layer.Layer<Artifact, never, ActionEnvironment | HttpClient.HttpClient | FileSystem.FileSystem | Path.Path | ChildProcessSpawner.ChildProcessSpawner>;
|
|
2253
2253
|
/**
|
|
@@ -2279,7 +2279,7 @@ declare const NotABlobEnvelopeError_base: Schema.Class<NotABlobEnvelopeError, Sc
|
|
|
2279
2279
|
*
|
|
2280
2280
|
* @public
|
|
2281
2281
|
*/
|
|
2282
|
-
declare class NotABlobEnvelopeError extends NotABlobEnvelopeError_base {
|
|
2282
|
+
export declare class NotABlobEnvelopeError extends NotABlobEnvelopeError_base {
|
|
2283
2283
|
get message(): string;
|
|
2284
2284
|
}
|
|
2285
2285
|
declare const TruncatedBlobEnvelopeError_base: Schema.Class<TruncatedBlobEnvelopeError, Schema.TaggedStruct<"TruncatedBlobEnvelopeError", {
|
|
@@ -2291,7 +2291,7 @@ declare const TruncatedBlobEnvelopeError_base: Schema.Class<TruncatedBlobEnvelop
|
|
|
2291
2291
|
*
|
|
2292
2292
|
* @public
|
|
2293
2293
|
*/
|
|
2294
|
-
declare class TruncatedBlobEnvelopeError extends TruncatedBlobEnvelopeError_base {
|
|
2294
|
+
export declare class TruncatedBlobEnvelopeError extends TruncatedBlobEnvelopeError_base {
|
|
2295
2295
|
get message(): string;
|
|
2296
2296
|
}
|
|
2297
2297
|
declare const UnsupportedBlobEnvelopeVersionError_base: Schema.Class<UnsupportedBlobEnvelopeVersionError, Schema.TaggedStruct<"UnsupportedBlobEnvelopeVersionError", {
|
|
@@ -2305,7 +2305,7 @@ declare const UnsupportedBlobEnvelopeVersionError_base: Schema.Class<Unsupported
|
|
|
2305
2305
|
*
|
|
2306
2306
|
* @public
|
|
2307
2307
|
*/
|
|
2308
|
-
declare class UnsupportedBlobEnvelopeVersionError extends UnsupportedBlobEnvelopeVersionError_base {
|
|
2308
|
+
export declare class UnsupportedBlobEnvelopeVersionError extends UnsupportedBlobEnvelopeVersionError_base {
|
|
2309
2309
|
get message(): string;
|
|
2310
2310
|
}
|
|
2311
2311
|
declare const BlobMetadataDecodeError_base: Schema.Class<BlobMetadataDecodeError, Schema.TaggedStruct<"BlobMetadataDecodeError", {
|
|
@@ -2317,7 +2317,7 @@ declare const BlobMetadataDecodeError_base: Schema.Class<BlobMetadataDecodeError
|
|
|
2317
2317
|
*
|
|
2318
2318
|
* @public
|
|
2319
2319
|
*/
|
|
2320
|
-
declare class BlobMetadataDecodeError extends BlobMetadataDecodeError_base {
|
|
2320
|
+
export declare class BlobMetadataDecodeError extends BlobMetadataDecodeError_base {
|
|
2321
2321
|
get message(): string;
|
|
2322
2322
|
}
|
|
2323
2323
|
declare const BlobMetadataEncodeError_base: Schema.Class<BlobMetadataEncodeError, Schema.TaggedStruct<"BlobMetadataEncodeError", {
|
|
@@ -2329,7 +2329,7 @@ declare const BlobMetadataEncodeError_base: Schema.Class<BlobMetadataEncodeError
|
|
|
2329
2329
|
*
|
|
2330
2330
|
* @public
|
|
2331
2331
|
*/
|
|
2332
|
-
declare class BlobMetadataEncodeError extends BlobMetadataEncodeError_base {
|
|
2332
|
+
export declare class BlobMetadataEncodeError extends BlobMetadataEncodeError_base {
|
|
2333
2333
|
get message(): string;
|
|
2334
2334
|
}
|
|
2335
2335
|
/**
|
|
@@ -2374,7 +2374,7 @@ type BlobEnvelopeError = NotABlobEnvelopeError | TruncatedBlobEnvelopeError | Un
|
|
|
2374
2374
|
*
|
|
2375
2375
|
* @public
|
|
2376
2376
|
*/
|
|
2377
|
-
declare class BlobEnvelope {
|
|
2377
|
+
export declare class BlobEnvelope {
|
|
2378
2378
|
private constructor();
|
|
2379
2379
|
/** The version this build writes. */
|
|
2380
2380
|
static readonly version: number;
|
|
@@ -2409,7 +2409,7 @@ declare const BlobStoreError_base: Schema.Class<BlobStoreError, Schema.TaggedStr
|
|
|
2409
2409
|
*
|
|
2410
2410
|
* @public
|
|
2411
2411
|
*/
|
|
2412
|
-
declare class BlobStoreError extends BlobStoreError_base {
|
|
2412
|
+
export declare class BlobStoreError extends BlobStoreError_base {
|
|
2413
2413
|
get message(): string;
|
|
2414
2414
|
}
|
|
2415
2415
|
/**
|
|
@@ -2492,7 +2492,7 @@ declare const BlobStore_base: Context.ServiceClass<BlobStore, "@effected/github-
|
|
|
2492
2492
|
*
|
|
2493
2493
|
* @public
|
|
2494
2494
|
*/
|
|
2495
|
-
declare class BlobStore extends BlobStore_base {
|
|
2495
|
+
export declare class BlobStore extends BlobStore_base {
|
|
2496
2496
|
/**
|
|
2497
2497
|
* An S3-compatible backend, signed with SigV4.
|
|
2498
2498
|
*
|
|
@@ -2557,7 +2557,7 @@ declare class BlobStore extends BlobStore_base {
|
|
|
2557
2557
|
*
|
|
2558
2558
|
* @public
|
|
2559
2559
|
*/
|
|
2560
|
-
declare class GitHubCacheBlobStore {
|
|
2560
|
+
export declare class GitHubCacheBlobStore {
|
|
2561
2561
|
private constructor();
|
|
2562
2562
|
/** The backend, over the real Azure client. */
|
|
2563
2563
|
static readonly layer: Layer.Layer<BlobStore, never, HttpClient.HttpClient | ActionEnvironment>;
|
|
@@ -2604,7 +2604,7 @@ declare const CheckReport_base: Schema.Class<CheckReport, Schema.Struct<{
|
|
|
2604
2604
|
*
|
|
2605
2605
|
* @public
|
|
2606
2606
|
*/
|
|
2607
|
-
declare class CheckReport extends CheckReport_base {}
|
|
2607
|
+
export declare class CheckReport extends CheckReport_base {}
|
|
2608
2608
|
declare const CheckDocumentError_base: Schema.Class<CheckDocumentError, Schema.TaggedStruct<"CheckDocumentError", {
|
|
2609
2609
|
/** Which phase failed: regenerating the document, reading it back, or writing it. */
|
|
2610
2610
|
readonly kind: Schema.Literals<readonly ["render", "read", "sink"]>;
|
|
@@ -2625,7 +2625,7 @@ declare const CheckDocumentError_base: Schema.Class<CheckDocumentError, Schema.T
|
|
|
2625
2625
|
*
|
|
2626
2626
|
* @public
|
|
2627
2627
|
*/
|
|
2628
|
-
declare class CheckDocumentError extends CheckDocumentError_base {
|
|
2628
|
+
export declare class CheckDocumentError extends CheckDocumentError_base {
|
|
2629
2629
|
get message(): string;
|
|
2630
2630
|
}
|
|
2631
2631
|
declare const CheckDocumentStamp_base: Schema.Class<CheckDocumentStamp, Schema.Struct<{
|
|
@@ -2648,7 +2648,7 @@ declare const CheckDocumentStamp_base: Schema.Class<CheckDocumentStamp, Schema.S
|
|
|
2648
2648
|
*
|
|
2649
2649
|
* @public
|
|
2650
2650
|
*/
|
|
2651
|
-
declare class CheckDocumentStamp extends CheckDocumentStamp_base {
|
|
2651
|
+
export declare class CheckDocumentStamp extends CheckDocumentStamp_base {
|
|
2652
2652
|
/**
|
|
2653
2653
|
* Is `incoming` allowed to overwrite regions stamped `existing`?
|
|
2654
2654
|
*
|
|
@@ -2864,7 +2864,7 @@ declare const CheckDocument_base: Context.ServiceClass<CheckDocument, "@effected
|
|
|
2864
2864
|
*
|
|
2865
2865
|
* @public
|
|
2866
2866
|
*/
|
|
2867
|
-
declare class CheckDocument extends CheckDocument_base {
|
|
2867
|
+
export declare class CheckDocument extends CheckDocument_base {
|
|
2868
2868
|
/**
|
|
2869
2869
|
* The reconciler over one document.
|
|
2870
2870
|
*
|
|
@@ -2901,13 +2901,13 @@ declare class CheckDocument extends CheckDocument_base {
|
|
|
2901
2901
|
*
|
|
2902
2902
|
* @public
|
|
2903
2903
|
*/
|
|
2904
|
-
declare const CheckState: Schema.Literals<readonly ["running", "pass", "fail", "warn", "user_interaction_required", "skipped", "timeout"]>;
|
|
2904
|
+
export declare const CheckState: Schema.Literals<readonly ["running", "pass", "fail", "warn", "user_interaction_required", "skipped", "timeout"]>;
|
|
2905
2905
|
/**
|
|
2906
2906
|
* The type of `CheckState`.
|
|
2907
2907
|
*
|
|
2908
2908
|
* @public
|
|
2909
2909
|
*/
|
|
2910
|
-
type CheckState = typeof CheckState.Type;
|
|
2910
|
+
export type CheckState = typeof CheckState.Type;
|
|
2911
2911
|
/**
|
|
2912
2912
|
* The check-run conclusions the kit vocabulary can produce.
|
|
2913
2913
|
*
|
|
@@ -2950,7 +2950,7 @@ type CheckRunProjection = {
|
|
|
2950
2950
|
*
|
|
2951
2951
|
* @public
|
|
2952
2952
|
*/
|
|
2953
|
-
declare const projectCheckState: (state: CheckState) => CheckRunProjection;
|
|
2953
|
+
export declare const projectCheckState: (state: CheckState) => CheckRunProjection;
|
|
2954
2954
|
//#endregion
|
|
2955
2955
|
//#region src/ChildEnv.d.ts
|
|
2956
2956
|
/**
|
|
@@ -3022,7 +3022,7 @@ interface PathPrependOptions {
|
|
|
3022
3022
|
*
|
|
3023
3023
|
* @public
|
|
3024
3024
|
*/
|
|
3025
|
-
declare class ChildEnv {
|
|
3025
|
+
export declare class ChildEnv {
|
|
3026
3026
|
private constructor();
|
|
3027
3027
|
/**
|
|
3028
3028
|
* The key `base` spells `PATH` with — `Path` on a typical Windows block,
|
|
@@ -3110,7 +3110,7 @@ declare const DetachedLogUnavailableError_base: Schema.Class<DetachedLogUnavaila
|
|
|
3110
3110
|
*
|
|
3111
3111
|
* @public
|
|
3112
3112
|
*/
|
|
3113
|
-
declare class DetachedLogUnavailableError extends DetachedLogUnavailableError_base {
|
|
3113
|
+
export declare class DetachedLogUnavailableError extends DetachedLogUnavailableError_base {
|
|
3114
3114
|
get message(): string;
|
|
3115
3115
|
}
|
|
3116
3116
|
declare const DetachedSpawnFailedError_base: Schema.Class<DetachedSpawnFailedError, Schema.TaggedStruct<"DetachedSpawnFailedError", {
|
|
@@ -3122,7 +3122,7 @@ declare const DetachedSpawnFailedError_base: Schema.Class<DetachedSpawnFailedErr
|
|
|
3122
3122
|
*
|
|
3123
3123
|
* @public
|
|
3124
3124
|
*/
|
|
3125
|
-
declare class DetachedSpawnFailedError extends DetachedSpawnFailedError_base {
|
|
3125
|
+
export declare class DetachedSpawnFailedError extends DetachedSpawnFailedError_base {
|
|
3126
3126
|
get message(): string;
|
|
3127
3127
|
}
|
|
3128
3128
|
declare const InvalidPidError_base: Schema.Class<InvalidPidError, Schema.TaggedStruct<"InvalidPidError", {
|
|
@@ -3140,7 +3140,7 @@ declare const InvalidPidError_base: Schema.Class<InvalidPidError, Schema.TaggedS
|
|
|
3140
3140
|
*
|
|
3141
3141
|
* @public
|
|
3142
3142
|
*/
|
|
3143
|
-
declare class InvalidPidError extends InvalidPidError_base {
|
|
3143
|
+
export declare class InvalidPidError extends InvalidPidError_base {
|
|
3144
3144
|
get message(): string;
|
|
3145
3145
|
}
|
|
3146
3146
|
declare const DetachedSignalFailedError_base: Schema.Class<DetachedSignalFailedError, Schema.TaggedStruct<"DetachedSignalFailedError", {
|
|
@@ -3154,7 +3154,7 @@ declare const DetachedSignalFailedError_base: Schema.Class<DetachedSignalFailedE
|
|
|
3154
3154
|
*
|
|
3155
3155
|
* @public
|
|
3156
3156
|
*/
|
|
3157
|
-
declare class DetachedSignalFailedError extends DetachedSignalFailedError_base {
|
|
3157
|
+
export declare class DetachedSignalFailedError extends DetachedSignalFailedError_base {
|
|
3158
3158
|
get message(): string;
|
|
3159
3159
|
}
|
|
3160
3160
|
declare const DetachedNotReadyError_base: Schema.Class<DetachedNotReadyError, Schema.TaggedStruct<"DetachedNotReadyError", {
|
|
@@ -3166,7 +3166,7 @@ declare const DetachedNotReadyError_base: Schema.Class<DetachedNotReadyError, Sc
|
|
|
3166
3166
|
*
|
|
3167
3167
|
* @public
|
|
3168
3168
|
*/
|
|
3169
|
-
declare class DetachedNotReadyError extends DetachedNotReadyError_base {
|
|
3169
|
+
export declare class DetachedNotReadyError extends DetachedNotReadyError_base {
|
|
3170
3170
|
get message(): string;
|
|
3171
3171
|
}
|
|
3172
3172
|
/**
|
|
@@ -3215,7 +3215,7 @@ type DetachedProcessError = DetachedLogUnavailableError | DetachedSpawnFailedErr
|
|
|
3215
3215
|
*
|
|
3216
3216
|
* @public
|
|
3217
3217
|
*/
|
|
3218
|
-
declare const ProcessId: Schema.brand<Schema.Number, "ProcessId">;
|
|
3218
|
+
export declare const ProcessId: Schema.brand<Schema.Number, "ProcessId">;
|
|
3219
3219
|
/**
|
|
3220
3220
|
* How a detached child is started.
|
|
3221
3221
|
*
|
|
@@ -3324,7 +3324,7 @@ interface DetachedProcessOps {
|
|
|
3324
3324
|
*
|
|
3325
3325
|
* @public
|
|
3326
3326
|
*/
|
|
3327
|
-
declare class DetachedProcess {
|
|
3327
|
+
export declare class DetachedProcess {
|
|
3328
3328
|
private constructor();
|
|
3329
3329
|
/**
|
|
3330
3330
|
* Start a detached child with its output routed to a log file.
|
|
@@ -3470,7 +3470,7 @@ declare const DryRun_base: Context.ServiceClass<DryRun, "@effected/github-action
|
|
|
3470
3470
|
*
|
|
3471
3471
|
* @public
|
|
3472
3472
|
*/
|
|
3473
|
-
declare class DryRun extends DryRun_base {
|
|
3473
|
+
export declare class DryRun extends DryRun_base {
|
|
3474
3474
|
/**
|
|
3475
3475
|
* Driven by the `dry-run` action input, defaulting to a real run.
|
|
3476
3476
|
*
|
|
@@ -3651,7 +3651,7 @@ interface GitHubSchemaTable<Row> {
|
|
|
3651
3651
|
*
|
|
3652
3652
|
* @public
|
|
3653
3653
|
*/
|
|
3654
|
-
declare class GitHubMarkdown {
|
|
3654
|
+
export declare class GitHubMarkdown {
|
|
3655
3655
|
private constructor();
|
|
3656
3656
|
/**
|
|
3657
3657
|
* A GFM table.
|
|
@@ -3774,7 +3774,7 @@ declare const GitHubTokenError_base: Schema.Class<GitHubTokenError, Schema.Tagge
|
|
|
3774
3774
|
*
|
|
3775
3775
|
* @public
|
|
3776
3776
|
*/
|
|
3777
|
-
declare class GitHubTokenError extends GitHubTokenError_base {
|
|
3777
|
+
export declare class GitHubTokenError extends GitHubTokenError_base {
|
|
3778
3778
|
get message(): string;
|
|
3779
3779
|
}
|
|
3780
3780
|
/**
|
|
@@ -3883,7 +3883,7 @@ interface ClientLayerOptions extends ReadOptions {
|
|
|
3883
3883
|
*
|
|
3884
3884
|
* @public
|
|
3885
3885
|
*/
|
|
3886
|
-
declare class GitHubToken {
|
|
3886
|
+
export declare class GitHubToken {
|
|
3887
3887
|
private constructor();
|
|
3888
3888
|
/**
|
|
3889
3889
|
* Mint a token, verify its scopes, mask it and persist it for later phases.
|
|
@@ -3979,7 +3979,7 @@ declare const ManagedDocumentError_base: Schema.Class<ManagedDocumentError, Sche
|
|
|
3979
3979
|
*
|
|
3980
3980
|
* @public
|
|
3981
3981
|
*/
|
|
3982
|
-
declare class ManagedDocumentError extends ManagedDocumentError_base {
|
|
3982
|
+
export declare class ManagedDocumentError extends ManagedDocumentError_base {
|
|
3983
3983
|
get message(): string;
|
|
3984
3984
|
}
|
|
3985
3985
|
/**
|
|
@@ -4050,7 +4050,7 @@ declare const ManagedDocument_base: Schema.Class<ManagedDocument, Schema.Struct<
|
|
|
4050
4050
|
*
|
|
4051
4051
|
* @public
|
|
4052
4052
|
*/
|
|
4053
|
-
declare class ManagedDocument extends ManagedDocument_base {
|
|
4053
|
+
export declare class ManagedDocument extends ManagedDocument_base {
|
|
4054
4054
|
/**
|
|
4055
4055
|
* Read a document out of existing text, or begin a fresh one.
|
|
4056
4056
|
*
|
|
@@ -4186,7 +4186,7 @@ declare const ToolInstallerError_base: Schema.Class<ToolInstallerError, Schema.T
|
|
|
4186
4186
|
*
|
|
4187
4187
|
* @public
|
|
4188
4188
|
*/
|
|
4189
|
-
declare class ToolInstallerError extends ToolInstallerError_base {
|
|
4189
|
+
export declare class ToolInstallerError extends ToolInstallerError_base {
|
|
4190
4190
|
get message(): string;
|
|
4191
4191
|
/**
|
|
4192
4192
|
* Whether retrying could plausibly help.
|
|
@@ -4363,7 +4363,7 @@ declare const ToolInstaller_base: Context.ServiceClass<ToolInstaller, "@effected
|
|
|
4363
4363
|
*
|
|
4364
4364
|
* @public
|
|
4365
4365
|
*/
|
|
4366
|
-
declare class ToolInstaller extends ToolInstaller_base {
|
|
4366
|
+
export declare class ToolInstaller extends ToolInstaller_base {
|
|
4367
4367
|
static readonly layer: Layer.Layer<ToolInstaller, never, ActionEnvironment | FileSystem.FileSystem | Path.Path | HttpClient.HttpClient | ChildProcessSpawner.ChildProcessSpawner>;
|
|
4368
4368
|
/**
|
|
4369
4369
|
* Where a tool lives in the cache.
|
|
@@ -4420,7 +4420,7 @@ declare const PackageManagerInstallerError_base: Schema.Class<PackageManagerInst
|
|
|
4420
4420
|
*
|
|
4421
4421
|
* @public
|
|
4422
4422
|
*/
|
|
4423
|
-
declare class PackageManagerInstallerError extends PackageManagerInstallerError_base {
|
|
4423
|
+
export declare class PackageManagerInstallerError extends PackageManagerInstallerError_base {
|
|
4424
4424
|
get message(): string;
|
|
4425
4425
|
}
|
|
4426
4426
|
/**
|
|
@@ -4480,7 +4480,7 @@ declare const AmbientPackageManager_base: Schema.Class<AmbientPackageManager, Sc
|
|
|
4480
4480
|
*
|
|
4481
4481
|
* @public
|
|
4482
4482
|
*/
|
|
4483
|
-
declare class AmbientPackageManager extends AmbientPackageManager_base {}
|
|
4483
|
+
export declare class AmbientPackageManager extends AmbientPackageManager_base {}
|
|
4484
4484
|
declare const CachedPackageManager_base: Schema.Class<CachedPackageManager, Schema.Struct<{
|
|
4485
4485
|
/** The discriminant: the manager lives in the tool cache. */
|
|
4486
4486
|
readonly source: Schema.tag<"tool-cache">;
|
|
@@ -4514,7 +4514,7 @@ declare const CachedPackageManager_base: Schema.Class<CachedPackageManager, Sche
|
|
|
4514
4514
|
*
|
|
4515
4515
|
* @public
|
|
4516
4516
|
*/
|
|
4517
|
-
declare class CachedPackageManager extends CachedPackageManager_base {}
|
|
4517
|
+
export declare class CachedPackageManager extends CachedPackageManager_base {}
|
|
4518
4518
|
/**
|
|
4519
4519
|
* An installed package manager, discriminated by `source`: `ambient` carries
|
|
4520
4520
|
* no directory, `tool-cache` carries the cached `directory` and the
|
|
@@ -4533,14 +4533,14 @@ declare class CachedPackageManager extends CachedPackageManager_base {}
|
|
|
4533
4533
|
*
|
|
4534
4534
|
* @public
|
|
4535
4535
|
*/
|
|
4536
|
-
declare const InstalledPackageManager: Schema.Union<readonly [typeof AmbientPackageManager, typeof CachedPackageManager]>;
|
|
4536
|
+
export declare const InstalledPackageManager: Schema.Union<readonly [typeof AmbientPackageManager, typeof CachedPackageManager]>;
|
|
4537
4537
|
/**
|
|
4538
4538
|
* The decoded type of {@link (InstalledPackageManager:variable)}:
|
|
4539
4539
|
* {@link AmbientPackageManager} `|` {@link CachedPackageManager}.
|
|
4540
4540
|
*
|
|
4541
4541
|
* @public
|
|
4542
4542
|
*/
|
|
4543
|
-
type InstalledPackageManager = typeof InstalledPackageManager.Type;
|
|
4543
|
+
export type InstalledPackageManager = typeof InstalledPackageManager.Type;
|
|
4544
4544
|
/**
|
|
4545
4545
|
* The {@link PackageManagerInstaller} service shape.
|
|
4546
4546
|
*
|
|
@@ -4593,7 +4593,7 @@ declare const PackageManagerInstaller_base: Context.ServiceClass<PackageManagerI
|
|
|
4593
4593
|
*
|
|
4594
4594
|
* @public
|
|
4595
4595
|
*/
|
|
4596
|
-
declare class PackageManagerInstaller extends PackageManagerInstaller_base {
|
|
4596
|
+
export declare class PackageManagerInstaller extends PackageManagerInstaller_base {
|
|
4597
4597
|
static readonly layer: Layer.Layer<PackageManagerInstaller, never, ActionEnvironment | FileSystem.FileSystem | Path.Path | ChildProcessSpawner.ChildProcessSpawner | ToolInstaller>;
|
|
4598
4598
|
/** A test double. The unstubbed member dies rather than reporting an install that did not happen. */
|
|
4599
4599
|
static readonly makeTest: (overrides?: Partial<PackageManagerInstallerShape>) => PackageManagerInstallerShape;
|
|
@@ -4649,7 +4649,7 @@ declare class PackageManagerInstaller extends PackageManagerInstaller_base {
|
|
|
4649
4649
|
*
|
|
4650
4650
|
* @public
|
|
4651
4651
|
*/
|
|
4652
|
-
declare class Secret {
|
|
4652
|
+
export declare class Secret {
|
|
4653
4653
|
private constructor();
|
|
4654
4654
|
/**
|
|
4655
4655
|
* Declassify a set of secrets for a child process's environment.
|
|
@@ -4791,5 +4791,5 @@ declare class Secret {
|
|
|
4791
4791
|
static readonly adopt: (name: string) => Config.Config<Redacted.Redacted<string>>;
|
|
4792
4792
|
}
|
|
4793
4793
|
//#endregion
|
|
4794
|
-
export {
|
|
4794
|
+
export type { ActionCacheShape, ActionEnvironmentShape, ActionLoggerShape, ActionOutputError, ActionOutputsShape, ActionRunOptions, ActionServices, ActionStateShape, AnnotationProperties, ArtifactItem, ArtifactRef, ArtifactShape, BlobEnvelopeError, BlobStoreShape, CacheKeyError, CheckDocumentOptions, CheckDocumentShape, CheckDocumentSink, CheckFlushOutcome, CheckRunConclusion, CheckRunProjection, ClientLayerOptions, DataBlobTransfer, DetachedProcessError, DetachedProcessOps, DetachedSpawnOptions, DownloadOptions, DownloadResult, DryRunShape, ExtractOptions, FileBlobTransfer, GitHubHeadingDepth, GitHubListOptions, GitHubRowSchema, GitHubSchemaTable, GitHubSchemaTableColumn, GitHubSchemaTableColumns, GitHubSchemaTableFormatRequiredKeys, GitHubSchemaTableFormattedColumn, GitHubSchemaTableOptions, ManagedDocumentSource, OidcTokenIssuerShape, PackageManagerInstallOptions, PackageManagerInstallerShape, PairsOptions, PathPrependEnv, PathPrependOptions, ProvisionFileOptions, ProvisionOptions, ProvisionedFile, ReadOptions, ReadinessOptions, S3Config, StoredBlob, ToolDownloadOptions, ToolInstallerShape, UploadOptions, UploadResult, WithBufferOptions, WithStepOptions };
|
|
4795
4795
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effected/github-actions",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The GitHub Actions runtime: env, inputs, outputs, state, logging, cache, artifacts, blob storage, OIDC and the token bridge.",
|
|
6
6
|
"keywords": [
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@azure/storage-blob": "^12.33.0",
|
|
42
|
-
"@effected/github": "^0.
|
|
43
|
-
"@effected/glob": "^0.
|
|
44
|
-
"@effected/markdown": "^0.
|
|
45
|
-
"@effected/npm": "^0.
|
|
46
|
-
"@effected/sbom": "^0.
|
|
47
|
-
"@effected/templates": "^0.
|
|
42
|
+
"@effected/github": "^0.9.0",
|
|
43
|
+
"@effected/glob": "^0.5.0",
|
|
44
|
+
"@effected/markdown": "^0.9.0",
|
|
45
|
+
"@effected/npm": "^0.13.0",
|
|
46
|
+
"@effected/sbom": "^0.5.0",
|
|
47
|
+
"@effected/templates": "^0.5.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@effect/platform-node": "4.0.0-rc.
|
|
51
|
-
"effect": "4.0.0-rc.
|
|
50
|
+
"@effect/platform-node": "4.0.0-rc.112",
|
|
51
|
+
"effect": "4.0.0-rc.112"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">=24.11.0"
|