unprotectModel
Given a model, determine if it is protected, and unprotect it if it is. Otherwise, just resolve with the same result.
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
model Required | IModel |
Model Object |
|
requestOptions Required | IRequestOptions |
Available requestOptions
Property | Type | Notes |
---|
Returns
Promise<{
- success:
- boolean
Function defined in common/src/items/unprotect-model.ts:11