Variable DerivativeStatusSchemaConst
DerivativeStatusSchema: ZodObject<
{
derivedScope: ZodString;
status: ZodEnum<
{
pending: "pending";
failed: "failed";
ready: "ready";
stale: "stale";
},
>;
lastComputedAt: ZodPipe<
ZodOptional<ZodNullable<ZodString>>,
ZodTransform<string | null, string | null | undefined>,
>;
derivedVersion: ZodPipe<
ZodOptional<ZodNullable<ZodNumber>>,
ZodTransform<number | null, number | null | undefined>,
>;
derivedCollectedAt: ZodPipe<
ZodOptional<ZodNullable<ZodString>>,
ZodTransform<string | null, string | null | undefined>,
>;
errorCode: ZodPipe<
ZodOptional<
ZodNullable<
ZodEnum<
{
internal: "internal";
inference_unavailable: "inference_unavailable";
source_missing: "source_missing";
grant_invalid: "grant_invalid";
},
>,
>,
>,
ZodTransform<
| NonNullable<
| "internal"
| "inference_unavailable"
| "source_missing"
| "grant_invalid",
>
| null,
| "internal"
| "inference_unavailable"
| "source_missing"
| "grant_invalid"
| null
| undefined,
>,
>;
retryAfterSeconds: ZodPipe<
ZodOptional<ZodNullable<ZodNumber>>,
ZodTransform<number | null, number | null | undefined>,
>;
},
$strip,
> = ...
The status of the derived scope, not of one registration: when several questions write the same scope, the server reports the most optimistic true state, because serving data is registration-agnostic.