@8ms/helpers 1.42.15 → 1.42.16
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/.idea/8ms-helpers-ts-v1.iml +8 -0
- package/.idea/awsToolkit.xml +17 -0
- package/.idea/db-forest-config.xml +13 -0
- package/.idea/modules.xml +8 -0
- package/.idea/php.xml +19 -0
- package/.idea/vcs.xml +6 -0
- package/.yarnrc.yml +9 -0
- package/dist/_virtual/_rolldown/runtime.mjs +1 -1
- package/dist/date/format.cjs +0 -1
- package/dist/date/getDatesBetween.cjs +0 -1
- package/dist/date/getFinancialYear.cjs +0 -1
- package/dist/date/getFinancialYearWeeks.cjs +0 -1
- package/dist/date/getMax.cjs +0 -1
- package/dist/date/getMin.cjs +0 -1
- package/dist/date/getMonday.cjs +0 -1
- package/dist/date/getNumber.cjs +0 -1
- package/dist/date/getSunday.cjs +0 -1
- package/dist/date/getWeeksAgo.cjs +0 -1
- package/dist/date/getYesterday.cjs +0 -1
- package/dist/date/isDateValid.cjs +0 -1
- package/dist/lumar/graphql/queries/getRows.d.cts +6 -6
- package/dist/lumar/graphql/queries/getRows.d.mts +6 -6
- package/dist/lumar/graphql/queries/getTotals.d.cts +1 -1
- package/dist/lumar/graphql/queries/getTotals.d.mts +1 -1
- package/dist/url/writeUrlContents.cjs +0 -1
- package/package.json +32 -32
- package/tsdown.config.ts +15 -15
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="WEB_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$" />
|
|
5
|
+
<orderEntry type="inheritedJdk" />
|
|
6
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
|
+
</component>
|
|
8
|
+
</module>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="toolkitAccountSettings">
|
|
4
|
+
<option name="activeProfile" value="profile:default" />
|
|
5
|
+
<option name="activeRegion" value="eu-west-1" />
|
|
6
|
+
<option name="recentlyUsedProfiles">
|
|
7
|
+
<list>
|
|
8
|
+
<option value="profile:default" />
|
|
9
|
+
</list>
|
|
10
|
+
</option>
|
|
11
|
+
<option name="recentlyUsedRegions">
|
|
12
|
+
<list>
|
|
13
|
+
<option value="eu-west-1" />
|
|
14
|
+
</list>
|
|
15
|
+
</option>
|
|
16
|
+
</component>
|
|
17
|
+
</project>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="db-forest-configuration">
|
|
4
|
+
<data version="2">.
|
|
5
|
+
1:0:a7881559-a76a-49c2-8f5b-665779dab384:_global
|
|
6
|
+
----------------------------------------
|
|
7
|
+
2:1:ff02d9e7-7ec4-4be3-aba0-2600c004238b
|
|
8
|
+
3:1:4eea7568-a9b1-46b9-bd53-ab9887460012
|
|
9
|
+
4:1:4569b737-1959-4dd2-9f00-fb3ae3a858d2
|
|
10
|
+
5:1:b7b936e9-d542-4309-acfc-ca4499481b03
|
|
11
|
+
.</data>
|
|
12
|
+
</component>
|
|
13
|
+
</project>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/8ms-helpers-ts-v1.iml" filepath="$PROJECT_DIR$/.idea/8ms-helpers-ts-v1.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
package/.idea/php.xml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="MessDetectorOptionsConfiguration">
|
|
4
|
+
<option name="transferred" value="true" />
|
|
5
|
+
</component>
|
|
6
|
+
<component name="PHPCSFixerOptionsConfiguration">
|
|
7
|
+
<option name="transferred" value="true" />
|
|
8
|
+
</component>
|
|
9
|
+
<component name="PHPCodeSnifferOptionsConfiguration">
|
|
10
|
+
<option name="highlightLevel" value="WARNING" />
|
|
11
|
+
<option name="transferred" value="true" />
|
|
12
|
+
</component>
|
|
13
|
+
<component name="PhpStanOptionsConfiguration">
|
|
14
|
+
<option name="transferred" value="true" />
|
|
15
|
+
</component>
|
|
16
|
+
<component name="PsalmOptionsConfiguration">
|
|
17
|
+
<option name="transferred" value="true" />
|
|
18
|
+
</component>
|
|
19
|
+
</project>
|
package/.idea/vcs.xml
ADDED
package/.yarnrc.yml
CHANGED
package/dist/date/format.cjs
CHANGED
package/dist/date/getMax.cjs
CHANGED
package/dist/date/getMin.cjs
CHANGED
package/dist/date/getMonday.cjs
CHANGED
package/dist/date/getNumber.cjs
CHANGED
package/dist/date/getSunday.cjs
CHANGED
|
@@ -22,19 +22,19 @@ declare const getRows: ({
|
|
|
22
22
|
reportTypeCode
|
|
23
23
|
}: GetRows) => {
|
|
24
24
|
id: string;
|
|
25
|
-
after: string;
|
|
26
|
-
before: string;
|
|
25
|
+
after: string | undefined;
|
|
26
|
+
before: string | undefined;
|
|
27
27
|
crawlId: number;
|
|
28
28
|
filter: object;
|
|
29
29
|
first: number;
|
|
30
30
|
last: number;
|
|
31
|
-
orderBy: object;
|
|
31
|
+
orderBy: object | undefined;
|
|
32
32
|
query: string;
|
|
33
33
|
reportTemplateCode: string;
|
|
34
34
|
reportTypeCode: string;
|
|
35
35
|
variables: {
|
|
36
|
-
after: string;
|
|
37
|
-
before: string;
|
|
36
|
+
after: string | undefined;
|
|
37
|
+
before: string | undefined;
|
|
38
38
|
filter: object;
|
|
39
39
|
first: number;
|
|
40
40
|
input: {
|
|
@@ -43,7 +43,7 @@ declare const getRows: ({
|
|
|
43
43
|
reportTypeCode: string;
|
|
44
44
|
};
|
|
45
45
|
last: number;
|
|
46
|
-
orderBy: object;
|
|
46
|
+
orderBy: object | null;
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
export = getRows;
|
|
@@ -22,19 +22,19 @@ declare const getRows: ({
|
|
|
22
22
|
reportTypeCode
|
|
23
23
|
}: GetRows) => {
|
|
24
24
|
id: string;
|
|
25
|
-
after: string;
|
|
26
|
-
before: string;
|
|
25
|
+
after: string | undefined;
|
|
26
|
+
before: string | undefined;
|
|
27
27
|
crawlId: number;
|
|
28
28
|
filter: object;
|
|
29
29
|
first: number;
|
|
30
30
|
last: number;
|
|
31
|
-
orderBy: object;
|
|
31
|
+
orderBy: object | undefined;
|
|
32
32
|
query: string;
|
|
33
33
|
reportTemplateCode: string;
|
|
34
34
|
reportTypeCode: string;
|
|
35
35
|
variables: {
|
|
36
|
-
after: string;
|
|
37
|
-
before: string;
|
|
36
|
+
after: string | undefined;
|
|
37
|
+
before: string | undefined;
|
|
38
38
|
filter: object;
|
|
39
39
|
first: number;
|
|
40
40
|
input: {
|
|
@@ -43,7 +43,7 @@ declare const getRows: ({
|
|
|
43
43
|
reportTypeCode: string;
|
|
44
44
|
};
|
|
45
45
|
last: number;
|
|
46
|
-
orderBy: object;
|
|
46
|
+
orderBy: object | null;
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@8ms/helpers",
|
|
3
3
|
"license": "UNLICENSED",
|
|
4
|
-
"version": "1.42.
|
|
4
|
+
"version": "1.42.16",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/8millionstories-organisation/8ms-helpers-ts.git"
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
"jest": "jest --watch"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@date-fns/tz": "1.
|
|
15
|
-
"@date-fns/utc": "2.1.
|
|
14
|
+
"@date-fns/tz": "1.5.0",
|
|
15
|
+
"@date-fns/utc": "2.1.1",
|
|
16
16
|
"crypto-js": "4.2.0",
|
|
17
|
-
"date-fns": "4.
|
|
18
|
-
"fs-extra": "11.3.
|
|
17
|
+
"date-fns": "4.4.0",
|
|
18
|
+
"fs-extra": "11.3.5",
|
|
19
19
|
"ky": "1.14.3",
|
|
20
20
|
"lodash": "4.18.1",
|
|
21
|
-
"zod": "4.3
|
|
21
|
+
"zod": "4.4.3"
|
|
22
22
|
},
|
|
23
23
|
"peerDependenciesMeta": {
|
|
24
24
|
"@aws-sdk/client-ec2": {
|
|
@@ -109,24 +109,24 @@
|
|
|
109
109
|
"stream-json": "*"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
|
-
"@aws-sdk/client-ec2": "3.
|
|
113
|
-
"@aws-sdk/client-ecs": "3.
|
|
114
|
-
"@aws-sdk/client-glue": "3.
|
|
115
|
-
"@aws-sdk/client-lambda": "3.
|
|
116
|
-
"@aws-sdk/client-s3": "3.
|
|
117
|
-
"@aws-sdk/client-ses": "3.
|
|
118
|
-
"@aws-sdk/client-sqs": "3.
|
|
119
|
-
"@aws-sdk/client-ssm": "3.
|
|
120
|
-
"@aws-sdk/lib-storage": "3.
|
|
121
|
-
"@aws-sdk/s3-presigned-post": "3.
|
|
122
|
-
"@aws-sdk/s3-request-presigner": "3.
|
|
123
|
-
"@babel/core": "
|
|
124
|
-
"@babel/preset-env": "
|
|
125
|
-
"@babel/preset-flow": "
|
|
126
|
-
"@babel/preset-typescript": "
|
|
127
|
-
"@google-cloud/bigquery": "8.
|
|
128
|
-
"@google-cloud/storage": "7.
|
|
129
|
-
"@googleapis/sheets": "13.0.
|
|
112
|
+
"@aws-sdk/client-ec2": "3.1073.0",
|
|
113
|
+
"@aws-sdk/client-ecs": "3.1073.0",
|
|
114
|
+
"@aws-sdk/client-glue": "3.1073.0",
|
|
115
|
+
"@aws-sdk/client-lambda": "3.1073.0",
|
|
116
|
+
"@aws-sdk/client-s3": "3.1073.0",
|
|
117
|
+
"@aws-sdk/client-ses": "3.1073.0",
|
|
118
|
+
"@aws-sdk/client-sqs": "3.1073.0",
|
|
119
|
+
"@aws-sdk/client-ssm": "3.1073.0",
|
|
120
|
+
"@aws-sdk/lib-storage": "3.1073.0",
|
|
121
|
+
"@aws-sdk/s3-presigned-post": "3.1073.0",
|
|
122
|
+
"@aws-sdk/s3-request-presigner": "3.1073.0",
|
|
123
|
+
"@babel/core": "8.0.1",
|
|
124
|
+
"@babel/preset-env": "8.0.2",
|
|
125
|
+
"@babel/preset-flow": "8.0.1",
|
|
126
|
+
"@babel/preset-typescript": "8.0.1",
|
|
127
|
+
"@google-cloud/bigquery": "8.3.1",
|
|
128
|
+
"@google-cloud/storage": "7.21.0",
|
|
129
|
+
"@googleapis/sheets": "13.0.2",
|
|
130
130
|
"@planetscale/database": "1.20.1",
|
|
131
131
|
"@prisma/adapter-planetscale": "5.22.0",
|
|
132
132
|
"@prisma/client": "5.22.0",
|
|
@@ -135,18 +135,18 @@
|
|
|
135
135
|
"@types/fs-extra": "11.0.4",
|
|
136
136
|
"@types/jest": "^30.0.0",
|
|
137
137
|
"@types/lodash": "4.17.24",
|
|
138
|
-
"@types/node": "24.
|
|
139
|
-
"babel-jest": "30.
|
|
140
|
-
"google-ads-api": "23.0.
|
|
141
|
-
"jest": "30.
|
|
138
|
+
"@types/node": "24.13.2",
|
|
139
|
+
"babel-jest": "30.4.1",
|
|
140
|
+
"google-ads-api": "23.0.1",
|
|
141
|
+
"jest": "30.4.2",
|
|
142
142
|
"node-fetch": "3.3.2",
|
|
143
|
-
"stream-chain": "3.6.
|
|
143
|
+
"stream-chain": "3.6.3",
|
|
144
144
|
"stream-json": "2.1.0",
|
|
145
|
-
"timezone-mock": "1.4.
|
|
145
|
+
"timezone-mock": "1.4.3",
|
|
146
146
|
"ts-node": "10.9.2",
|
|
147
|
-
"tsdown": "^0.
|
|
147
|
+
"tsdown": "^0.22.3",
|
|
148
148
|
"tslib": "2.8.1",
|
|
149
|
-
"typescript": "
|
|
149
|
+
"typescript": "6.0.3",
|
|
150
150
|
"zlib": "1.0.5"
|
|
151
151
|
},
|
|
152
152
|
"exports": {
|
package/tsdown.config.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {defineConfig} from "tsdown";
|
|
2
|
-
|
|
3
|
-
export default defineConfig({
|
|
4
|
-
entry : [
|
|
5
|
-
"src/**/*.ts",
|
|
6
|
-
"!src/**/*.test.ts",
|
|
7
|
-
"!src/**/*.d.ts"
|
|
8
|
-
],
|
|
9
|
-
format : ["esm", "cjs"],
|
|
10
|
-
outDir : "dist",
|
|
11
|
-
unbundle: true,
|
|
12
|
-
dts : true,
|
|
13
|
-
exports : true,
|
|
14
|
-
clean : true,
|
|
15
|
-
});
|
|
1
|
+
import {defineConfig} from "tsdown";
|
|
2
|
+
|
|
3
|
+
export default defineConfig({
|
|
4
|
+
entry : [
|
|
5
|
+
"src/**/*.ts",
|
|
6
|
+
"!src/**/*.test.ts",
|
|
7
|
+
"!src/**/*.d.ts"
|
|
8
|
+
],
|
|
9
|
+
format : ["esm", "cjs"],
|
|
10
|
+
outDir : "dist",
|
|
11
|
+
unbundle: true,
|
|
12
|
+
dts : true,
|
|
13
|
+
exports : true,
|
|
14
|
+
clean : true,
|
|
15
|
+
});
|