Skip to main content

OperationDefinitionInfo

@webda/core • Readme | API


Interface: OperationDefinitionInfo

Define an operation within webda app

Extends​

Properties​

id​

id: string

Id of the operation

Inherited from​

OperationDefinition.id

Source​

packages/core/src/core.ts:123


input?​

input?: string

Name of the schema that defines operation input

Inherited from​

OperationDefinition.input

Source​

packages/core/src/core.ts:127


method​

method: string

Method implementing the operation

Inherited from​

OperationDefinition.method

Source​

packages/core/src/core.ts:144


output?​

output?: string

Name of the schema that defines operation output

Inherited from​

OperationDefinition.output

Source​

packages/core/src/core.ts:131


permission?​

permission?: string

WebdaQL to execute on session to know if operation is available to user

Inherited from​

OperationDefinition.permission

Source​

packages/core/src/core.ts:136


permissionQuery?​

permissionQuery?: QueryValidator

Contains the parse permission query

Source​

packages/core/src/core.ts:154


service​

service: string

Service implementing the operation

Inherited from​

OperationDefinition.service

Source​

packages/core/src/core.ts:140