-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.stories.js
42 lines (38 loc) · 1.4 KB
/
index.stories.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import { app } from 'ut-portal/storybook';
import core from 'ut-core/portal';
import coreDropdown from 'ut-core/model/dropdown';
import customerDropdown from 'ut-customer/model/dropdown';
import microservice from './index';
import microserviceMock from './mock';
import microserviceDropdown from '../model/dropdown';
import fooMock from './fooMock';
export default {
title: 'Microservice'
};
const page = app({
implementation: 'microservice',
utMicroservice: true,
utCore: true
}, {
...coreDropdown,
...customerDropdown,
...microserviceDropdown,
...fooMock
}, [
core(),
microservice(),
microserviceMock()
]);
export const DocumentNew = page('microservice.document.new');
export const FooBrowse = page('microservice.foo.browse');
export const FooDemo = page('microservice.foo.demo');
export const FooOpen = page('microservice.foo.open', 1);
export const FooNew = page('microservice.foo.new');
export const BarBrowse = page('microservice.bar.browse');
export const BarOpen = page('microservice.bar.open', 1);
export const BarNew = page('microservice.bar.new');
export const BarReport = page('microservice.bar.report', 'list');
export const PageCardsNew = page('p/microservice.page.cards');
export const PageCardsOpen = page('p/microservice.page.cards', 1);
export const PageCustomNew = page('p/microservice.page.custom');
export const PageCustomOpen = page('p/microservice.page.custom', 1);