Skip to content

TemplateLifecycleService

Defined in: packages/template/src/runtime/template-lifecycle.service.ts:32

new TemplateLifecycleService(provider, inspectionProvider?): TemplateLifecycleService

Defined in: packages/template/src/runtime/template-lifecycle.service.ts:35

TemplateProvider

TemplateInspectionProvider

TemplateLifecycleService

create(input, ctx?): Promise<Result<Template, KMsgError>>

Defined in: packages/template/src/runtime/template-lifecycle.service.ts:45

TemplateCreateInput

TemplateContext

Promise<Result<Template, KMsgError>>


delete(code, ctx?): Promise<Result<void, KMsgError>>

Defined in: packages/template/src/runtime/template-lifecycle.service.ts:105

string

TemplateContext

Promise<Result<void, KMsgError>>


get(code, ctx?): Promise<Result<Template, KMsgError>>

Defined in: packages/template/src/runtime/template-lifecycle.service.ts:121

string

TemplateContext

Promise<Result<Template, KMsgError>>


list(params?, ctx?): Promise<Result<Template[], KMsgError>>

Defined in: packages/template/src/runtime/template-lifecycle.service.ts:137

number

number

string

TemplateContext

Promise<Result<Template[], KMsgError>>


requestInspection(code, ctx?): Promise<Result<void, KMsgError>>

Defined in: packages/template/src/runtime/template-lifecycle.service.ts:144

string

TemplateContext

Promise<Result<void, KMsgError>>


update(code, patch, ctx?): Promise<Result<Template, KMsgError>>

Defined in: packages/template/src/runtime/template-lifecycle.service.ts:69

string

TemplateUpdateInput

TemplateContext

Promise<Result<Template, KMsgError>>