2021-07-01 14:28:53 -04:00
|
|
|
import GeneratedCredentialStoreModel from '../generated/models/credential-store';
|
|
|
|
|
import { equal } from '@ember/object/computed';
|
|
|
|
|
|
2022-12-07 13:52:49 -08:00
|
|
|
export const types = ['static', 'vault'];
|
|
|
|
|
|
2021-07-01 14:28:53 -04:00
|
|
|
export default class CredentialStoreModel extends GeneratedCredentialStoreModel {
|
|
|
|
|
// =attributes
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @type {boolean}
|
|
|
|
|
*/
|
|
|
|
|
@equal('type', 'vault') isVault;
|
2022-06-18 10:56:25 -04:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @type {boolean}
|
|
|
|
|
*/
|
|
|
|
|
@equal('type', 'static') isStatic;
|
2021-07-01 14:28:53 -04:00
|
|
|
}
|