@prefecthq/prefect-ui-library
Version:
This library is the Vue and Typescript component library for [Prefect 2](https://github.com/PrefectHQ/prefect) and [Prefect Cloud 2](https://www.prefect.io/cloud/). _The components and utilities in this project are not meant to be used independently_.
14 lines (12 loc) • 443 B
text/typescript
import { ConcurrencyV2Limit } from '@/models/ConcurrencyV2Limit'
import { MockFunction } from '@/services/Mocker'
export const randomConcurrencyV2Limit: MockFunction<ConcurrencyV2Limit, [Partial<ConcurrencyV2Limit>?]> = function(overrides = {}) {
return {
id: this.create('id'),
name: this.create('noun'),
limit: this.create('number'),
created: this.create('date'),
updated: this.create('date'),
...overrides,
}
}