@norskvideo/norsk-manager-sdk 1.0.402-2025-05-31-f3c7c38f → 1.0.402-2025-06-02-f3c7c38f
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/norsk-manager-sdk.d.ts +21 -1
- package/package.json +2 -2
|
@@ -426,6 +426,12 @@ export declare type Log = {
|
|
|
426
426
|
/** @public */
|
|
427
427
|
export declare type NodeId = string;
|
|
428
428
|
|
|
429
|
+
/**
|
|
430
|
+
* @public
|
|
431
|
+
* State of a node
|
|
432
|
+
*/
|
|
433
|
+
export declare type NodeInfo = NodePending | NodeStarting | NodeRunning | NodeStopping;
|
|
434
|
+
|
|
429
435
|
/** @public */
|
|
430
436
|
export declare type NodeMetadata = {
|
|
431
437
|
nodeId: NodeId;
|
|
@@ -436,6 +442,15 @@ export declare type NodeMetadata = {
|
|
|
436
442
|
providerMetadata: ProviderMetadata;
|
|
437
443
|
};
|
|
438
444
|
|
|
445
|
+
/**
|
|
446
|
+
* @public
|
|
447
|
+
* A node is pending
|
|
448
|
+
*/
|
|
449
|
+
export declare interface NodePending {
|
|
450
|
+
event: "nodePending";
|
|
451
|
+
nodeId: NodeId;
|
|
452
|
+
}
|
|
453
|
+
|
|
439
454
|
/**
|
|
440
455
|
* @public
|
|
441
456
|
* A node is running - used in initial state messages
|
|
@@ -581,6 +596,11 @@ export declare class NorskManager {
|
|
|
581
596
|
* Search for jobs by tag/date/etc. See {@link JobSearchSettings}
|
|
582
597
|
*/
|
|
583
598
|
jobSearch(settings: JobSearchSettings): Promise<CurrentJob[]>;
|
|
599
|
+
/**
|
|
600
|
+
* @public
|
|
601
|
+
* Return a list a all the nodes the manager knows about.
|
|
602
|
+
*/
|
|
603
|
+
listNodes(): Promise<NodeInfo[]>;
|
|
584
604
|
}
|
|
585
605
|
|
|
586
606
|
/**
|
|
@@ -697,7 +717,7 @@ export declare type PortMapping = {
|
|
|
697
717
|
*/
|
|
698
718
|
export declare type ProviderHealth = AwsHealth | OciHealth;
|
|
699
719
|
|
|
700
|
-
|
|
720
|
+
/**;
|
|
701
721
|
* @public
|
|
702
722
|
* The health status of a provider has changed
|
|
703
723
|
* */
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"license": "MIT",
|
|
3
3
|
"name": "@norskvideo/norsk-manager-sdk",
|
|
4
|
-
"version": "1.0.402-2025-
|
|
4
|
+
"version": "1.0.402-2025-06-02-f3c7c38f+nightly",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@bufbuild/protobuf": "^0.3.0",
|
|
7
7
|
"@grpc/grpc-js": "~1.12.0",
|
|
8
|
-
"@norskvideo/norsk-api": "1.0.402-2025-
|
|
8
|
+
"@norskvideo/norsk-api": "1.0.402-2025-06-02-f3c7c38f+nightly",
|
|
9
9
|
"typescript-nullable": "^0.6.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|