Skip to main content

Variable: AdapterListItemSchema

const AdapterListItemSchema: ZodObject<{
uuid: ZodString;
name: ZodString;
status: ZodString;
created_at: ZodString;
updated_at: ZodString;
created_by_user_id: ZodOptional<ZodNullable<ZodString>>;
target_count: ZodOptional<ZodNullable<ZodNumber>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
uuid: ZodString;
name: ZodString;
status: ZodString;
created_at: ZodString;
updated_at: ZodString;
created_by_user_id: ZodOptional<ZodNullable<ZodString>>;
target_count: ZodOptional<ZodNullable<ZodNumber>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
uuid: ZodString;
name: ZodString;
status: ZodString;
created_at: ZodString;
updated_at: ZodString;
created_by_user_id: ZodOptional<ZodNullable<ZodString>>;
target_count: ZodOptional<ZodNullable<ZodNumber>>;
}, ZodTypeAny, "passthrough">>;

Defined in: src/models/red-team.ts:1153

One list row (spec CustomTargetAdapterListItemSchema) — a 7-field subset. List rows carry no script_b64, tsg_id, description, or variables; call get() for the full record. target_count is populated only when the list was requested with include_target_count.