@camstack/addon-training 0.1.102 → 0.1.103
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 +6 -0
- package/dist/_stub.js +5328 -5327
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-p2vBd39W.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-T_zCH7zZ.mjs} +3 -3
- package/dist/{dist-u3tq3l-n.mjs → dist-BfxOw6-O.mjs} +12 -0
- package/dist/{dist-CNkCexYe.js → dist-Cq0HT75H.js} +12 -0
- package/dist/{hostInit-CvBrePIu.mjs → hostInit-DRiiL3Ka.mjs} +2 -2
- package/dist/index.js +1 -1
- package/dist/orchestrator/training.addon.js +1 -1
- package/dist/orchestrator/training.addon.mjs +1 -1
- package/dist/providers/modal/training-modal.addon.js +1 -1
- package/dist/providers/modal/training-modal.addon.mjs +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-B2ShwDvL.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-Bg8j40fX.mjs} +390 -399
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-
|
|
1
|
+
import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-Bg8j40fX.mjs";
|
|
2
2
|
//#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_training_page
|
|
3
3
|
var e = {
|
|
4
4
|
"@camstack/sdk": {
|
|
@@ -18,7 +18,7 @@ var e = {
|
|
|
18
18
|
},
|
|
19
19
|
"@camstack/types": {
|
|
20
20
|
name: "@camstack/types",
|
|
21
|
-
version: "1.2.
|
|
21
|
+
version: "1.2.440",
|
|
22
22
|
scope: ["default"],
|
|
23
23
|
loaded: !1,
|
|
24
24
|
from: "addon_training_page",
|
|
@@ -33,7 +33,7 @@ var e = {
|
|
|
33
33
|
},
|
|
34
34
|
"@camstack/ui-library": {
|
|
35
35
|
name: "@camstack/ui-library",
|
|
36
|
-
version: "1.2.
|
|
36
|
+
version: "1.2.347",
|
|
37
37
|
scope: ["default"],
|
|
38
38
|
loaded: !1,
|
|
39
39
|
from: "addon_training_page",
|
|
@@ -16595,9 +16595,21 @@ var AlertSeveritySchema = _enum([
|
|
|
16595
16595
|
"error",
|
|
16596
16596
|
"critical"
|
|
16597
16597
|
]);
|
|
16598
|
+
/**
|
|
16599
|
+
* An action that RUNS something instead of going somewhere: the admin UI calls
|
|
16600
|
+
* the addon's custom action (`addons.custom`) with exactly these fields. The
|
|
16601
|
+
* producer owns the meaning; the UI knows nothing about the addon or the kind.
|
|
16602
|
+
*/
|
|
16603
|
+
var AlertActionInvokeSchema = object({
|
|
16604
|
+
addonId: string().min(1),
|
|
16605
|
+
action: string().min(1),
|
|
16606
|
+
input: record(string(), unknown()).optional()
|
|
16607
|
+
});
|
|
16608
|
+
/** An action has `href` (a link) OR `invoke` (a button that runs a custom action). */
|
|
16598
16609
|
var AlertActionSchema = object({
|
|
16599
16610
|
label: string(),
|
|
16600
16611
|
href: string().optional(),
|
|
16612
|
+
invoke: AlertActionInvokeSchema.optional(),
|
|
16601
16613
|
/**
|
|
16602
16614
|
* How `href` is followed. Absent / `app`: an admin-ui route (client-side).
|
|
16603
16615
|
* `server`: a route the HUB serves (an addon HTTP route such as an OAuth
|
|
@@ -16628,9 +16628,21 @@ var AlertSeveritySchema = _enum([
|
|
|
16628
16628
|
"error",
|
|
16629
16629
|
"critical"
|
|
16630
16630
|
]);
|
|
16631
|
+
/**
|
|
16632
|
+
* An action that RUNS something instead of going somewhere: the admin UI calls
|
|
16633
|
+
* the addon's custom action (`addons.custom`) with exactly these fields. The
|
|
16634
|
+
* producer owns the meaning; the UI knows nothing about the addon or the kind.
|
|
16635
|
+
*/
|
|
16636
|
+
var AlertActionInvokeSchema = object({
|
|
16637
|
+
addonId: string().min(1),
|
|
16638
|
+
action: string().min(1),
|
|
16639
|
+
input: record(string(), unknown()).optional()
|
|
16640
|
+
});
|
|
16641
|
+
/** An action has `href` (a link) OR `invoke` (a button that runs a custom action). */
|
|
16631
16642
|
var AlertActionSchema = object({
|
|
16632
16643
|
label: string(),
|
|
16633
16644
|
href: string().optional(),
|
|
16645
|
+
invoke: AlertActionInvokeSchema.optional(),
|
|
16634
16646
|
/**
|
|
16635
16647
|
* How `href` is followed. Absent / `app`: an admin-ui route (client-side).
|
|
16636
16648
|
* `server`: a route the HUB serves (an addon HTTP route such as an OAuth
|
|
@@ -36,7 +36,7 @@ async function r() {
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"@camstack/types": {
|
|
39
|
-
version: "1.2.
|
|
39
|
+
version: "1.2.440",
|
|
40
40
|
scope: "default",
|
|
41
41
|
shareConfig: {
|
|
42
42
|
singleton: !0,
|
|
@@ -81,7 +81,7 @@ async function r() {
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
"@camstack/ui-library": {
|
|
84
|
-
version: "1.2.
|
|
84
|
+
version: "1.2.347",
|
|
85
85
|
scope: "default",
|
|
86
86
|
shareConfig: {
|
|
87
87
|
singleton: !0,
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./dist-
|
|
2
|
+
require("./dist-Cq0HT75H.js");
|
|
3
3
|
const require_orchestrator_training_addon = require("./orchestrator/training.addon.js");
|
|
4
4
|
const require_providers_modal_training_modal_addon = require("./providers/modal/training-modal.addon.js");
|
|
5
5
|
//#region src/providers/fake/fake-provider.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_dist = require("../dist-
|
|
2
|
+
const require_dist = require("../dist-Cq0HT75H.js");
|
|
3
3
|
let node_path = require("node:path");
|
|
4
4
|
node_path = require_dist.__toESM(node_path);
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as addonPagesSourceCapability, i as TrainingResultSchema, l as BaseAddon, m as defineRecordKinds, n as TrainingJobSchema, o as parseTrainingEventLine, r as TrainingJobSpecSchema, s as trainingCapability, t as TRAINING_JOB_SCHEMA, u as RECORD_MAX_DATA_BYTES } from "../dist-
|
|
1
|
+
import { a as addonPagesSourceCapability, i as TrainingResultSchema, l as BaseAddon, m as defineRecordKinds, n as TrainingJobSchema, o as parseTrainingEventLine, r as TrainingJobSpecSchema, s as trainingCapability, t as TRAINING_JOB_SCHEMA, u as RECORD_MAX_DATA_BYTES } from "../dist-BfxOw6-O.mjs";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import { createHash } from "node:crypto";
|
|
4
4
|
import { createReadStream } from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_dist = require("../../dist-
|
|
2
|
+
const require_dist = require("../../dist-Cq0HT75H.js");
|
|
3
3
|
let node_path = require("node:path");
|
|
4
4
|
node_path = require_dist.__toESM(node_path, 1);
|
|
5
5
|
let node_crypto = require("node:crypto");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as record, S as object, _ as isSecretClear, b as boolean, c as trainingProviderCapability, d as SECRET_CLEAR, f as arrayItemFieldPath, g as globalSecretScope, h as entryBody, l as BaseAddon, p as defineEntryKind, v as isSecretMarker, w as string, x as number, y as toSecretFieldView } from "../../dist-
|
|
1
|
+
import { C as record, S as object, _ as isSecretClear, b as boolean, c as trainingProviderCapability, d as SECRET_CLEAR, f as arrayItemFieldPath, g as globalSecretScope, h as entryBody, l as BaseAddon, p as defineEntryKind, v as isSecretMarker, w as string, x as number, y as toSecretFieldView } from "../../dist-BfxOw6-O.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import path, { dirname, posix } from "node:path";
|
|
4
4
|
import { createHash, createPrivateKey, createPublicKey, createSign, randomBytes, randomUUID } from "node:crypto";
|
package/dist/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-
|
|
1
|
+
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-Bg8j40fX.mjs";
|
|
2
2
|
export { t as get, e as init };
|