UNPKG

1.56 kBJavaScriptView Raw
1module.exports = {
2 uri: 'https://[[INSTANCE]].service-now.com',
3 application: '[[APPLICATION_SYS_ID]]',
4 mapping: 'snsyncmapping.json',
5 tsconfig: 'tsconfig.json',
6 src: 'src/',
7 out: 'dist/',
8 types: {
9 'sys_script': {
10 script: { type: 'js', ts_field: 'u_typescript' }
11 },
12 'sys_script_include': {
13 script: { type: 'js', ts_field: 'u_typescript' }
14 },
15 'sys_ui_macro': {
16 xml: { type: 'html' }
17 },
18 'sys_ws_operation': {
19 operation_script: { type: 'js', ts_field: 'u_typescript' }
20 },
21 'sysauto_script': {
22 script: { type: 'js', ts_field: 'u_typescript' }
23 },
24 'sys_ui_action': {
25 script: { type: 'js', ts_field: 'u_typescript' }
26 },
27 'sys_ui_page': {
28 html: { type: 'html' },
29 processing_script: { type: 'js', ts_field: 'u_processing_script_typescript' },
30 client_script: { type: 'js', ts_field: 'u_client_script_typescript' }
31 },
32 'content_css': {
33 style: { type: 'css'}
34 },
35 'sys_ui_script': {
36 script: { type: 'js'}
37 }
38 },
39 dts: {
40 appdts: 'typings\\application.d.ts',
41 sndts: 'typings\\servicenow.d.ts',
42 refs: [
43 'index.d.ts'
44 ],
45 ignoreFields: [
46 'sys_id',
47 'sys_created_on',
48 'sys_created_by',
49 'sys_updated_on',
50 'sys_updated_by',
51 'sys_mod_count'
52 ]
53 }
54}