跳转到内容

Request

此内容尚不支持你的语言。

const Request: Union<readonly [TaggedStruct<"approvals", {
}>, TaggedStruct<"approve", {
request: Struct<{
expected: Struct<{
assignment: Struct<{
artifact: Struct<...>;
contractEntry: optionalKey<...>;
entry: NonEmptyString;
grants: $Array<...>;
tier: Literals<...>;
}>;
policyVersion: NonEmptyString;
projections: $Array<Struct<{
operation: ...;
projection: ...;
service: ...;
value: ...;
view: ...;
}>>;
}>;
overrideRevocations: optionalKey<Boolean>;
who: NonEmptyString;
}>;
}>, TaggedStruct<"revoke", {
references: $Array<NonEmptyString>;
who: NonEmptyString;
}>, TaggedStruct<"build", {
request: Struct<{
file: NonEmptyString;
metadataOnly: optionalKey<Boolean>;
references: $Array<NonEmptyString>;
revocations: $Array<NonEmptyString>;
}>;
}>, TaggedStruct<"plan", {
target: String;
}>, TaggedStruct<"apply", {
request: Struct<{
expected: String;
overrideRevocations: optionalKey<Boolean>;
target: String;
}>;
}>, TaggedStruct<"rollback", {
expected: String;
overrideRevocations: Boolean;
}>, TaggedStruct<"history", {
}>, TaggedStruct<"status", {
}>]>;

Defined in: Control.ts:31