mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-11 12:12:55 +00:00
feat: tests
This commit is contained in:
18
packages/core/test/dummy/setting.ts
Normal file
18
packages/core/test/dummy/setting.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import {SCSetting, SCSettingInputType, SCThingOriginType, SCThingType} from '../../src/index.js';
|
||||
|
||||
export const setting: SCSetting = {
|
||||
categories: ['profile'],
|
||||
defaultValue: 'student',
|
||||
description: 'base-description',
|
||||
inputType: SCSettingInputType.SingleChoice,
|
||||
name: 'group',
|
||||
order: 1,
|
||||
origin: {
|
||||
indexed: '2018-11-11T14:30:00Z',
|
||||
name: 'Dummy',
|
||||
type: SCThingOriginType.Remote,
|
||||
},
|
||||
type: SCThingType.Setting,
|
||||
uid: '2c97aa36-4aa2-43de-bc5d-a2b2cb3a530e',
|
||||
values: ['student', 'employee', true, 42],
|
||||
};
|
||||
Reference in New Issue
Block a user