make all fields optional #1494
Annotations
3 errors and 2 warnings
Test:
packages/policy-engine-shared/src/lib/dev.fixture.ts#L432
Type '{ addressBook: { chainId: number; address: `0x${string}`; id: `eip155:${number}:${string}`; classification: "external" | "counterparty" | "internal" | "managed"; }[]; credentials: { key: { kty: "EC"; alg: "ES256K"; kid: string; addr: `0x${string}`; crv: "secp256k1"; use?: "sig" | ... 1 more ... | undefined; } | { .....' is missing the following properties from type '{ addressBook: { chainId: number; address: `0x${string}`; id: `eip155:${number}:${string}`; classification: "external" | "counterparty" | "internal" | "managed"; }[]; credentials: { key: { kty: "EC"; alg: "ES256K"; kid: string; addr: `0x${string}`; crv: "secp256k1"; use?: "sig" | ... 1 more ... | undefined; } | { .....': accountGroups, userGroups
|
Test:
packages/policy-engine-shared/src/lib/util/entity.util.ts#L188
Type '{ addressBook: never[]; credentials: never[]; tokens: never[]; userGroupMembers: never[]; userAccounts: never[]; users: never[]; groups: never[]; accountGroupMembers: never[]; accounts: never[]; }' is missing the following properties from type '{ addressBook: { chainId: number; address: `0x${string}`; id: `eip155:${number}:${string}`; classification: "external" | "counterparty" | "internal" | "managed"; }[]; credentials: { key: { kty: "EC"; alg: "ES256K"; kid: string; addr: `0x${string}`; crv: "secp256k1"; use?: "sig" | ... 1 more ... | undefined; } | { .....': accountGroups, userGroups
|
Test
Process completed with exit code 2.
|
Open Agent Policy CI:
apps/policy-engine/src/resource/open-policy-agent/rego/armory/entities/buildChainAccount.rego#L31
Avoid TODO comments. To learn more, see: https://docs.styra.com/regal/rules/style/todo-comment
|
Open Agent Policy CI:
apps/policy-engine/src/resource/open-policy-agent/rego/armory/entities/buildChainAccount.rego#L87
Avoid TODO comments. To learn more, see: https://docs.styra.com/regal/rules/style/todo-comment
|