-
Notifications
You must be signed in to change notification settings - Fork 48
APIModel
ralphhanna edited this page Dec 18, 2023
·
1 revision
bpmn-server / APIModel
-
APIComponent
↳
APIModel
• new APIModel(api
): APIModel
Name | Type |
---|---|
api |
any |
APIComponent.constructor
• api: BPMNAPI
APIComponent.api
• get
server(): IBPMNServer
APIComponent.server
▸ delete(name
, user
): Promise
<false
| void
>
Name | Type |
---|---|
name |
any |
user |
ISecureUser |
Promise
<false
| void
>
▸ export(query
, folder
, user
): Promise
<void
>
Name | Type |
---|---|
query |
any |
folder |
any |
user |
ISecureUser |
Promise
<void
>
▸ findEvents(query
, user
): Promise
<any
[]>
Name | Type |
---|---|
query |
any |
user |
ISecureUser |
Promise
<any
[]>
▸ findStartEvents(query
, user
): Promise
<any
[]>
Name | Type |
---|---|
query |
any |
user |
ISecureUser |
Promise
<any
[]>
▸ getSource(name
, user
): Promise
<string
>
Name | Type |
---|---|
name |
any |
user |
ISecureUser |
Promise
<string
>
▸ list(user
): Promise
<string
[]>
Name | Type |
---|---|
user |
ISecureUser |
Promise
<string
[]>
▸ load(name
, user
): Promise
<IDefinition
>
Name | Type |
---|---|
name |
any |
user |
ISecureUser |
Promise
<IDefinition
>
▸ rename(name
, newName
, user
): Promise
<boolean
>
Name | Type |
---|---|
name |
any |
newName |
any |
user |
ISecureUser |
Promise
<boolean
>
▸ save(name
, source
, svg
, user
): Promise
<boolean
>
Name | Type |
---|---|
name |
any |
source |
any |
svg |
any |
user |
ISecureUser |
Promise
<boolean
>