* refactor: 💡 use hds checkbox field instead of rose checkbox ✅ Closes: ICU-9423 * Update ui/admin/app/components/form/auth-method/oidc/index.hbs Co-authored-by: Dharini Jeeva <dharini@hashicorp.com> * Update ui/desktop/app/controllers/scopes/scope/projects/sessions/index.js Co-authored-by: Dharini Jeeva <dharini@hashicorp.com> * fix: 🐛 remove isInvalid arg * refactor: 💡 move array conversion to model hook --------- Co-authored-by: Dharini Jeeva <dharini@hashicorp.com>
20 lines
501 B
JavaScript
20 lines
501 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
import { Factory } from 'miragejs';
|
|
import { faker } from '@faker-js/faker';
|
|
import { TYPE_AUTH_METHOD_PASSWORD } from 'api/models/auth-method';
|
|
|
|
/**
|
|
* GeneratedAccountFactory
|
|
*/
|
|
export default Factory.extend({
|
|
type: TYPE_AUTH_METHOD_PASSWORD,
|
|
description: () => faker.random.words(),
|
|
created_time: () => faker.date.recent(),
|
|
updated_time: () => faker.date.recent(),
|
|
version: () => faker.datatype.number(),
|
|
});
|