Files
threshold-ui/addons/api/mirage/generated/factories/host.js
T
2024-05-31 11:29:24 -07:00

22 lines
486 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
import { Factory } from 'miragejs';
import { faker } from '@faker-js/faker';
/**
* GeneratedHostModelFactory
*/
export default Factory.extend({
type: 'static',
description: () => faker.word.words(),
created_time: () => faker.date.recent(),
updated_time: () => faker.date.recent(),
version: () => faker.number.int(),
attributes: () => {
return { address: faker.internet.ipv6() };
},
});