@start9labs/start-sdk 0.3.6-beta.13 → 0.3.6-beta.15
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/base/lib/exver/exver.d.ts +30 -4
- package/base/lib/exver/exver.js +510 -113
- package/base/lib/exver/exver.js.map +1 -1
- package/base/lib/exver/index.d.ts +77 -3
- package/base/lib/exver/index.js +454 -7
- package/base/lib/exver/index.js.map +1 -1
- package/base/lib/osBindings/Celsius.d.ts +1 -0
- package/base/lib/osBindings/Celsius.js +4 -0
- package/base/lib/osBindings/Celsius.js.map +1 -0
- package/base/lib/osBindings/GigaBytes.d.ts +1 -0
- package/base/lib/osBindings/GigaBytes.js +4 -0
- package/base/lib/osBindings/GigaBytes.js.map +1 -0
- package/base/lib/osBindings/MebiBytes.d.ts +1 -0
- package/base/lib/osBindings/MebiBytes.js +4 -0
- package/base/lib/osBindings/MebiBytes.js.map +1 -0
- package/base/lib/osBindings/Metrics.d.ts +10 -0
- package/base/lib/osBindings/Metrics.js +3 -0
- package/base/lib/osBindings/Metrics.js.map +1 -0
- package/base/lib/osBindings/MetricsCpu.d.ts +8 -0
- package/base/lib/osBindings/MetricsCpu.js +3 -0
- package/base/lib/osBindings/MetricsCpu.js.map +1 -0
- package/base/lib/osBindings/MetricsDisk.d.ts +8 -0
- package/base/lib/osBindings/MetricsDisk.js +3 -0
- package/base/lib/osBindings/MetricsDisk.js.map +1 -0
- package/base/lib/osBindings/MetricsGeneral.d.ts +4 -0
- package/base/lib/osBindings/MetricsGeneral.js +3 -0
- package/base/lib/osBindings/MetricsGeneral.js.map +1 -0
- package/base/lib/osBindings/MetricsMemory.d.ts +11 -0
- package/base/lib/osBindings/MetricsMemory.js +3 -0
- package/base/lib/osBindings/MetricsMemory.js.map +1 -0
- package/base/lib/osBindings/NetworkInfo.d.ts +15 -0
- package/base/lib/osBindings/NetworkInfo.js +3 -0
- package/base/lib/osBindings/NetworkInfo.js.map +1 -0
- package/base/lib/osBindings/NetworkInterfaceSetInboundParams.d.ts +4 -0
- package/base/lib/osBindings/NetworkInterfaceSetInboundParams.js +4 -0
- package/base/lib/osBindings/NetworkInterfaceSetInboundParams.js.map +1 -0
- package/base/lib/osBindings/Percentage.d.ts +1 -0
- package/base/lib/osBindings/Percentage.js +4 -0
- package/base/lib/osBindings/Percentage.js.map +1 -0
- package/base/lib/osBindings/UnsetInboundParams.d.ts +3 -0
- package/base/lib/osBindings/UnsetInboundParams.js +4 -0
- package/base/lib/osBindings/UnsetInboundParams.js.map +1 -0
- package/base/lib/types/ManifestTypes.d.ts +5 -0
- package/base/lib/types.d.ts +0 -4
- package/base/lib/types.js.map +1 -1
- package/base/lib/util/deepMerge.js +1 -4
- package/base/lib/util/deepMerge.js.map +1 -1
- package/package/lib/StartSdk.d.ts +8 -8
- package/package/lib/StartSdk.js +5 -5
- package/package/lib/StartSdk.js.map +1 -1
- package/package/lib/health/HealthCheck.d.ts +15 -2
- package/package/lib/health/HealthCheck.js +98 -38
- package/package/lib/health/HealthCheck.js.map +1 -1
- package/package/lib/health/index.d.ts +1 -0
- package/package/lib/health/index.js +3 -0
- package/package/lib/health/index.js.map +1 -1
- package/package/lib/mainFn/CommandController.d.ts +4 -2
- package/package/lib/mainFn/CommandController.js +19 -13
- package/package/lib/mainFn/CommandController.js.map +1 -1
- package/package/lib/mainFn/Daemon.d.ts +1 -1
- package/package/lib/mainFn/Daemons.d.ts +6 -6
- package/package/lib/mainFn/Daemons.js +25 -19
- package/package/lib/mainFn/Daemons.js.map +1 -1
- package/package/lib/mainFn/HealthDaemon.d.ts +1 -1
- package/package/lib/mainFn/HealthDaemon.js +2 -3
- package/package/lib/mainFn/HealthDaemon.js.map +1 -1
- package/package/lib/mainFn/Mounts.d.ts +1 -1
- package/package/lib/mainFn/Mounts.js +3 -3
- package/package/lib/mainFn/Mounts.js.map +1 -1
- package/package/lib/manifest/setupManifest.js +1 -1
- package/package/lib/manifest/setupManifest.js.map +1 -1
- package/package/lib/test/output.sdk.d.ts +4 -4
- package/package/lib/util/Drop.d.ts +11 -0
- package/package/lib/util/Drop.js +27 -0
- package/package/lib/util/Drop.js.map +1 -0
- package/package/lib/util/SubContainer.d.ts +1 -1
- package/package/lib/util/SubContainer.js +1 -1
- package/package/lib/util/SubContainer.js.map +1 -1
- package/package/lib/util/fileHelper.d.ts +5 -2
- package/package/lib/util/fileHelper.js +49 -14
- package/package/lib/util/fileHelper.js.map +1 -1
- package/package/lib/util/index.d.ts +1 -0
- package/package/lib/util/index.js +3 -1
- package/package/lib/util/index.js.map +1 -1
- package/package/lib/version/VersionGraph.js +8 -4
- package/package/lib/version/VersionGraph.js.map +1 -1
- package/package.json +1 -1
|
@@ -53,13 +53,13 @@ export interface TraceEvent {
|
|
|
53
53
|
}
|
|
54
54
|
export interface ParseOptions {
|
|
55
55
|
filename?: string;
|
|
56
|
-
startRule?: "VersionRange" | "Or" | "And" | "VersionRangeAtom" | "Parens" | "Anchor" | "VersionSpec" | "Not" | "Any" | "None" | "CmpOp" | "ExtendedVersion" | "
|
|
56
|
+
startRule?: "VersionRange" | "Or" | "And" | "VersionRangeAtom" | "Parens" | "Anchor" | "VersionSpec" | "FlavorAtom" | "Not" | "Any" | "None" | "CmpOp" | "ExtendedVersion" | "EmverVersionRange" | "EmverVersionRangeAtom" | "EmverParens" | "EmverAnchor" | "EmverNot" | "Emver" | "Flavor" | "Lowercase" | "String" | "Version" | "PreRelease" | "PreReleaseSegment" | "VersionNumber" | "Digit" | "_";
|
|
57
57
|
tracer?: any;
|
|
58
58
|
[key: string]: any;
|
|
59
59
|
}
|
|
60
60
|
export type ParseFunction = <Options extends ParseOptions>(input: string, options?: Options) => Options extends {
|
|
61
61
|
startRule: infer StartRule;
|
|
62
|
-
} ? StartRule extends "VersionRange" ? VersionRange : StartRule extends "Or" ? Or : StartRule extends "And" ? And : StartRule extends "VersionRangeAtom" ? VersionRangeAtom : StartRule extends "Parens" ? Parens : StartRule extends "Anchor" ? Anchor : StartRule extends "VersionSpec" ? VersionSpec : StartRule extends "Not" ? Not : StartRule extends "Any" ? Any : StartRule extends "None" ? None : StartRule extends "CmpOp" ? CmpOp : StartRule extends "ExtendedVersion" ? ExtendedVersion : StartRule extends "
|
|
62
|
+
} ? StartRule extends "VersionRange" ? VersionRange : StartRule extends "Or" ? Or : StartRule extends "And" ? And : StartRule extends "VersionRangeAtom" ? VersionRangeAtom : StartRule extends "Parens" ? Parens : StartRule extends "Anchor" ? Anchor : StartRule extends "VersionSpec" ? VersionSpec : StartRule extends "FlavorAtom" ? FlavorAtom : StartRule extends "Not" ? Not : StartRule extends "Any" ? Any : StartRule extends "None" ? None : StartRule extends "CmpOp" ? CmpOp : StartRule extends "ExtendedVersion" ? ExtendedVersion : StartRule extends "EmverVersionRange" ? EmverVersionRange : StartRule extends "EmverVersionRangeAtom" ? EmverVersionRangeAtom : StartRule extends "EmverParens" ? EmverParens : StartRule extends "EmverAnchor" ? EmverAnchor : StartRule extends "EmverNot" ? EmverNot : StartRule extends "Emver" ? Emver : StartRule extends "Flavor" ? Flavor : StartRule extends "Lowercase" ? Lowercase_1 : StartRule extends "String" ? String_1 : StartRule extends "Version" ? Version : StartRule extends "PreRelease" ? PreRelease : StartRule extends "PreReleaseSegment" ? PreReleaseSegment : StartRule extends "VersionNumber" ? VersionNumber : StartRule extends "Digit" ? Digit : StartRule extends "_" ? _ : VersionRange : VersionRange;
|
|
63
63
|
export declare const parse: ParseFunction;
|
|
64
64
|
export declare const PeggySyntaxError: typeof _PeggySyntaxError;
|
|
65
65
|
export type PeggySyntaxError = _PeggySyntaxError;
|
|
@@ -73,7 +73,7 @@ export type VersionRange = [
|
|
|
73
73
|
];
|
|
74
74
|
export type Or = "||";
|
|
75
75
|
export type And = "&&";
|
|
76
|
-
export type VersionRangeAtom = Parens | Anchor | Not | Any | None;
|
|
76
|
+
export type VersionRangeAtom = Parens | Anchor | Not | Any | None | FlavorAtom;
|
|
77
77
|
export type Parens = {
|
|
78
78
|
type: "Parens";
|
|
79
79
|
expr: VersionRange;
|
|
@@ -88,6 +88,10 @@ export type VersionSpec = {
|
|
|
88
88
|
upstream: Version;
|
|
89
89
|
downstream: any;
|
|
90
90
|
};
|
|
91
|
+
export type FlavorAtom = {
|
|
92
|
+
type: "Flavor";
|
|
93
|
+
flavor: Lowercase_1;
|
|
94
|
+
};
|
|
91
95
|
export type Not = {
|
|
92
96
|
type: "Not";
|
|
93
97
|
value: VersionRangeAtom;
|
|
@@ -104,7 +108,29 @@ export type ExtendedVersion = {
|
|
|
104
108
|
upstream: Version;
|
|
105
109
|
downstream: Version;
|
|
106
110
|
};
|
|
107
|
-
export type
|
|
111
|
+
export type EmverVersionRange = [
|
|
112
|
+
EmverVersionRangeAtom,
|
|
113
|
+
[
|
|
114
|
+
_,
|
|
115
|
+
[Or | And, _] | null,
|
|
116
|
+
EmverVersionRangeAtom
|
|
117
|
+
][]
|
|
118
|
+
];
|
|
119
|
+
export type EmverVersionRangeAtom = EmverParens | EmverAnchor | EmverNot | Any | None;
|
|
120
|
+
export type EmverParens = {
|
|
121
|
+
type: "Parens";
|
|
122
|
+
expr: EmverVersionRange;
|
|
123
|
+
};
|
|
124
|
+
export type EmverAnchor = {
|
|
125
|
+
type: "Anchor";
|
|
126
|
+
operator: CmpOp | null;
|
|
127
|
+
version: Emver;
|
|
128
|
+
};
|
|
129
|
+
export type EmverNot = {
|
|
130
|
+
type: "Not";
|
|
131
|
+
value: EmverVersionRangeAtom;
|
|
132
|
+
};
|
|
133
|
+
export type Emver = {
|
|
108
134
|
flavor: null;
|
|
109
135
|
upstream: {
|
|
110
136
|
number: [Digit, Digit, Digit];
|