@walkeros/core 4.2.1 → 4.2.2-next-1782892388850
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/CHANGELOG.md +2 -0
- package/dist/dev.d.mts +8 -5
- package/dist/dev.d.ts +8 -5
- package/dist/dev.js +1 -1
- package/dist/dev.js.map +1 -1
- package/dist/dev.mjs +1 -1
- package/dist/dev.mjs.map +1 -1
- package/dist/index.d.mts +11 -6
- package/dist/index.d.ts +11 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -691,7 +691,9 @@ declare namespace context {
|
|
|
691
691
|
/**
|
|
692
692
|
* Shared credentials types for steps that authenticate against an external
|
|
693
693
|
* service. A step's `Types['credentials']` points at one of these (or its own
|
|
694
|
-
* shape)
|
|
694
|
+
* shape). The value resolves like any other config field; back it with a
|
|
695
|
+
* managed secret via `$secret.NAME` (credentials, tokens, and private keys
|
|
696
|
+
* must use `$secret`, not `$env`, so the deploy pipeline injects them).
|
|
695
697
|
*/
|
|
696
698
|
/**
|
|
697
699
|
* Google-style service account credentials. The common shape for GCP-family
|
|
@@ -704,8 +706,8 @@ interface ServiceAccount {
|
|
|
704
706
|
project_id?: string;
|
|
705
707
|
}
|
|
706
708
|
/**
|
|
707
|
-
* A credential value: either a JSON string (often a `$
|
|
708
|
-
* already-parsed object form `T`.
|
|
709
|
+
* A credential value: either a JSON string (often a `$secret.NAME` reference to
|
|
710
|
+
* a managed secret) or the already-parsed object form `T`.
|
|
709
711
|
*/
|
|
710
712
|
type Credential<T> = string | T;
|
|
711
713
|
|
|
@@ -836,7 +838,8 @@ interface Config$5<T extends TypesGeneric$3 = Types$4> {
|
|
|
836
838
|
/** Implementation-specific configuration passed to the init function. */
|
|
837
839
|
settings?: InitSettings$3<T>;
|
|
838
840
|
/**
|
|
839
|
-
* Optional, strictly-typed credentials slot
|
|
841
|
+
* Optional, strictly-typed credentials slot. Back it with a managed secret
|
|
842
|
+
* via `$secret.NAME` (credentials use `$secret`, not `$env`). The package
|
|
840
843
|
* defines the shape via `Types['credentials']`. `settings.<sdk>` stays the
|
|
841
844
|
* escape hatch for raw SDK options.
|
|
842
845
|
*/
|
|
@@ -2446,7 +2449,8 @@ interface Config$1<T extends TypesGeneric$1 = Types$1> extends Config$7<Mapping<
|
|
|
2446
2449
|
/** Implementation-specific configuration passed to the init function. */
|
|
2447
2450
|
settings?: InitSettings$1<T>;
|
|
2448
2451
|
/**
|
|
2449
|
-
* Optional, strictly-typed credentials slot
|
|
2452
|
+
* Optional, strictly-typed credentials slot. Back it with a managed secret
|
|
2453
|
+
* via `$secret.NAME` (credentials use `$secret`, not `$env`). The package
|
|
2450
2454
|
* defines the shape via `Types['credentials']`. `settings.<sdk>` stays the
|
|
2451
2455
|
* escape hatch for raw SDK options.
|
|
2452
2456
|
*/
|
|
@@ -2664,7 +2668,8 @@ type TypesOf<I> = I extends Instance$1<infer T> ? T : never;
|
|
|
2664
2668
|
interface Config<T extends TypesGeneric = Types> {
|
|
2665
2669
|
settings?: InitSettings<T>;
|
|
2666
2670
|
/**
|
|
2667
|
-
* Optional, strictly-typed credentials slot
|
|
2671
|
+
* Optional, strictly-typed credentials slot. Back it with a managed secret
|
|
2672
|
+
* via `$secret.NAME` (credentials use `$secret`, not `$env`). The package
|
|
2668
2673
|
* defines the shape via `Types['credentials']`. `settings.<sdk>` stays the
|
|
2669
2674
|
* escape hatch for raw SDK options.
|
|
2670
2675
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -691,7 +691,9 @@ declare namespace context {
|
|
|
691
691
|
/**
|
|
692
692
|
* Shared credentials types for steps that authenticate against an external
|
|
693
693
|
* service. A step's `Types['credentials']` points at one of these (or its own
|
|
694
|
-
* shape)
|
|
694
|
+
* shape). The value resolves like any other config field; back it with a
|
|
695
|
+
* managed secret via `$secret.NAME` (credentials, tokens, and private keys
|
|
696
|
+
* must use `$secret`, not `$env`, so the deploy pipeline injects them).
|
|
695
697
|
*/
|
|
696
698
|
/**
|
|
697
699
|
* Google-style service account credentials. The common shape for GCP-family
|
|
@@ -704,8 +706,8 @@ interface ServiceAccount {
|
|
|
704
706
|
project_id?: string;
|
|
705
707
|
}
|
|
706
708
|
/**
|
|
707
|
-
* A credential value: either a JSON string (often a `$
|
|
708
|
-
* already-parsed object form `T`.
|
|
709
|
+
* A credential value: either a JSON string (often a `$secret.NAME` reference to
|
|
710
|
+
* a managed secret) or the already-parsed object form `T`.
|
|
709
711
|
*/
|
|
710
712
|
type Credential<T> = string | T;
|
|
711
713
|
|
|
@@ -836,7 +838,8 @@ interface Config$5<T extends TypesGeneric$3 = Types$4> {
|
|
|
836
838
|
/** Implementation-specific configuration passed to the init function. */
|
|
837
839
|
settings?: InitSettings$3<T>;
|
|
838
840
|
/**
|
|
839
|
-
* Optional, strictly-typed credentials slot
|
|
841
|
+
* Optional, strictly-typed credentials slot. Back it with a managed secret
|
|
842
|
+
* via `$secret.NAME` (credentials use `$secret`, not `$env`). The package
|
|
840
843
|
* defines the shape via `Types['credentials']`. `settings.<sdk>` stays the
|
|
841
844
|
* escape hatch for raw SDK options.
|
|
842
845
|
*/
|
|
@@ -2446,7 +2449,8 @@ interface Config$1<T extends TypesGeneric$1 = Types$1> extends Config$7<Mapping<
|
|
|
2446
2449
|
/** Implementation-specific configuration passed to the init function. */
|
|
2447
2450
|
settings?: InitSettings$1<T>;
|
|
2448
2451
|
/**
|
|
2449
|
-
* Optional, strictly-typed credentials slot
|
|
2452
|
+
* Optional, strictly-typed credentials slot. Back it with a managed secret
|
|
2453
|
+
* via `$secret.NAME` (credentials use `$secret`, not `$env`). The package
|
|
2450
2454
|
* defines the shape via `Types['credentials']`. `settings.<sdk>` stays the
|
|
2451
2455
|
* escape hatch for raw SDK options.
|
|
2452
2456
|
*/
|
|
@@ -2664,7 +2668,8 @@ type TypesOf<I> = I extends Instance$1<infer T> ? T : never;
|
|
|
2664
2668
|
interface Config<T extends TypesGeneric = Types> {
|
|
2665
2669
|
settings?: InitSettings<T>;
|
|
2666
2670
|
/**
|
|
2667
|
-
* Optional, strictly-typed credentials slot
|
|
2671
|
+
* Optional, strictly-typed credentials slot. Back it with a managed secret
|
|
2672
|
+
* via `$secret.NAME` (credentials use `$secret`, not `$env`). The package
|
|
2668
2673
|
* defines the shape via `Types['credentials']`. `settings.<sdk>` stays the
|
|
2669
2674
|
* escape hatch for raw SDK options.
|
|
2670
2675
|
*/
|