@helmr/sdk 0.1.0-preview.g02e24af0.b35435419086
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/LICENSE +190 -0
- package/README.md +65 -0
- package/dist/actor.d.ts +3 -0
- package/dist/builder.d.ts +18 -0
- package/dist/client-actor.d.ts +32 -0
- package/dist/client-deployment.d.ts +30 -0
- package/dist/client-sandbox.d.ts +26 -0
- package/dist/client-schedule.d.ts +44 -0
- package/dist/client-secret.d.ts +51 -0
- package/dist/client-session.d.ts +38 -0
- package/dist/client-workspace.d.ts +36 -0
- package/dist/client.d.ts +153 -0
- package/dist/config.d.ts +24 -0
- package/dist/contract.d.ts +341 -0
- package/dist/definitions.d.ts +42 -0
- package/dist/fuzzy.d.ts +1 -0
- package/dist/fuzzy.js +29 -0
- package/dist/image.d.ts +63 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.js +3124 -0
- package/dist/internal/abort.d.ts +1 -0
- package/dist/internal/definition-query.d.ts +10 -0
- package/dist/internal/id.d.ts +1 -0
- package/dist/internal/jsoncanon.d.ts +5 -0
- package/dist/internal/origin.d.ts +1 -0
- package/dist/internal/program.d.ts +10 -0
- package/dist/internal/run-failure.d.ts +2 -0
- package/dist/internal/run-handle.d.ts +3 -0
- package/dist/internal/runtime.d.ts +43 -0
- package/dist/internal/session.d.ts +5 -0
- package/dist/internal/strings.d.ts +1 -0
- package/dist/internal/timestamp.d.ts +1 -0
- package/dist/internal/utf8.d.ts +3 -0
- package/dist/internal.d.ts +14 -0
- package/dist/internal.js +1089 -0
- package/dist/logger.d.ts +9 -0
- package/dist/metadata.d.ts +6 -0
- package/dist/request.d.ts +3 -0
- package/dist/schedules.d.ts +33 -0
- package/dist/schema/payload.d.ts +39 -0
- package/dist/schema/task.d.ts +3 -0
- package/dist/secret.d.ts +1 -0
- package/dist/session.d.ts +5 -0
- package/dist/task.d.ts +2 -0
- package/dist/timers.d.ts +6 -0
- package/dist/tokens.d.ts +77 -0
- package/dist/workspace.d.ts +142 -0
- package/package.json +49 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { actor } from "./actor.js";
|
|
2
|
+
export { sessions } from "./session.js";
|
|
3
|
+
export { HelmrClient } from "./client.js";
|
|
4
|
+
export { image, source } from "./image.js";
|
|
5
|
+
export { builder } from "./builder.js";
|
|
6
|
+
export { logger } from "./logger.js";
|
|
7
|
+
export { metadata } from "./metadata.js";
|
|
8
|
+
export { defineConfig } from "./config.js";
|
|
9
|
+
export { schedules } from "./schedules.js";
|
|
10
|
+
export { queue, task } from "./task.js";
|
|
11
|
+
export { timers } from "./timers.js";
|
|
12
|
+
export { tokens } from "./tokens.js";
|
|
13
|
+
export { sandbox, workspaces } from "./workspace.js";
|
|
14
|
+
export type { ActorInfo, ActorListItem, ActorListQuery, ActorPage, ActorRetrieveQuery, ActorStartRequest, } from "./client-actor.js";
|
|
15
|
+
export type { ClientSessionRef, SessionListQuery, } from "./client-session.js";
|
|
16
|
+
export type { SandboxInfo, SandboxListItem, SandboxListQuery, SandboxPage, SandboxRetrieveQuery, } from "./client-sandbox.js";
|
|
17
|
+
export type { WorkspaceListItem, WorkspaceListQuery, } from "./client-workspace.js";
|
|
18
|
+
export type { DeploymentListItem, DeploymentListQuery, Deployment, } from "./client-deployment.js";
|
|
19
|
+
export type { ScheduleFailure, ScheduleListQuery, Schedule, ScheduleStatus, } from "./client-schedule.js";
|
|
20
|
+
export type { SecretRef, SecretCreateRequest, SecretListQuery, SecretRevokeRequest, SecretRotateRequest, Secret, SecretStatus, } from "./client-secret.js";
|
|
21
|
+
export type { RunEntrypointKind, RunListQuery, RunLogQuery, RunEventQuery, TaskStartRequest, HelmrClientOptions, TaskInfo, TaskListItem, TaskListQuery, TaskPage, TaskRetrieveQuery, RunEventRecord, RunListItem, RunLogRecord, StreamRunLogRecord, StructuredRunLogRecord, TokenCancelRequest, TokenCompleteRequest, } from "./client.js";
|
|
22
|
+
export type { RequestOptions } from "./request.js";
|
|
23
|
+
export type { LogAttributes, RunLogLevel, } from "./logger.js";
|
|
24
|
+
export type { HelmrBuildConfig, HelmrBuildInput, HelmrConfig, HelmrConfigInput, } from "./config.js";
|
|
25
|
+
export type { Builder, BuilderStep } from "./builder.js";
|
|
26
|
+
export type { SessionClosedError, APIError, ActorConfig, Actor, ActorContext, ActorSession, ActorSessionInput, ActorSessionOutput, ActorSessionOutputAppendOptions, ActorSessionOutputSequenceOptions, ActorSessionInputResult, ActorSessionReceiveOptions, ActorSessionReceive, SessionInputMetadata, SessionInputPage, SessionInputQuery, SessionInputRecord, SessionInputSendRequest, SessionInputSource, SessionFailure, SessionFailureCode, SessionStatus, SessionCloseRequest, SessionCloseReceipt, SessionOutputRecord, SessionOutputPage, SessionOutputQuery, SessionOutputWriter, SessionRef, ActorStartOptions, ActorStartResult, Session, CursorPage, Duration, HelmrError, JsonValue, MaybePromise, Metadata, PayloadSchema, Queue, QueueConfig, RetryPolicy, RunCause, RunFailure, RunHandle, RunOptions, Run, RunStatus, Serializable, TaskCallOptions, TaskConfig, TaskConfigWithPayload, TaskConfigWithoutPayload, Task, TaskContext, TaskInput, TaskOutput, TaskResult, TaskStartOptions, TaskWait, WaitTimeoutError, } from "./contract.js";
|
|
27
|
+
export type { ImageBuilder, SourceDirectory, SourceFile, } from "./image.js";
|
|
28
|
+
export type { Cron, ScheduledTaskConfig, ScheduledTaskInput, ScheduledTaskPayload, } from "./schedules.js";
|
|
29
|
+
export type { TokenCreateRequest, TokenCreateResult, TokenCancelledError, TokenExpiredError, TokenRef, TokenListItem, TokenListQuery, Token, TokenStatus, TokenWait, TokenWaitError, TokenWaitOptions, TokenWaitResult, } from "./tokens.js";
|
|
30
|
+
export type { SandboxBuilder, SandboxConfig, SandboxResourceBuilder, WorkspaceCreateRequest, WorkspaceDeleteRequest, WorkspaceDeleteReceipt, Sandbox, WorkspaceExecRequest, WorkspaceExecResult, WorkspaceMemory, WorkspaceRef, WorkspaceResources, WorkspaceSecretBinding, Workspace, WorkspaceOwner, WorkspaceStatus, } from "./workspace.js";
|
|
31
|
+
export type { PayloadSchemaInput, PayloadSchemaOutput, StandardSchemaV1, } from "./schema/payload.js";
|