vault/ui/app/models/test-form-model.js
Vault Automation b79dcd715a
[UI] Ember Data Migration - Auth Method/Config Cleanup (#9033) (#9058)
* 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>
2025-09-04 11:00:29 -06:00

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;
}