Skip to content

Commit 1ef3f73

Browse files
committed
Merge branch 'main' into fix/54849
2 parents 66ad79b + 7b8bb55 commit 1ef3f73

File tree

165 files changed

+33623
-8526
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+33623
-8526
lines changed

.eslintrc.changed.js

+27-2
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,24 @@ module.exports = {
77
rules: {
88
'deprecation/deprecation': 'error',
99
'rulesdir/no-default-id-values': 'error',
10+
'no-restricted-syntax': [
11+
'error',
12+
{
13+
selector: 'ImportNamespaceSpecifier[parent.source.value=/^@libs/]',
14+
message: 'Namespace imports from @libs are not allowed. Use named imports instead. Example: import { method } from "@libs/module"',
15+
},
16+
{
17+
selector: 'ImportNamespaceSpecifier[parent.source.value=/^@userActions/]',
18+
message: 'Namespace imports from @userActions are not allowed. Use named imports instead. Example: import { action } from "@userActions/module"',
19+
},
20+
],
1021
},
1122
overrides: [
1223
{
1324
files: [
1425
'src/libs/actions/IOU.ts',
1526
'src/libs/actions/Report.ts',
16-
'src/libs/actions/Task.ts',
1727
'src/libs/OptionsListUtils.ts',
18-
'src/libs/TransactionUtils/index.ts',
1928
'src/pages/home/ReportScreen.tsx',
2029
'src/pages/workspace/WorkspaceInitialPage.tsx',
2130
'src/pages/home/report/PureReportActionItem.tsx',
@@ -24,5 +33,21 @@ module.exports = {
2433
'rulesdir/no-default-id-values': 'off',
2534
},
2635
},
36+
{
37+
files: ['**/libs/**/*.{ts,tsx}'],
38+
rules: {
39+
'no-restricted-syntax': [
40+
'error',
41+
{
42+
selector: 'ImportNamespaceSpecifier[parent.source.value=/^\\.\\./]',
43+
message: 'Namespace imports are not allowed. Use named imports instead. Example: import { method } from "../libs/module"',
44+
},
45+
{
46+
selector: 'ImportNamespaceSpecifier[parent.source.value=/^\\./]',
47+
message: 'Namespace imports are not allowed. Use named imports instead. Example: import { method } from "./libs/module"',
48+
},
49+
],
50+
},
51+
},
2752
],
2853
};

.github/actions/javascript/authorChecklist/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -17258,7 +17258,7 @@ const CONST = {
1725817258
},
1725917259
ACTIONS: {
1726017260
CREATED: 'created',
17261-
EDIT: 'edited',
17261+
EDITED: 'edited',
1726217262
},
1726317263
EVENTS: {
1726417264
ISSUE_COMMENT: 'issue_comment',
@@ -17277,6 +17277,8 @@ const CONST = {
1727717277
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
1727817278
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
1727917279
NO_ACTION: 'NO_ACTION',
17280+
ACTION_EDIT: 'ACTION_EDIT',
17281+
ACTION_REQUIRED: 'ACTION_REQUIRED',
1728017282
OPENAI_POLL_RATE: 1500,
1728117283
OPENAI_POLL_TIMEOUT: 90000,
1728217284
};

.github/actions/javascript/awaitStagingDeploys/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -12262,7 +12262,7 @@ const CONST = {
1226212262
},
1226312263
ACTIONS: {
1226412264
CREATED: 'created',
12265-
EDIT: 'edited',
12265+
EDITED: 'edited',
1226612266
},
1226712267
EVENTS: {
1226812268
ISSUE_COMMENT: 'issue_comment',
@@ -12281,6 +12281,8 @@ const CONST = {
1228112281
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
1228212282
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
1228312283
NO_ACTION: 'NO_ACTION',
12284+
ACTION_EDIT: 'ACTION_EDIT',
12285+
ACTION_REQUIRED: 'ACTION_REQUIRED',
1228412286
OPENAI_POLL_RATE: 1500,
1228512287
OPENAI_POLL_TIMEOUT: 90000,
1228612288
};

.github/actions/javascript/checkAndroidStatus/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -736655,7 +736655,7 @@ const CONST = {
736655736655
},
736656736656
ACTIONS: {
736657736657
CREATED: 'created',
736658-
EDIT: 'edited',
736658+
EDITED: 'edited',
736659736659
},
736660736660
EVENTS: {
736661736661
ISSUE_COMMENT: 'issue_comment',
@@ -736674,6 +736674,8 @@ const CONST = {
736674736674
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
736675736675
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
736676736676
NO_ACTION: 'NO_ACTION',
736677+
ACTION_EDIT: 'ACTION_EDIT',
736678+
ACTION_REQUIRED: 'ACTION_REQUIRED',
736677736679
OPENAI_POLL_RATE: 1500,
736678736680
OPENAI_POLL_TIMEOUT: 90000,
736679736681
};

.github/actions/javascript/checkDeployBlockers/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -11545,7 +11545,7 @@ const CONST = {
1154511545
},
1154611546
ACTIONS: {
1154711547
CREATED: 'created',
11548-
EDIT: 'edited',
11548+
EDITED: 'edited',
1154911549
},
1155011550
EVENTS: {
1155111551
ISSUE_COMMENT: 'issue_comment',
@@ -11564,6 +11564,8 @@ const CONST = {
1156411564
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
1156511565
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
1156611566
NO_ACTION: 'NO_ACTION',
11567+
ACTION_EDIT: 'ACTION_EDIT',
11568+
ACTION_REQUIRED: 'ACTION_REQUIRED',
1156711569
OPENAI_POLL_RATE: 1500,
1156811570
OPENAI_POLL_TIMEOUT: 90000,
1156911571
};

.github/actions/javascript/createOrUpdateStagingDeploy/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -11608,7 +11608,7 @@ const CONST = {
1160811608
},
1160911609
ACTIONS: {
1161011610
CREATED: 'created',
11611-
EDIT: 'edited',
11611+
EDITED: 'edited',
1161211612
},
1161311613
EVENTS: {
1161411614
ISSUE_COMMENT: 'issue_comment',
@@ -11627,6 +11627,8 @@ const CONST = {
1162711627
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
1162811628
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
1162911629
NO_ACTION: 'NO_ACTION',
11630+
ACTION_EDIT: 'ACTION_EDIT',
11631+
ACTION_REQUIRED: 'ACTION_REQUIRED',
1163011632
OPENAI_POLL_RATE: 1500,
1163111633
OPENAI_POLL_TIMEOUT: 90000,
1163211634
};

.github/actions/javascript/getArtifactInfo/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -11506,7 +11506,7 @@ const CONST = {
1150611506
},
1150711507
ACTIONS: {
1150811508
CREATED: 'created',
11509-
EDIT: 'edited',
11509+
EDITED: 'edited',
1151011510
},
1151111511
EVENTS: {
1151211512
ISSUE_COMMENT: 'issue_comment',
@@ -11525,6 +11525,8 @@ const CONST = {
1152511525
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
1152611526
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
1152711527
NO_ACTION: 'NO_ACTION',
11528+
ACTION_EDIT: 'ACTION_EDIT',
11529+
ACTION_REQUIRED: 'ACTION_REQUIRED',
1152811530
OPENAI_POLL_RATE: 1500,
1152911531
OPENAI_POLL_TIMEOUT: 90000,
1153011532
};

.github/actions/javascript/getDeployPullRequestList/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -11649,7 +11649,7 @@ const CONST = {
1164911649
},
1165011650
ACTIONS: {
1165111651
CREATED: 'created',
11652-
EDIT: 'edited',
11652+
EDITED: 'edited',
1165311653
},
1165411654
EVENTS: {
1165511655
ISSUE_COMMENT: 'issue_comment',
@@ -11668,6 +11668,8 @@ const CONST = {
1166811668
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
1166911669
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
1167011670
NO_ACTION: 'NO_ACTION',
11671+
ACTION_EDIT: 'ACTION_EDIT',
11672+
ACTION_REQUIRED: 'ACTION_REQUIRED',
1167111673
OPENAI_POLL_RATE: 1500,
1167211674
OPENAI_POLL_TIMEOUT: 90000,
1167311675
};

.github/actions/javascript/getPreviousVersion/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -2773,7 +2773,7 @@ const CONST = {
27732773
},
27742774
ACTIONS: {
27752775
CREATED: 'created',
2776-
EDIT: 'edited',
2776+
EDITED: 'edited',
27772777
},
27782778
EVENTS: {
27792779
ISSUE_COMMENT: 'issue_comment',
@@ -2792,6 +2792,8 @@ const CONST = {
27922792
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
27932793
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
27942794
NO_ACTION: 'NO_ACTION',
2795+
ACTION_EDIT: 'ACTION_EDIT',
2796+
ACTION_REQUIRED: 'ACTION_REQUIRED',
27952797
OPENAI_POLL_RATE: 1500,
27962798
OPENAI_POLL_TIMEOUT: 90000,
27972799
};

.github/actions/javascript/getPullRequestDetails/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -11608,7 +11608,7 @@ const CONST = {
1160811608
},
1160911609
ACTIONS: {
1161011610
CREATED: 'created',
11611-
EDIT: 'edited',
11611+
EDITED: 'edited',
1161211612
},
1161311613
EVENTS: {
1161411614
ISSUE_COMMENT: 'issue_comment',
@@ -11627,6 +11627,8 @@ const CONST = {
1162711627
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
1162811628
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
1162911629
NO_ACTION: 'NO_ACTION',
11630+
ACTION_EDIT: 'ACTION_EDIT',
11631+
ACTION_REQUIRED: 'ACTION_REQUIRED',
1163011632
OPENAI_POLL_RATE: 1500,
1163111633
OPENAI_POLL_TIMEOUT: 90000,
1163211634
};

.github/actions/javascript/isStagingDeployLocked/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -11506,7 +11506,7 @@ const CONST = {
1150611506
},
1150711507
ACTIONS: {
1150811508
CREATED: 'created',
11509-
EDIT: 'edited',
11509+
EDITED: 'edited',
1151011510
},
1151111511
EVENTS: {
1151211512
ISSUE_COMMENT: 'issue_comment',
@@ -11525,6 +11525,8 @@ const CONST = {
1152511525
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
1152611526
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
1152711527
NO_ACTION: 'NO_ACTION',
11528+
ACTION_EDIT: 'ACTION_EDIT',
11529+
ACTION_REQUIRED: 'ACTION_REQUIRED',
1152811530
OPENAI_POLL_RATE: 1500,
1152911531
OPENAI_POLL_TIMEOUT: 90000,
1153011532
};

.github/actions/javascript/markPullRequestsAsDeployed/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -12905,7 +12905,7 @@ const CONST = {
1290512905
},
1290612906
ACTIONS: {
1290712907
CREATED: 'created',
12908-
EDIT: 'edited',
12908+
EDITED: 'edited',
1290912909
},
1291012910
EVENTS: {
1291112911
ISSUE_COMMENT: 'issue_comment',
@@ -12924,6 +12924,8 @@ const CONST = {
1292412924
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
1292512925
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
1292612926
NO_ACTION: 'NO_ACTION',
12927+
ACTION_EDIT: 'ACTION_EDIT',
12928+
ACTION_REQUIRED: 'ACTION_REQUIRED',
1292712929
OPENAI_POLL_RATE: 1500,
1292812930
OPENAI_POLL_TIMEOUT: 90000,
1292912931
};

.github/actions/javascript/postTestBuildComment/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -11612,7 +11612,7 @@ const CONST = {
1161211612
},
1161311613
ACTIONS: {
1161411614
CREATED: 'created',
11615-
EDIT: 'edited',
11615+
EDITED: 'edited',
1161611616
},
1161711617
EVENTS: {
1161811618
ISSUE_COMMENT: 'issue_comment',
@@ -11631,6 +11631,8 @@ const CONST = {
1163111631
APP_REPO_URL: `https://github.com/${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}`,
1163211632
APP_REPO_GIT_URL: `git@github.com:${GIT_CONST.GITHUB_OWNER}/${GIT_CONST.APP_REPO}.git`,
1163311633
NO_ACTION: 'NO_ACTION',
11634+
ACTION_EDIT: 'ACTION_EDIT',
11635+
ACTION_REQUIRED: 'ACTION_REQUIRED',
1163411636
OPENAI_POLL_RATE: 1500,
1163511637
OPENAI_POLL_TIMEOUT: 90000,
1163611638
};

0 commit comments

Comments
 (0)