Class: AddServiceEndpointCommand
Hierarchy
BaseCommand
↳
AddServiceEndpointCommand
Constructors
constructor
• new AddServiceEndpointCommand(stores
, events
)
Parameters
Name | Type |
---|---|
stores | NamedRegistry |
events | NamedRegistry |
Inherited from
BaseCommand.constructor
Defined in
node_modules/klayr-framework/dist-node/modules/base_command.d.ts:9
Properties
config
• config: DidModuleConfig
Defined in
packages/klayr-did-module/dist/commands/add_service_endpoints_command.d.ts:42
events
• Protected
events: NamedRegistry
Inherited from
BaseCommand.events
Defined in
node_modules/klayr-framework/dist-node/modules/base_command.d.ts:6
schema
• schema: Object
Type declaration
Name | Type |
---|---|
$id | string |
properties | { endpoint : { fieldNumber : number ; properties : { id : { dataType : string ; fieldNumber : number } ; serviceEndpoint : { dataType : string ; fieldNumber : number } ; type : { dataType : string ; fieldNumber : number } } ; required : string [] ; type : string } ; signature : { dataType : string ; fieldNumber : number } ; signer : { dataType : string ; fieldNumber : number } ; target : { dataType : string ; fieldNumber : number } } |
properties.endpoint | { fieldNumber : number ; properties : { id : { dataType : string ; fieldNumber : number } ; serviceEndpoint : { dataType : string ; fieldNumber : number } ; type : { dataType : string ; fieldNumber : number } } ; required : string [] ; type : string } |
properties.endpoint.fieldNumber | number |
properties.endpoint.properties | { id : { dataType : string ; fieldNumber : number } ; serviceEndpoint : { dataType : string ; fieldNumber : number } ; type : { dataType : string ; fieldNumber : number } } |
properties.endpoint.properties.id | { dataType : string ; fieldNumber : number } |
properties.endpoint.properties.id.dataType | string |
properties.endpoint.properties.id.fieldNumber | number |
properties.endpoint.properties.serviceEndpoint | { dataType : string ; fieldNumber : number } |
properties.endpoint.properties.serviceEndpoint.dataType | string |
properties.endpoint.properties.serviceEndpoint.fieldNumber | number |
properties.endpoint.properties.type | { dataType : string ; fieldNumber : number } |
properties.endpoint.properties.type.dataType | string |
properties.endpoint.properties.type.fieldNumber | number |
properties.endpoint.required | string [] |
properties.endpoint.type | string |
properties.signature | { dataType : string ; fieldNumber : number } |
properties.signature.dataType | string |
properties.signature.fieldNumber | number |
properties.signer | { dataType : string ; fieldNumber : number } |
properties.signer.dataType | string |
properties.signer.fieldNumber | number |
properties.target | { dataType : string ; fieldNumber : number } |
properties.target.dataType | string |
properties.target.fieldNumber | number |
required | string [] |
type | string |
Overrides
BaseCommand.schema
Defined in
packages/klayr-did-module/dist/commands/add_service_endpoints_command.d.ts:4
stores
• Protected
stores: NamedRegistry
Inherited from
BaseCommand.stores
Defined in
node_modules/klayr-framework/dist-node/modules/base_command.d.ts:5
Accessors
name
• get
name(): string
Returns
string
Inherited from
BaseCommand.name
Defined in
node_modules/klayr-framework/dist-node/modules/base_command.d.ts:8
Methods
execute
▸ execute(_context
): Promise
<void
>
Parameters
Name | Type |
---|---|
_context | CommandExecuteContext <AddServiceEndpointParam > |
Returns
Promise
<void
>
Overrides
BaseCommand.execute
Defined in
packages/klayr-did-module/dist/commands/add_service_endpoints_command.d.ts:45
init
▸ init(_moduleConfig
): Promise
<void
>
Parameters
Name | Type |
---|---|
_moduleConfig | DidModuleConfig |
Returns
Promise
<void
>
Defined in
packages/klayr-did-module/dist/commands/add_service_endpoints_command.d.ts:43
verify
▸ verify(_context
): Promise
<VerificationResult
>
Parameters
Name | Type |
---|---|
_context | CommandVerifyContext <AddServiceEndpointParam > |
Returns
Promise
<VerificationResult
>
Overrides
BaseCommand.verify
Defined in
packages/klayr-did-module/dist/commands/add_service_endpoints_command.d.ts:44