Variable: ExecutionTargetSchemas
Makaio Framework / services-core/execution-target/schemas / ExecutionTargetSchemas
Variable: ExecutionTargetSchemas
Section titled “Variable: ExecutionTargetSchemas”
constExecutionTargetSchemas:object
Defined in: ../../../packages/services/core/src/execution-target/schemas.ts:114
Execution target namespace schemas.
Type Declaration
Section titled “Type Declaration”created
Section titled “created”created:
ZodDiscriminatedUnion<[ZodObject<{createdAt:ZodNumber;description:ZodOptional<ZodString>;enabled:ZodBoolean;id:ZodString;name:ZodString;scope:ZodString;type:ZodLiteral<"local">;updatedAt:ZodNumber; },$strip>,ZodObject<{busUrl:ZodOptional<ZodString>;createdAt:ZodNumber;description:ZodOptional<ZodString>;enabled:ZodBoolean;env:ZodOptional<ZodRecord<ZodString,ZodString>>;id:ZodString;image:ZodOptional<ZodString>;name:ZodString;scope:ZodString;type:ZodLiteral<"container-local">;updatedAt:ZodNumber; },$strip>,ZodObject<{busMode:ZodEnum<{host:"host";relay:"relay"; }>;createdAt:ZodNumber;description:ZodOptional<ZodString>;enabled:ZodBoolean;env:ZodOptional<ZodRecord<ZodString,ZodString>>;gitCredentialMode:ZodDefault<ZodEnum<{ssh-agent:"ssh-agent";token:"token"; }>>;id:ZodString;image:ZodOptional<ZodString>;name:ZodString;relayUrl:ZodOptional<ZodString>;repoUrl:ZodOptional<ZodString>;scope:ZodString;type:ZodLiteral<"container-isolated">;updatedAt:ZodNumber; },$strip>],"type"> =ExecutionTargetSchema
delete
Section titled “delete”delete:
object
delete.request
Section titled “delete.request”request:
ZodObject<{id:ZodString; },$strip>
delete.response
Section titled “delete.response”response:
ZodObject<{deleted:ZodBoolean; },$strip>
deleted
Section titled “deleted”deleted:
ZodObject<{id:ZodString; },$strip>
get:
object
get.request
Section titled “get.request”request:
ZodObject<{id:ZodString; },$strip>
get.response
Section titled “get.response”response:
ZodObject<{executionTarget:ZodNullable<ZodDiscriminatedUnion<[ZodObject<{createdAt:ZodNumber;description:ZodOptional<ZodString>;enabled:ZodBoolean;id:ZodString;name:ZodString;scope:ZodString;type:ZodLiteral<"local">;updatedAt:ZodNumber; },$strip>,ZodObject<{busUrl:ZodOptional<ZodString>;createdAt:ZodNumber;description:ZodOptional<ZodString>;enabled:ZodBoolean;env:ZodOptional<ZodRecord<…, …>>;id:ZodString;image:ZodOptional<ZodString>;name:ZodString;scope:ZodString;type:ZodLiteral<"container-local">;updatedAt:ZodNumber; },$strip>,ZodObject<{busMode:ZodEnum<{host: …;relay: …; }>;createdAt:ZodNumber;description:ZodOptional<ZodString>;enabled:ZodBoolean;env:ZodOptional<ZodRecord<…, …>>;gitCredentialMode:ZodDefault<ZodEnum<…>>;id:ZodString;image:ZodOptional<ZodString>;name:ZodString;relayUrl:ZodOptional<ZodString>;repoUrl:ZodOptional<ZodString>;scope:ZodString;type:ZodLiteral<"container-isolated">;updatedAt:ZodNumber; },$strip>],"type">>; },$strip>
list:
object
list.request
Section titled “list.request”request:
ZodObject<{scope:ZodOptional<ZodString>;type:ZodOptional<ZodEnum<{container-isolated:"container-isolated";container-local:"container-local";local:"local"; }>>; },$strip> =ExecutionTargetListQuerySchema
list.response
Section titled “list.response”response:
ZodObject<{executionTargets:ZodArray<ZodDiscriminatedUnion<[ZodObject<{createdAt:ZodNumber;description:ZodOptional<ZodString>;enabled:ZodBoolean;id:ZodString;name:ZodString;scope:ZodString;type:ZodLiteral<"local">;updatedAt:ZodNumber; },$strip>,ZodObject<{busUrl:ZodOptional<ZodString>;createdAt:ZodNumber;description:ZodOptional<ZodString>;enabled:ZodBoolean;env:ZodOptional<ZodRecord<…, …>>;id:ZodString;image:ZodOptional<ZodString>;name:ZodString;scope:ZodString;type:ZodLiteral<"container-local">;updatedAt:ZodNumber; },$strip>,ZodObject<{busMode:ZodEnum<{host: …;relay: …; }>;createdAt:ZodNumber;description:ZodOptional<ZodString>;enabled:ZodBoolean;env:ZodOptional<ZodRecord<…, …>>;gitCredentialMode:ZodDefault<ZodEnum<…>>;id:ZodString;image:ZodOptional<ZodString>;name:ZodString;relayUrl:ZodOptional<ZodString>;repoUrl:ZodOptional<ZodString>;scope:ZodString;type:ZodLiteral<"container-isolated">;updatedAt:ZodNumber; },$strip>],"type">>; },$strip>
resolve
Section titled “resolve”resolve:
object
resolve.request
Section titled “resolve.request”request:
ZodObject<{executionTargetId:ZodOptional<ZodString>;projectId:ZodOptional<ZodString>;workstreamId:ZodOptional<ZodString>; },$strip> =ExecutionTargetResolveRequestSchema
resolve.response
Section titled “resolve.response”response:
ZodObject<{executionTarget:ZodDiscriminatedUnion<[ZodObject<{createdAt:ZodNumber;description:ZodOptional<ZodString>;enabled:ZodBoolean;id:ZodString;name:ZodString;scope:ZodString;type:ZodLiteral<"local">;updatedAt:ZodNumber; },$strip>,ZodObject<{busUrl:ZodOptional<ZodString>;createdAt:ZodNumber;description:ZodOptional<ZodString>;enabled:ZodBoolean;env:ZodOptional<ZodRecord<ZodString,ZodString>>;id:ZodString;image:ZodOptional<ZodString>;name:ZodString;scope:ZodString;type:ZodLiteral<"container-local">;updatedAt:ZodNumber; },$strip>,ZodObject<{busMode:ZodEnum<{host:"host";relay:"relay"; }>;createdAt:ZodNumber;description:ZodOptional<ZodString>;enabled:ZodBoolean;env:ZodOptional<ZodRecord<ZodString,ZodString>>;gitCredentialMode:ZodDefault<ZodEnum<{ssh-agent: …;token: …; }>>;id:ZodString;image:ZodOptional<ZodString>;name:ZodString;relayUrl:ZodOptional<ZodString>;repoUrl:ZodOptional<ZodString>;scope:ZodString;type:ZodLiteral<"container-isolated">;updatedAt:ZodNumber; },$strip>],"type">; },$strip>
set:
object
set.request
Section titled “set.request”request:
ZodObject<{executionTarget:ZodDiscriminatedUnion<[ZodObject<{description:ZodOptional<ZodString>;enabled:ZodBoolean;id:ZodString;name:ZodString;scope:ZodString;type:ZodLiteral<"local">; },$strip>,ZodObject<{busUrl:ZodOptional<ZodString>;description:ZodOptional<ZodString>;enabled:ZodBoolean;env:ZodOptional<ZodRecord<ZodString,ZodString>>;id:ZodString;image:ZodOptional<ZodString>;name:ZodString;scope:ZodString;type:ZodLiteral<"container-local">; },$strip>,ZodObject<{busMode:ZodEnum<{host:"host";relay:"relay"; }>;description:ZodOptional<ZodString>;enabled:ZodBoolean;env:ZodOptional<ZodRecord<ZodString,ZodString>>;gitCredentialMode:ZodDefault<ZodEnum<{ssh-agent: …;token: …; }>>;id:ZodString;image:ZodOptional<ZodString>;name:ZodString;relayUrl:ZodOptional<ZodString>;repoUrl:ZodOptional<ZodString>;scope:ZodString;type:ZodLiteral<"container-isolated">; },$strip>],"type">; },$strip>
set.response
Section titled “set.response”response:
ZodObject<{id:ZodString; },$strip>
updated
Section titled “updated”updated:
ZodDiscriminatedUnion<[ZodObject<{createdAt:ZodNumber;description:ZodOptional<ZodString>;enabled:ZodBoolean;id:ZodString;name:ZodString;scope:ZodString;type:ZodLiteral<"local">;updatedAt:ZodNumber; },$strip>,ZodObject<{busUrl:ZodOptional<ZodString>;createdAt:ZodNumber;description:ZodOptional<ZodString>;enabled:ZodBoolean;env:ZodOptional<ZodRecord<ZodString,ZodString>>;id:ZodString;image:ZodOptional<ZodString>;name:ZodString;scope:ZodString;type:ZodLiteral<"container-local">;updatedAt:ZodNumber; },$strip>,ZodObject<{busMode:ZodEnum<{host:"host";relay:"relay"; }>;createdAt:ZodNumber;description:ZodOptional<ZodString>;enabled:ZodBoolean;env:ZodOptional<ZodRecord<ZodString,ZodString>>;gitCredentialMode:ZodDefault<ZodEnum<{ssh-agent:"ssh-agent";token:"token"; }>>;id:ZodString;image:ZodOptional<ZodString>;name:ZodString;relayUrl:ZodOptional<ZodString>;repoUrl:ZodOptional<ZodString>;scope:ZodString;type:ZodLiteral<"container-isolated">;updatedAt:ZodNumber; },$strip>],"type"> =ExecutionTargetSchema