Skip to main content
Defined in: policyCore/policyConfig/context/types.ts:41 Expand

Type Parameters

AllowSchema

AllowSchema extends z.ZodType = z.ZodUndefined

DenySchema

DenySchema extends z.ZodType = z.ZodUndefined

Properties

abilityIpfsCid

abilityIpfsCid: string
Defined in: types.ts:439

Inherited from

BaseContext.abilityIpfsCid

allow

allow: AllowSchema extends ZodUndefined ? () => ContextAllowResponseNoResult : (result) => ContextAllowResponse<TypeOf<AllowSchema>>
Defined in: policyCore/policyConfig/context/types.ts:45

appId

appId: number
Defined in: types.ts:440

Inherited from

BaseContext.appId

appVersion

appVersion: number
Defined in: types.ts:441

Inherited from

BaseContext.appVersion

delegation

delegation: object
Defined in: types.ts:442

delegateeAddress

delegateeAddress: string

delegatorPkpInfo

delegatorPkpInfo: object
delegatorPkpInfo.ethAddress
ethAddress: string
delegatorPkpInfo.publicKey
publicKey: string
delegatorPkpInfo.tokenId
tokenId: string

Inherited from

BaseContext.delegation

deny

deny: DenySchema extends ZodUndefined ? () => ContextDenyResponseNoResult : (result, runtimeError?) => ContextDenyResponse<TypeOf<DenySchema>>
Defined in: policyCore/policyConfig/context/types.ts:49
I