xlport 0.3.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/launch.json +15 -0
- package/dist/lib/client.d.ts +4 -2
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +101 -198
- package/dist/lib/client.js.map +1 -1
- package/dist/lib/export.types.d.ts +3 -2
- package/dist/lib/export.types.d.ts.map +1 -1
- package/dist/lib/export.types.js +5 -0
- package/dist/lib/export.types.js.map +1 -1
- package/dist/lib/import.types.d.ts +3 -3
- package/dist/lib/import.types.d.ts.map +1 -1
- package/dist/lib/shared.types.d.ts +1 -1
- package/dist/lib/shared.types.d.ts.map +1 -1
- package/package.json +14 -11
- package/tests/client/additional/data-validation/expected.xlsx +0 -0
- package/tests/client/additional/data-validation/request.json +23 -0
- package/tests/client/additional/data-validation/result.xlsx +0 -0
- package/tests/client/additional/data-validation/template.xlsx +0 -0
- package/tests/client/additional/lookup/expected.xlsx +0 -0
- package/tests/client/additional/lookup/request.json +23 -0
- package/tests/client/additional/lookup/result.xlsx +0 -0
- package/tests/client/additional/lookup/template.xlsx +0 -0
- package/tests/client/client.e2e.spec.ts +5 -5
- package/tests/client/export/1object/expected.xlsx +0 -0
- package/tests/client/export/1table/expected.xlsx +0 -0
- package/tests/client/export/1table/request.json +1 -1
- package/tests/client/export/1table/template.xlsx +0 -0
- package/tests/client/export/thirdXlPort2Test/expected.xlsx +0 -0
- package/tests/client/export/thirdXlPort2Test/request.json +2 -0
- package/tests/client/export/v2-formats/expected.xlsx +0 -0
- package/tests/client/export/v2-formats/template.xlsx +0 -0
- package/tests/client/import/1object/expected.json +1 -10
- package/tests/client/import/1object/workbook.xlsx +0 -0
- package/tests/client/import/1table/expected.json +1 -39
- package/tests/client/import/1table/workbook.xlsx +0 -0
- package/tests/client/import/1table-10col-100rows/expected.json +1 -1306
- package/tests/client/import/1table-10col-100rows/workbook.xlsx +0 -0
- package/tests/client/import/v2importMultipleSheets/expected.json +1 -0
- package/tests/client/import/v2importMultipleSheets/workbook.xlsx +0 -0
- package/tests/tsconfig.json +2 -1
- package/tsconfig.json +4 -4
- package/dist/client.d.ts +0 -23
- package/dist/client.js +0 -98
- package/dist/client.js.map +0 -1
- package/dist/export.types.d.ts +0 -53
- package/dist/export.types.js +0 -3
- package/dist/export.types.js.map +0 -1
- package/dist/import.types.d.ts +0 -25
- package/dist/import.types.js +0 -11
- package/dist/import.types.js.map +0 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -21
- package/dist/index.js.map +0 -1
- package/dist/shared.types.d.ts +0 -1
- package/dist/shared.types.js +0 -3
- package/dist/shared.types.js.map +0 -1
- package/dist/tests/client/client.e2e.spec.d.ts +0 -1
- package/dist/tests/client/client.e2e.spec.js +0 -109
- package/dist/tests/client/client.e2e.spec.js.map +0 -1
- package/dist/tests/client/export/simple-export/request.json +0 -6
- package/dist/tests/client/import/1object/expected.json +0 -10
- package/dist/tests/client/import/1table/expected.json +0 -39
- package/dist/tests/client/import/1table-10col-100rows/expected.json +0 -1306
- package/dist/tests/client/import/multipleObjects/expected.json +0 -20
- package/dist/tests/client/import/multipleObjectsAndTables/expected.json +0 -84
- package/dist/tests/types/export/column-formatting.json +0 -151
- package/dist/tests/types/export/date.json +0 -6
- package/dist/tests/types/export/days.json +0 -7
- package/dist/tests/types/export/formats.json +0 -169
- package/dist/tests/types/export/formulas-and-lookups.json +0 -9
- package/dist/tests/types/export/multi-column-with-fixed-column.json +0 -24
- package/dist/tests/types/export/multi-sheet-column-fixed-topleft.json +0 -59
- package/dist/tests/types/export/multi-sheet-column-fixed.json +0 -59
- package/dist/tests/types/export/multi-sheet-column-simple-dash.json +0 -97
- package/dist/tests/types/export/multi-sheet-column-simple.json +0 -68
- package/dist/tests/types/export/multi-sheet-column.json +0 -68
- package/dist/tests/types/export/multi-sheet-simple.json +0 -41
- package/dist/tests/types/export/multiple-objects-and-tables.json +0 -83
- package/dist/tests/types/export/multiple-objects.json +0 -20
- package/dist/tests/types/export/multiple-tables.json +0 -88
- package/dist/tests/types/export/object.json +0 -11
- package/dist/tests/types/export/query-table-simple.json +0 -12
- package/dist/tests/types/export/query-table.json +0 -27
- package/dist/tests/types/export/sheets.json +0 -6
- package/dist/tests/types/export/table-with-calculations.json +0 -27
- package/dist/tests/types/export/table.json +0 -40
- package/dist/tests/types/export/utc.json +0 -7
- package/dist/tests/types/export.test.d.ts +0 -26
- package/dist/tests/types/export.test.js +0 -48
- package/dist/tests/types/export.test.js.map +0 -1
- package/dist/tests/types/import/large-table.json +0 -1
- package/dist/tests/types/import/multisheet.json +0 -1
- package/dist/tests/types/import/object.json +0 -1
- package/dist/tests/types/import/table.json +0 -1
- package/dist/tests/types/import.test.d.ts +0 -5
- package/dist/tests/types/import.test.js +0 -12
- package/dist/tests/types/import.test.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/tests/client/export/1table/test.xlsx +0 -0
- package/tests/client/export/formats/expected.xlsx +0 -0
- package/tests/client/export/formats/template.xlsx +0 -0
- package/tests/client/export/secondXlPort2Test/~$expected.xlsx +0 -0
- package/tests/client/export/thirdXlPort2Test/~$expected.xlsx +0 -0
- package/tests/client/export/thirdXlPort2Test/~$template.xlsx +0 -0
- package/tests/client/export/v2-column-formatting/~$expected.xlsx +0 -0
- package/tests/client/export/v2-column-formatting/~$template.xlsx +0 -0
- package/tests/client/import/1object/Source.xlsx +0 -0
- package/tests/client/import/1object/data.xlsx +0 -0
- package/tests/client/import/1object/request.json +0 -10
- package/tests/client/import/1table/Source.xlsx +0 -0
- package/tests/client/import/1table/data.xlsx +0 -0
- package/tests/client/import/1table/request.json +0 -15
- package/tests/client/import/1table-10col-100rows/Source.xlsx +0 -0
- package/tests/client/import/1table-10col-100rows/data.xlsx +0 -0
- package/tests/client/import/1table-10col-100rows/request.json +0 -17
- /package/tests/client/export/{formats → v2-formats}/request.json +0 -0
- /package/tests/client/import/multipleObjects/{Source.xlsx → workbook.xlsx} +0 -0
- /package/tests/client/import/multipleObjectsAndTables/{Source.xlsx → workbook.xlsx} +0 -0
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"templateId": "v2-multi-sheet-column-simple-dash/template.xlsx",
|
|
3
|
-
"data": {
|
|
4
|
-
"sheets": [
|
|
5
|
-
{
|
|
6
|
-
"name": "Copy-1",
|
|
7
|
-
"fromTemplateSheet": "Template",
|
|
8
|
-
"tabColor": "#FF0000",
|
|
9
|
-
"data": {
|
|
10
|
-
"NamedRange": "Test1",
|
|
11
|
-
"Data": [
|
|
12
|
-
{
|
|
13
|
-
"Col1": "1",
|
|
14
|
-
"Col2": "2"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"Col1": "3",
|
|
18
|
-
"Col2": "4"
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "Copy+2",
|
|
25
|
-
"fromTemplateSheet": "Template",
|
|
26
|
-
"tabColor": "#FF0000",
|
|
27
|
-
"data": {
|
|
28
|
-
"NamedRange": "Test2",
|
|
29
|
-
"Data": [
|
|
30
|
-
{
|
|
31
|
-
"Col1": "5",
|
|
32
|
-
"Col2": "6"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"Col1": "7",
|
|
36
|
-
"Col2": "8"
|
|
37
|
-
}
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"name": "Copy 3",
|
|
43
|
-
"fromTemplateSheet": "Template",
|
|
44
|
-
"tabColor": "#FF0000",
|
|
45
|
-
"data": {
|
|
46
|
-
"NamedRange": "Test3",
|
|
47
|
-
"Data": [
|
|
48
|
-
{
|
|
49
|
-
"Col1": "5",
|
|
50
|
-
"Col2": "6"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"Col1": "7",
|
|
54
|
-
"Col2": "8"
|
|
55
|
-
}
|
|
56
|
-
]
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"name": "Copy_4",
|
|
61
|
-
"fromTemplateSheet": "Template",
|
|
62
|
-
"tabColor": "#00FF00",
|
|
63
|
-
"data": {
|
|
64
|
-
"NamedRange": "Test4",
|
|
65
|
-
"Data": [
|
|
66
|
-
{
|
|
67
|
-
"Col1": "5",
|
|
68
|
-
"Col2": "6"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"Col1": "7",
|
|
72
|
-
"Col2": "8"
|
|
73
|
-
}
|
|
74
|
-
]
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"name": "Copy5",
|
|
79
|
-
"fromTemplateSheet": "Template",
|
|
80
|
-
"tabColor": "#00FF00",
|
|
81
|
-
"data": {
|
|
82
|
-
"NamedRange": "Test5",
|
|
83
|
-
"Data": [
|
|
84
|
-
{
|
|
85
|
-
"Col1": "5",
|
|
86
|
-
"Col2": "6"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"Col1": "7",
|
|
90
|
-
"Col2": "8"
|
|
91
|
-
}
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
]
|
|
96
|
-
}
|
|
97
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"templateId": "multi-sheet-column-simple/template.xlsx",
|
|
3
|
-
"data": {
|
|
4
|
-
"sheets": [
|
|
5
|
-
{
|
|
6
|
-
"name": "Copy1",
|
|
7
|
-
"fromTemplateSheet": "Template",
|
|
8
|
-
"tabColor": "#FF0000",
|
|
9
|
-
"data": {
|
|
10
|
-
"Data": {
|
|
11
|
-
"columns": [
|
|
12
|
-
{ "name": "Col1", "fromTemplateColumn": "TemplateColumn" },
|
|
13
|
-
{ "name": "Col2", "fromTemplateColumn": "TemplateColumn" }
|
|
14
|
-
],
|
|
15
|
-
"data": [
|
|
16
|
-
{
|
|
17
|
-
"Col1": "1",
|
|
18
|
-
"Col2": "2"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"Col1": "3",
|
|
22
|
-
"Col2": "4"
|
|
23
|
-
}
|
|
24
|
-
]
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "Copy2",
|
|
30
|
-
"fromTemplateSheet": "Template",
|
|
31
|
-
"tabColor": "#00FF00",
|
|
32
|
-
"data": {
|
|
33
|
-
"Data": [
|
|
34
|
-
{
|
|
35
|
-
"TemplateColumn": "5"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"TemplateColumn": "6"
|
|
39
|
-
}
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "Copy3",
|
|
45
|
-
"fromTemplateSheet": "Template",
|
|
46
|
-
"tabColor": "#0000FF",
|
|
47
|
-
"data": {
|
|
48
|
-
"Data": {
|
|
49
|
-
"columns": [
|
|
50
|
-
{ "name": "Col1", "fromTemplateColumn": "TemplateColumn" },
|
|
51
|
-
{ "name": "Col2", "fromTemplateColumn": "TemplateColumn" }
|
|
52
|
-
],
|
|
53
|
-
"data": [
|
|
54
|
-
{
|
|
55
|
-
"Col1": "7",
|
|
56
|
-
"Col2": "8"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"Col1": "9",
|
|
60
|
-
"Col2": "10"
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
]
|
|
67
|
-
}
|
|
68
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"templateId": "multi-sheet-column-simple/template.xlsx",
|
|
3
|
-
"data": {
|
|
4
|
-
"sheets": [
|
|
5
|
-
{
|
|
6
|
-
"name": "Copy1",
|
|
7
|
-
"fromTemplateSheet": "Template",
|
|
8
|
-
"tabColor": "#FF0000",
|
|
9
|
-
"data": {
|
|
10
|
-
"Data": {
|
|
11
|
-
"columns": [
|
|
12
|
-
{ "name": "Col1", "fromTemplateColumn": "TemplateColumn" },
|
|
13
|
-
{ "name": "Col2", "fromTemplateColumn": "TemplateColumn" }
|
|
14
|
-
],
|
|
15
|
-
"data": [
|
|
16
|
-
{
|
|
17
|
-
"Col1": "1",
|
|
18
|
-
"Col2": "2"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"Col1": "3",
|
|
22
|
-
"Col2": "4"
|
|
23
|
-
}
|
|
24
|
-
]
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "Copy2",
|
|
30
|
-
"fromTemplateSheet": "Template",
|
|
31
|
-
"tabColor": "#00FF00",
|
|
32
|
-
"data": {
|
|
33
|
-
"Data": [
|
|
34
|
-
{
|
|
35
|
-
"TemplateColumn": "5"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"TemplateColumn": "6"
|
|
39
|
-
}
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "Copy3",
|
|
45
|
-
"fromTemplateSheet": "Template",
|
|
46
|
-
"tabColor": "#0000FF",
|
|
47
|
-
"data": {
|
|
48
|
-
"Data": {
|
|
49
|
-
"columns": [
|
|
50
|
-
{ "name": "Col1", "fromTemplateColumn": "TemplateColumn" },
|
|
51
|
-
{ "name": "Col2", "fromTemplateColumn": "TemplateColumn" }
|
|
52
|
-
],
|
|
53
|
-
"data": [
|
|
54
|
-
{
|
|
55
|
-
"Col1": "7",
|
|
56
|
-
"Col2": "8"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"Col1": "9",
|
|
60
|
-
"Col2": "10"
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
]
|
|
67
|
-
}
|
|
68
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"templateId": "multi-sheet-simple/template.xlsx",
|
|
3
|
-
"data": {
|
|
4
|
-
"sheets": [
|
|
5
|
-
{
|
|
6
|
-
"name": "Copy1",
|
|
7
|
-
"fromTemplateSheet": "Template",
|
|
8
|
-
"tabColor": "#FF0000",
|
|
9
|
-
"data": {
|
|
10
|
-
"Data": [
|
|
11
|
-
{
|
|
12
|
-
"Col1": "1",
|
|
13
|
-
"Col2": "2"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"Col1": "3",
|
|
17
|
-
"Col2": "4"
|
|
18
|
-
}
|
|
19
|
-
]
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "Copy2",
|
|
24
|
-
"fromTemplateSheet": "Template",
|
|
25
|
-
"tabColor": "#00FF00",
|
|
26
|
-
"data": {
|
|
27
|
-
"Data": [
|
|
28
|
-
{
|
|
29
|
-
"Col1": "5",
|
|
30
|
-
"Col2": "6"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"Col1": "7",
|
|
34
|
-
"Col2": "8"
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"templateId": "template.xlsx",
|
|
3
|
-
"data": {
|
|
4
|
-
"Boolean": true,
|
|
5
|
-
"CompanyBoolean": false,
|
|
6
|
-
"CompanyFloat": 2141.4,
|
|
7
|
-
"CompanyId": "cid1",
|
|
8
|
-
"CompanyInteger": 252454,
|
|
9
|
-
"CompanyLabel": "Company Name",
|
|
10
|
-
"CompanyLastUpdated": "2019-02-02T00:00:00.000Z",
|
|
11
|
-
"Float": -143242.25,
|
|
12
|
-
"HierarchyId": "hid1",
|
|
13
|
-
"HierarchyLabel": "Hierarchy Name",
|
|
14
|
-
"Integer": 114325352,
|
|
15
|
-
"LastUpdated": "2019-01-01T00:00:00.000Z",
|
|
16
|
-
"ProjectId": "pid1",
|
|
17
|
-
"ProjectLabel": "Project Name",
|
|
18
|
-
"RootId": "elid1",
|
|
19
|
-
"Initiatives": [
|
|
20
|
-
{
|
|
21
|
-
"Id": "uuidInitiative1",
|
|
22
|
-
"Name": "Initiative 1",
|
|
23
|
-
"StatusId": "uuidStatus1",
|
|
24
|
-
"SavingsPotential": 123.3,
|
|
25
|
-
"Achievement": 0.12,
|
|
26
|
-
"IsComplete": false,
|
|
27
|
-
"Date": "2018-04-11T00:00:00.000Z",
|
|
28
|
-
"Integer": 1,
|
|
29
|
-
"Calculated column": 146.727
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"Id": "uuidInitiative2",
|
|
33
|
-
"Name": "Initiative 2",
|
|
34
|
-
"StatusId": "uuidStatus2",
|
|
35
|
-
"SavingsPotential": null,
|
|
36
|
-
"Achievement": 0,
|
|
37
|
-
"IsComplete": true,
|
|
38
|
-
"Date": "1966-05-01T00:00:00.000Z",
|
|
39
|
-
"Integer": -246537347,
|
|
40
|
-
"Calculated column": 0
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"Id": "uuidInitiative3",
|
|
44
|
-
"Name": "Initiative 3",
|
|
45
|
-
"StatusId": "uuidStatus3",
|
|
46
|
-
"SavingsPotential": 456,
|
|
47
|
-
"Achievement": 0.2,
|
|
48
|
-
"IsComplete": false,
|
|
49
|
-
"Date": "2020-01-01T00:00:00.000Z",
|
|
50
|
-
"Integer": 1324275242,
|
|
51
|
-
"Calculated column": 542.64
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
"Status": [
|
|
55
|
-
{
|
|
56
|
-
"Id": "uuidStatus1",
|
|
57
|
-
"Label": "On track"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"Id": "uuidStatus2",
|
|
61
|
-
"Label": "Some progress"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"Id": "uuidStatus3",
|
|
65
|
-
"Label": "Delayed"
|
|
66
|
-
}
|
|
67
|
-
],
|
|
68
|
-
"Persons": [
|
|
69
|
-
{
|
|
70
|
-
"Id": "pid1",
|
|
71
|
-
"LastName": "Bolle"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"Id": "pid2",
|
|
75
|
-
"LastName": "Zwille"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"Id": "pid3",
|
|
79
|
-
"LastName": "Ralle"
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"templateId": "template.xlsx",
|
|
3
|
-
"data": {
|
|
4
|
-
"Boolean": true,
|
|
5
|
-
"CompanyBoolean": false,
|
|
6
|
-
"CompanyFloat": 2141.4,
|
|
7
|
-
"CompanyId": "cid1",
|
|
8
|
-
"CompanyInteger": 252454,
|
|
9
|
-
"CompanyLabel": "Company Name",
|
|
10
|
-
"CompanyLastUpdated": "2019-02-02T00:00:00.000Z",
|
|
11
|
-
"Float": -143242.25,
|
|
12
|
-
"HierarchyId": "hid1",
|
|
13
|
-
"HierarchyLabel": "Hierarchy Name",
|
|
14
|
-
"Integer": 114325352,
|
|
15
|
-
"LastUpdated": "2019-01-01T00:00:00.000Z",
|
|
16
|
-
"ProjectId": "pid1",
|
|
17
|
-
"ProjectLabel": "Project Name",
|
|
18
|
-
"RootId": "elid1"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"templateId": "template.xlsx",
|
|
3
|
-
"data": {
|
|
4
|
-
"Initiatives": [
|
|
5
|
-
{
|
|
6
|
-
"Id": "uuidInitiative1",
|
|
7
|
-
"Name": "Initiative 1",
|
|
8
|
-
"StatusId": "uuidStatus1",
|
|
9
|
-
"SavingsPotential": 123.3,
|
|
10
|
-
"Achievement": 0.12,
|
|
11
|
-
"IsComplete": false,
|
|
12
|
-
"Date": "2018-04-11T00:00:00.000Z",
|
|
13
|
-
"Integer": 1,
|
|
14
|
-
"Calculated column": 146.727
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"Id": "uuidInitiative2",
|
|
18
|
-
"Name": "Initiative 2",
|
|
19
|
-
"StatusId": "uuidStatus2",
|
|
20
|
-
"SavingsPotential": null,
|
|
21
|
-
"Achievement": 0,
|
|
22
|
-
"IsComplete": true,
|
|
23
|
-
"Date": "1966-05-01T00:00:00.000Z",
|
|
24
|
-
"Integer": -246537347,
|
|
25
|
-
"Calculated column": 0
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"Id": "uuidInitiative3",
|
|
29
|
-
"Name": "Initiative 3",
|
|
30
|
-
"StatusId": "uuidStatus3",
|
|
31
|
-
"SavingsPotential": 456,
|
|
32
|
-
"Achievement": 0.2,
|
|
33
|
-
"IsComplete": false,
|
|
34
|
-
"Date": "2020-01-01T00:00:00.000Z",
|
|
35
|
-
"Integer": 1324275242,
|
|
36
|
-
"Calculated column": 542.64
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
"Milestones": [
|
|
40
|
-
{
|
|
41
|
-
"Id": "msid1",
|
|
42
|
-
"InitiativeId": "iid1",
|
|
43
|
-
"StartDate": "2018-02-03T00:00:00.000Z",
|
|
44
|
-
"EndDate": "2019-06-18T00:00:00.000Z"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"Id": "msid2",
|
|
48
|
-
"InitiativeId": "iid1",
|
|
49
|
-
"StartDate": "2018-01-24T00:00:00.000Z",
|
|
50
|
-
"EndDate": "2019-06-08T00:00:00.000Z"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"Id": "msid3",
|
|
54
|
-
"InitiativeId": "iid2",
|
|
55
|
-
"StartDate": "2018-01-14T00:00:00.000Z",
|
|
56
|
-
"EndDate": "2019-05-29T00:00:00.000Z"
|
|
57
|
-
}
|
|
58
|
-
],
|
|
59
|
-
"Status": [
|
|
60
|
-
{
|
|
61
|
-
"Id": "uuidStatus1",
|
|
62
|
-
"Label": "On track"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"Id": "uuidStatus2",
|
|
66
|
-
"Label": "Some progress"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"Id": "uuidStatus3",
|
|
70
|
-
"Label": "Delayed"
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"Persons": [
|
|
74
|
-
{
|
|
75
|
-
"Id": "pid1",
|
|
76
|
-
"LastName": "Bolle"
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"Id": "pid2",
|
|
80
|
-
"LastName": "Zwille"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"Id": "pid3",
|
|
84
|
-
"LastName": "Ralle"
|
|
85
|
-
}
|
|
86
|
-
]
|
|
87
|
-
}
|
|
88
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"templateId": "template.xlsx",
|
|
3
|
-
"data": {
|
|
4
|
-
"OptionLookup": [
|
|
5
|
-
{
|
|
6
|
-
"Value": 10,
|
|
7
|
-
"Label": "Option 1",
|
|
8
|
-
"Id": "ck9ubsezi49h70913on5nqehs"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"Value": 20,
|
|
12
|
-
"Label": "Option 2",
|
|
13
|
-
"Id": "ck9ubsfm749hd0913txw6m74o"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"Value": 30,
|
|
17
|
-
"Label": "Option 3",
|
|
18
|
-
"Id": "ck9ubsg5h49hj09139vznevw7"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"Value": 40,
|
|
22
|
-
"Label": "Option 4",
|
|
23
|
-
"Id": "ck9ubsgp449hp0913ac9rk3a2"
|
|
24
|
-
}
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"templateId": "template.xlsx",
|
|
3
|
-
"data": {
|
|
4
|
-
"Initiatives": [
|
|
5
|
-
{
|
|
6
|
-
"Id": "1",
|
|
7
|
-
"SomeNumber": 10
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"Id": "2",
|
|
11
|
-
"SomeNumber": 20
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"Id": "3",
|
|
15
|
-
"SomeNumber": 30
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"Id": "4",
|
|
19
|
-
"SomeNumber": 1
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"Id": "5",
|
|
23
|
-
"SomeNumber": -10
|
|
24
|
-
}
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"templateId": "template.xlsx",
|
|
3
|
-
"data": {
|
|
4
|
-
"Initiatives": [
|
|
5
|
-
{
|
|
6
|
-
"Id": "uuidInitiative1",
|
|
7
|
-
"Name": "Initiative 1",
|
|
8
|
-
"StatusId": "uuidStatus1",
|
|
9
|
-
"SavingsPotential": 123.3,
|
|
10
|
-
"Achievement": 0.12,
|
|
11
|
-
"IsComplete": false,
|
|
12
|
-
"Date": "2018-04-11T00:00:00.000Z",
|
|
13
|
-
"Integer": 1,
|
|
14
|
-
"Calculated column": 146.727
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"Id": "uuidInitiative2",
|
|
18
|
-
"Name": "Initiative 2",
|
|
19
|
-
"StatusId": "uuidStatus2",
|
|
20
|
-
"SavingsPotential": null,
|
|
21
|
-
"Achievement": 0,
|
|
22
|
-
"IsComplete": true,
|
|
23
|
-
"Date": "1966-05-01T00:00:00.000Z",
|
|
24
|
-
"Integer": -246537347,
|
|
25
|
-
"Calculated column": 0
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"Id": "uuidInitiative3",
|
|
29
|
-
"Name": "Initiative 3",
|
|
30
|
-
"StatusId": "uuidStatus3",
|
|
31
|
-
"SavingsPotential": 456,
|
|
32
|
-
"Achievement": 0.2,
|
|
33
|
-
"IsComplete": false,
|
|
34
|
-
"Date": "2020-01-01T00:00:00.000Z",
|
|
35
|
-
"Integer": 1324275242,
|
|
36
|
-
"Calculated column": 542.64
|
|
37
|
-
}
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { Export } from '../../lib';
|
|
2
|
-
declare type Widen<T> = T extends string ? string : T extends number ? number : T extends boolean ? boolean : T extends Array<infer A> ? Array<Widen<A>> : T extends Record<infer X, infer Y> ? Record<X, Widen<Y>> : T;
|
|
3
|
-
declare type WidenExport = Widen<Export.TemplateIdBody>;
|
|
4
|
-
export declare const columnFormatting: WidenExport;
|
|
5
|
-
export declare const date: Export.TemplateIdBody;
|
|
6
|
-
export declare const days: Export.TemplateIdBody;
|
|
7
|
-
export declare const formats: WidenExport;
|
|
8
|
-
export declare const formulasAndLookups: Export.TemplateIdBody;
|
|
9
|
-
export declare const multiColumnWithFixedColumn: Export.TemplateIdBody;
|
|
10
|
-
export declare const multipleObjects: Export.TemplateIdBody;
|
|
11
|
-
export declare const multipleObjectsAndTables: Export.TemplateIdBody;
|
|
12
|
-
export declare const multipleTables: Export.TemplateIdBody;
|
|
13
|
-
export declare const multiSheetColumnFixedTopleft: WidenExport;
|
|
14
|
-
export declare const multiSheetColumn: WidenExport;
|
|
15
|
-
export declare const multiSheetColumnFixed: WidenExport;
|
|
16
|
-
export declare const multiSheetColumnSimple: WidenExport;
|
|
17
|
-
export declare const multiSheetColumnSimpleDash: WidenExport;
|
|
18
|
-
export declare const multiSheetSimple: WidenExport;
|
|
19
|
-
export declare const object: Export.TemplateIdBody;
|
|
20
|
-
export declare const queryTable: Export.TemplateIdBody;
|
|
21
|
-
export declare const queryTableSimple: Export.TemplateIdBody;
|
|
22
|
-
export declare const sheets: Export.TemplateIdBody;
|
|
23
|
-
export declare const table: Export.TemplateIdBody;
|
|
24
|
-
export declare const tableWithCalculations: Export.TemplateIdBody;
|
|
25
|
-
export declare const utc: Export.TemplateIdBody;
|
|
26
|
-
export {};
|