@cubejs-backend/testing 0.34.53 → 0.34.55
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.
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
cube(`Orders`, {
|
|
2
2
|
sql: `
|
|
3
|
-
select 1 as id, 100 as amount, 'new' status
|
|
3
|
+
select 1 as id, 100 as amount, 'new' status, '2024-01-01'::timestamptz created_at
|
|
4
4
|
UNION ALL
|
|
5
|
-
select 2 as id, 200 as amount, 'new' status
|
|
5
|
+
select 2 as id, 200 as amount, 'new' status, '2024-01-02'::timestamptz created_at
|
|
6
6
|
UNION ALL
|
|
7
|
-
select 3 as id, 300 as amount, 'processed' status
|
|
7
|
+
select 3 as id, 300 as amount, 'processed' status, '2024-01-03'::timestamptz created_at
|
|
8
8
|
UNION ALL
|
|
9
|
-
select 4 as id, 500 as amount, 'processed' status
|
|
9
|
+
select 4 as id, 500 as amount, 'processed' status, '2024-01-04'::timestamptz created_at
|
|
10
10
|
UNION ALL
|
|
11
|
-
select 5 as id, 600 as amount, 'shipped' status
|
|
11
|
+
select 5 as id, 600 as amount, 'shipped' status, '2024-01-05'::timestamptz created_at
|
|
12
12
|
`,
|
|
13
13
|
measures: {
|
|
14
14
|
count: {
|
|
@@ -23,9 +23,20 @@ cube(`Orders`, {
|
|
|
23
23
|
},
|
|
24
24
|
},
|
|
25
25
|
dimensions: {
|
|
26
|
+
id: {
|
|
27
|
+
sql: `id`,
|
|
28
|
+
type: `number`,
|
|
29
|
+
primaryKey: true,
|
|
30
|
+
},
|
|
31
|
+
|
|
26
32
|
status: {
|
|
27
33
|
sql: `status`,
|
|
28
34
|
type: `string`,
|
|
29
35
|
},
|
|
36
|
+
|
|
37
|
+
createdAt: {
|
|
38
|
+
sql: `created_at`,
|
|
39
|
+
type: `time`
|
|
40
|
+
}
|
|
30
41
|
},
|
|
31
42
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cubejs-backend/testing",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.55",
|
|
4
4
|
"description": "Cube.js e2e tests",
|
|
5
5
|
"author": "Cube Dev, Inc.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -87,13 +87,13 @@
|
|
|
87
87
|
"birdbox-fixtures"
|
|
88
88
|
],
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@cubejs-backend/cubestore-driver": "^0.34.
|
|
90
|
+
"@cubejs-backend/cubestore-driver": "^0.34.55",
|
|
91
91
|
"@cubejs-backend/dotenv": "^9.0.2",
|
|
92
|
-
"@cubejs-backend/postgres-driver": "^0.34.
|
|
93
|
-
"@cubejs-backend/query-orchestrator": "^0.34.
|
|
94
|
-
"@cubejs-backend/schema-compiler": "^0.34.
|
|
95
|
-
"@cubejs-backend/shared": "^0.34.
|
|
96
|
-
"@cubejs-backend/testing-shared": "^0.34.
|
|
92
|
+
"@cubejs-backend/postgres-driver": "^0.34.55",
|
|
93
|
+
"@cubejs-backend/query-orchestrator": "^0.34.55",
|
|
94
|
+
"@cubejs-backend/schema-compiler": "^0.34.55",
|
|
95
|
+
"@cubejs-backend/shared": "^0.34.55",
|
|
96
|
+
"@cubejs-backend/testing-shared": "^0.34.55",
|
|
97
97
|
"@cubejs-client/ws-transport": "^0.34.37",
|
|
98
98
|
"dedent": "^0.7.0",
|
|
99
99
|
"fs-extra": "^8.1.0",
|
|
@@ -142,5 +142,5 @@
|
|
|
142
142
|
"eslintConfig": {
|
|
143
143
|
"extends": "../cubejs-linter"
|
|
144
144
|
},
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "6a34a56eb7e7cd51640213cc43a76963fa566222"
|
|
146
146
|
}
|