Skip to main content

httpd

Api Code Documentation / Exports / httpd

Table of contents#

Interfaces#

Type aliases#

Type aliases#

AllPermissionsGranter#

Ƭ AllPermissionsGranter: (token: AuthToken, grantee: string) => Promise<void>

Type declaration#

▸ (token, grantee): Promise<void>

Parameters#
NameType
tokenAuthToken
granteestring
Returns#

Promise<void>

Defined in#

src/httpd/index.ts:43


AllPermissionsReader#

Ƭ AllPermissionsReader: (token: AuthToken) => Promise<Permissions>

Type declaration#

▸ (token): Promise<Permissions>

Parameters#
NameType
tokenAuthToken
Returns#

Promise<Permissions>

Defined in#

src/httpd/index.ts:23


AllProjectsReader#

Ƭ AllProjectsReader: (token: AuthToken) => Promise<Project[]>

Type declaration#

▸ (token): Promise<Project[]>

Parameters#
NameType
tokenAuthToken
Returns#

Promise<Project[]>

Defined in#

src/httpd/index.ts:16


AllWorkflowitemsReader#

Ƭ AllWorkflowitemsReader: (token: AuthToken, projectId: string, subprojectId: string) => Promise<Workflowitem[]>

Type declaration#

▸ (token, projectId, subprojectId): Promise<Workflowitem[]>

Parameters#
NameType
tokenAuthToken
projectIdstring
subprojectIdstring
Returns#

Promise<Workflowitem[]>

Defined in#

src/httpd/index.ts:17


GlobalPermissionGranter#

Ƭ GlobalPermissionGranter: (token: AuthToken, grantee: string, intent: default) => Promise<void>

Type declaration#

▸ (token, grantee, intent): Promise<void>

Parameters#
NameType
tokenAuthToken
granteestring
intentdefault
Returns#

Promise<void>

Defined in#

src/httpd/index.ts:37


GlobalPermissionRevoker#

Ƭ GlobalPermissionRevoker: (token: AuthToken, recipient: string, intent: default) => Promise<void>

Type declaration#

▸ (token, recipient, intent): Promise<void>

Parameters#
NameType
tokenAuthToken
recipientstring
intentdefault
Returns#

Promise<void>

Defined in#

src/httpd/index.ts:45


Permissions#

Ƭ Permissions: { [key in default]?: string[] }

Defined in#

src/httpd/index.ts:12


ProjectAssigner#

Ƭ ProjectAssigner: (token: AuthToken, projectId: string, assignee: string) => Promise<void>

Type declaration#

▸ (token, projectId, assignee): Promise<void>

Parameters#
NameType
tokenAuthToken
projectIdstring
assigneestring
Returns#

Promise<void>

Defined in#

src/httpd/index.ts:58


ProjectCreator#

Ƭ ProjectCreator: (ctx: Ctx, issuer: ServiceUser, token: AuthToken, payload: CreateProjectPayload) => Promise<void>

Type declaration#

▸ (ctx, issuer, token, payload): Promise<void>

Parameters#
NameType
ctxCtx
issuerServiceUser
tokenAuthToken
payloadCreateProjectPayload
Returns#

Promise<void>

Defined in#

src/httpd/index.ts:51


ProjectPermissionsGranter#

Ƭ ProjectPermissionsGranter: (token: AuthToken, projectId: string, grantee: string, intent: default) => Promise<void>

Type declaration#

▸ (token, projectId, grantee, intent): Promise<void>

Parameters#
NameType
tokenAuthToken
projectIdstring
granteestring
intentdefault
Returns#

Promise<void>

Defined in#

src/httpd/index.ts:30


ProjectPermissionsReader#

Ƭ ProjectPermissionsReader: (token: AuthToken, projectId: string) => Promise<Permissions>

Type declaration#

▸ (token, projectId): Promise<Permissions>

Parameters#
NameType
tokenAuthToken
projectIdstring
Returns#

Promise<Permissions>

Defined in#

src/httpd/index.ts:25


ProjectReader#

Ƭ ProjectReader: (token: AuthToken, id: string) => Promise<ProjectAndSubprojects>

Type declaration#

▸ (token, id): Promise<ProjectAndSubprojects>

Parameters#
NameType
tokenAuthToken
idstring
Returns#

Promise<ProjectAndSubprojects>

Defined in#

src/httpd/index.ts:14


ProjectUpdater#

Ƭ ProjectUpdater: (token: AuthToken, projectId: string, update: object) => Promise<void>

Type declaration#

▸ (token, projectId, update): Promise<void>

Parameters#
NameType
tokenAuthToken
projectIdstring
updateobject
Returns#

Promise<void>

Defined in#

src/httpd/index.ts:64


WorkflowitemAssigner#

Ƭ WorkflowitemAssigner: (token: AuthToken, projectId: string, subprojectId: string, workflowitemId: string, newAssignee: string) => Promise<void>

Type declaration#

▸ (token, projectId, subprojectId, workflowitemId, newAssignee): Promise<void>

Parameters#
NameType
tokenAuthToken
projectIdstring
subprojectIdstring
workflowitemIdstring
newAssigneestring
Returns#

Promise<void>

Defined in#

src/httpd/index.ts:105


WorkflowitemCloser#

Ƭ WorkflowitemCloser: (token: AuthToken, projectId: string, subprojectId: string, workflowitemId: string) => Promise<void>

Type declaration#

▸ (token, projectId, subprojectId, workflowitemId): Promise<void>

Parameters#
NameType
tokenAuthToken
projectIdstring
subprojectIdstring
workflowitemIdstring
Returns#

Promise<void>

Defined in#

src/httpd/index.ts:89


WorkflowitemUpdater#

Ƭ WorkflowitemUpdater: (token: AuthToken, projectId: string, subprojectId: string, workflowitemId: string, updatedData: any) => Promise<void>

Type declaration#

▸ (token, projectId, subprojectId, workflowitemId, updatedData): Promise<void>

Parameters#
NameType
tokenAuthToken
projectIdstring
subprojectIdstring
workflowitemIdstring
updatedDataany
Returns#

Promise<void>

Defined in#

src/httpd/index.ts:96