mirror of
https://github.com/hashicorp/vault.git
synced 2025-09-18 20:31:08 +02:00
* removes remaining instances of auth-method model/adapter use * removes auth method and config models/adapters/serializers * fixes field to attrs tests * fixes mfa tests * fixes password reset Co-authored-by: Jordan Reimer <zofskeez@gmail.com> Co-authored-by: Jordan Reimer <jordan.reimer@hashicorp.com>
18 lines
473 B
JavaScript
18 lines
473 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
// this model is just used for integration tests
|
|
//
|
|
|
|
import Model, { belongsTo, attr } from '@ember-data/model';
|
|
|
|
export default class TestFormModel extends Model {
|
|
@belongsTo('mount-config', { async: false, inverse: null }) config;
|
|
@belongsTo('mount-config', { async: false, inverse: null }) otherConfig;
|
|
|
|
@attr('string') path;
|
|
@attr('string', { editType: 'textarea' }) description;
|
|
}
|