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:41


AllPermissionsReader​

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

Type declaration​

▸ (token): Promise<Permissions>

Parameters​
NameType
tokenAuthToken
Returns​

Promise<Permissions>

Defined in​

src/httpd/index.ts:21


AllProjectsReader​

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

Type declaration​

▸ (token): Promise<Project[]>

Parameters​
NameType
tokenAuthToken
Returns​

Promise<Project[]>

Defined in​

src/httpd/index.ts:14


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:15


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:35


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:43


Permissions​

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

Defined in​

src/httpd/index.ts:10


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:28


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:23


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:12


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:88


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:72


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:79