mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-18 21:21:06 +02:00
* don't update the passed object directly fixes deprecation https://deprecations.emberjs.com/id/setting-on-hash * replace hasRecordForId with peekRecord -- ember-data:deprecate-has-record-for-id * fix deprecation ember-data:deprecate-has-record-for-id * update deprecation workflow
16 lines
301 B
JavaScript
16 lines
301 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import Model, { belongsTo } from '@ember-data/model';
|
|
|
|
export default Model.extend({
|
|
backend: belongsTo('auth-method', {
|
|
inverse: 'authConfigs',
|
|
readOnly: true,
|
|
async: false,
|
|
as: 'auth-config',
|
|
}),
|
|
});
|