@le-space/shared-types 0.1.31 → 0.1.33
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/index.d.ts +20 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -237,6 +237,25 @@ interface AlephInstanceContent {
|
|
|
237
237
|
size_mib: number;
|
|
238
238
|
};
|
|
239
239
|
}
|
|
240
|
+
interface DeploymentIntent {
|
|
241
|
+
ownerAddress: string;
|
|
242
|
+
messageTime: number;
|
|
243
|
+
itemHash: string;
|
|
244
|
+
paymentType: string;
|
|
245
|
+
rootfsRef: string;
|
|
246
|
+
rootfsSizeMiB: number;
|
|
247
|
+
computeUnits: number;
|
|
248
|
+
vcpus: number;
|
|
249
|
+
memoryMiB: number;
|
|
250
|
+
crnHash: string | null;
|
|
251
|
+
channel: string;
|
|
252
|
+
expiresAt: number;
|
|
253
|
+
maxCost: string;
|
|
254
|
+
}
|
|
255
|
+
interface DeploymentIntentEnvelope {
|
|
256
|
+
intent: DeploymentIntent;
|
|
257
|
+
intentHash: string;
|
|
258
|
+
}
|
|
240
259
|
interface MessageInspectionResult {
|
|
241
260
|
status: 'processed' | 'pending' | 'rejected' | 'unknown';
|
|
242
261
|
errorCode: number | null;
|
|
@@ -249,4 +268,4 @@ interface DeploymentInspectionResult extends MessageInspectionResult {
|
|
|
249
268
|
type MessageSigner = (sender: string, payload: string) => Promise<string>;
|
|
250
269
|
type MessageHasher = (payload: string) => Promise<string> | string;
|
|
251
270
|
|
|
252
|
-
export type { AlephAggregateContent, AlephBroadcastMessage, AlephBroadcastResponse, AlephInstanceContent, AlephMessageType, AlephSenderChain, CrnRecord, CrnSystemUsage, DeploymentInspectionResult, DeploymentResult, GatewayProbeStatus, InstanceAllocation, InstanceAllocationNode, InstanceAllocationPeriod, InstanceExecution, InstanceExecutionNetworking, InstanceExecutionStatus, InstanceRuntimeDetails, InstanceWebAccess, MessageHasher, MessageInspectionResult, MessageReference, MessageSigner, MessageStatus, PortForwardAggregate, PortForwardAggregateEntry, PortForwardFlags, PortMapping, ReferenceStatus, RootfsInstallStrategy, RootfsManifest, RootfsManifestState, RootfsRequiredPortForward, RootfsResolution, RuntimeDiagnostics, RuntimeMetadata };
|
|
271
|
+
export type { AlephAggregateContent, AlephBroadcastMessage, AlephBroadcastResponse, AlephInstanceContent, AlephMessageType, AlephSenderChain, CrnRecord, CrnSystemUsage, DeploymentInspectionResult, DeploymentIntent, DeploymentIntentEnvelope, DeploymentResult, GatewayProbeStatus, InstanceAllocation, InstanceAllocationNode, InstanceAllocationPeriod, InstanceExecution, InstanceExecutionNetworking, InstanceExecutionStatus, InstanceRuntimeDetails, InstanceWebAccess, MessageHasher, MessageInspectionResult, MessageReference, MessageSigner, MessageStatus, PortForwardAggregate, PortForwardAggregateEntry, PortForwardFlags, PortMapping, ReferenceStatus, RootfsInstallStrategy, RootfsManifest, RootfsManifestState, RootfsRequiredPortForward, RootfsResolution, RuntimeDiagnostics, RuntimeMetadata };
|