@norskvideo/ctl-product-template-schema 0.1.78 → 0.1.80
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/package.json +5 -1
- package/secret-references.d.ts +1 -1
- package/secret-references.js +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@norskvideo/ctl-product-template-schema",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.80",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,6 +44,10 @@
|
|
|
44
44
|
"types": "./secrets/index.d.ts",
|
|
45
45
|
"default": "./secrets/index.js"
|
|
46
46
|
},
|
|
47
|
+
"./secrets/wire": {
|
|
48
|
+
"types": "./secrets/wire.d.ts",
|
|
49
|
+
"default": "./secrets/wire.js"
|
|
50
|
+
},
|
|
47
51
|
"./product-channels": {
|
|
48
52
|
"types": "./product-channels.d.ts",
|
|
49
53
|
"default": "./product-channels.js"
|
package/secret-references.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Result } from "@norskvideo/ctl-foundation";
|
|
1
|
+
import { type Result } from "@norskvideo/ctl-foundation/browser";
|
|
2
2
|
export declare const SECRET_REFERENCE_PREFIX = "secretref:";
|
|
3
3
|
/** The NodeInventory capability a worker advertises when it resolves secret
|
|
4
4
|
* references, so placement can keep a job whose parameters hold one off an
|
package/secret-references.js
CHANGED
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
// a script) and the worker that resolves them. The provider names a resolver
|
|
9
9
|
// configured on the worker; the key is that provider's business and may hold
|
|
10
10
|
// colons, slashes or ciphertext.
|
|
11
|
-
|
|
11
|
+
// The browser entry: the API contract reaches this module (the resolve
|
|
12
|
+
// endpoint's wire schemas), and the contract is loaded by the web UIs.
|
|
13
|
+
import { err, ok } from "@norskvideo/ctl-foundation/browser";
|
|
12
14
|
export const SECRET_REFERENCE_PREFIX = "secretref:";
|
|
13
15
|
/** The NodeInventory capability a worker advertises when it resolves secret
|
|
14
16
|
* references, so placement can keep a job whose parameters hold one off an
|