@lokalise/harmony 2.1.0-exp-testingContracts.1 → 2.1.0-exp-testingContracts.3
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/dist/harmony.cjs +0 -1
- package/dist/harmony.cjs.map +1 -1
- package/dist/harmony.mjs +1 -2
- package/dist/harmony103.cjs +1 -1
- package/dist/harmony103.mjs +1 -1
- package/dist/harmony104.cjs +7 -7
- package/dist/harmony104.mjs +7 -7
- package/dist/harmony106.cjs +2 -2
- package/dist/harmony106.mjs +2 -2
- package/dist/harmony107.cjs +2 -165
- package/dist/harmony107.cjs.map +1 -1
- package/dist/harmony107.mjs +3 -166
- package/dist/harmony107.mjs.map +1 -1
- package/dist/harmony108.cjs +16 -42
- package/dist/harmony108.cjs.map +1 -1
- package/dist/harmony108.mjs +16 -42
- package/dist/harmony108.mjs.map +1 -1
- package/dist/harmony109.cjs +75 -13
- package/dist/harmony109.cjs.map +1 -1
- package/dist/harmony109.mjs +75 -13
- package/dist/harmony109.mjs.map +1 -1
- package/dist/harmony110.cjs +10 -10
- package/dist/harmony110.cjs.map +1 -1
- package/dist/harmony110.mjs +10 -10
- package/dist/harmony110.mjs.map +1 -1
- package/dist/harmony111.cjs +35 -13
- package/dist/harmony111.cjs.map +1 -1
- package/dist/harmony111.mjs +34 -12
- package/dist/harmony111.mjs.map +1 -1
- package/dist/harmony112.cjs +8 -10
- package/dist/harmony112.cjs.map +1 -1
- package/dist/harmony112.mjs +9 -11
- package/dist/harmony112.mjs.map +1 -1
- package/dist/harmony113.cjs +47 -21
- package/dist/harmony113.cjs.map +1 -1
- package/dist/harmony113.mjs +46 -20
- package/dist/harmony113.mjs.map +1 -1
- package/dist/harmony114.cjs +10 -4
- package/dist/harmony114.cjs.map +1 -1
- package/dist/harmony114.mjs +9 -3
- package/dist/harmony114.mjs.map +1 -1
- package/dist/harmony115.cjs +13 -17
- package/dist/harmony115.cjs.map +1 -1
- package/dist/harmony115.mjs +13 -17
- package/dist/harmony115.mjs.map +1 -1
- package/dist/harmony116.cjs +161 -71
- package/dist/harmony116.cjs.map +1 -1
- package/dist/harmony116.mjs +161 -71
- package/dist/harmony116.mjs.map +1 -1
- package/dist/harmony117.cjs +42 -10
- package/dist/harmony117.cjs.map +1 -1
- package/dist/harmony117.mjs +43 -11
- package/dist/harmony117.mjs.map +1 -1
- package/dist/harmony118.cjs +12 -34
- package/dist/harmony118.cjs.map +1 -1
- package/dist/harmony118.mjs +12 -34
- package/dist/harmony118.mjs.map +1 -1
- package/dist/harmony119.cjs +13 -10
- package/dist/harmony119.cjs.map +1 -1
- package/dist/harmony119.mjs +12 -9
- package/dist/harmony119.mjs.map +1 -1
- package/dist/harmony120.cjs +9 -45
- package/dist/harmony120.cjs.map +1 -1
- package/dist/harmony120.mjs +11 -47
- package/dist/harmony120.mjs.map +1 -1
- package/dist/harmony121.cjs +20 -8
- package/dist/harmony121.cjs.map +1 -1
- package/dist/harmony121.mjs +20 -8
- package/dist/harmony121.mjs.map +1 -1
- package/dist/harmony123.cjs +87 -7
- package/dist/harmony123.cjs.map +1 -1
- package/dist/harmony123.mjs +87 -7
- package/dist/harmony123.mjs.map +1 -1
- package/dist/harmony124.cjs +30 -17
- package/dist/harmony124.cjs.map +1 -1
- package/dist/harmony124.mjs +30 -17
- package/dist/harmony124.mjs.map +1 -1
- package/dist/harmony125.cjs +20 -8
- package/dist/harmony125.cjs.map +1 -1
- package/dist/harmony125.mjs +20 -8
- package/dist/harmony125.mjs.map +1 -1
- package/dist/harmony126.cjs +7 -8
- package/dist/harmony126.cjs.map +1 -1
- package/dist/harmony126.mjs +7 -8
- package/dist/harmony126.mjs.map +1 -1
- package/dist/harmony127.cjs +16 -14
- package/dist/harmony127.cjs.map +1 -1
- package/dist/harmony127.mjs +16 -14
- package/dist/harmony127.mjs.map +1 -1
- package/dist/harmony128.cjs +8 -20
- package/dist/harmony128.cjs.map +1 -1
- package/dist/harmony128.mjs +8 -20
- package/dist/harmony128.mjs.map +1 -1
- package/dist/harmony129.cjs +7 -86
- package/dist/harmony129.cjs.map +1 -1
- package/dist/harmony129.mjs +7 -86
- package/dist/harmony129.mjs.map +1 -1
- package/dist/harmony130.cjs +15 -30
- package/dist/harmony130.cjs.map +1 -1
- package/dist/harmony130.mjs +15 -30
- package/dist/harmony130.mjs.map +1 -1
- package/dist/harmony132.cjs +2 -2
- package/dist/harmony132.mjs +2 -2
- package/dist/harmony133.cjs +2 -2
- package/dist/harmony133.mjs +2 -2
- package/dist/harmony134.cjs +3 -3
- package/dist/harmony134.mjs +3 -3
- package/dist/harmony135.cjs +1 -1
- package/dist/harmony135.mjs +1 -1
- package/dist/harmony136.cjs +3 -3
- package/dist/harmony136.mjs +3 -3
- package/dist/harmony137.cjs +2 -2
- package/dist/harmony137.mjs +2 -2
- package/dist/harmony138.cjs +2 -2
- package/dist/harmony138.mjs +2 -2
- package/dist/harmony139.cjs +2 -2
- package/dist/harmony139.mjs +2 -2
- package/dist/harmony140.cjs +2 -2
- package/dist/harmony140.mjs +2 -2
- package/dist/harmony141.cjs +3 -3
- package/dist/harmony141.mjs +3 -3
- package/dist/harmony143.cjs +1 -1
- package/dist/harmony143.mjs +1 -1
- package/dist/harmony148.cjs +10 -3
- package/dist/harmony148.cjs.map +1 -1
- package/dist/harmony148.mjs +10 -3
- package/dist/harmony148.mjs.map +1 -1
- package/dist/harmony149.cjs +3 -3
- package/dist/harmony149.cjs.map +1 -1
- package/dist/harmony149.mjs +3 -3
- package/dist/harmony149.mjs.map +1 -1
- package/dist/harmony150.cjs +3 -3
- package/dist/harmony150.cjs.map +1 -1
- package/dist/harmony150.mjs +3 -3
- package/dist/harmony150.mjs.map +1 -1
- package/dist/harmony151.cjs +3 -14
- package/dist/harmony151.cjs.map +1 -1
- package/dist/harmony151.mjs +3 -14
- package/dist/harmony151.mjs.map +1 -1
- package/dist/harmony152.cjs +7 -7
- package/dist/harmony152.cjs.map +1 -1
- package/dist/harmony152.mjs +7 -7
- package/dist/harmony152.mjs.map +1 -1
- package/dist/harmony153.cjs +14 -3
- package/dist/harmony153.cjs.map +1 -1
- package/dist/harmony153.mjs +14 -3
- package/dist/harmony153.mjs.map +1 -1
- package/dist/harmony154.cjs +3 -10
- package/dist/harmony154.cjs.map +1 -1
- package/dist/harmony154.mjs +3 -10
- package/dist/harmony154.mjs.map +1 -1
- package/dist/harmony160.cjs +9 -32
- package/dist/harmony160.cjs.map +1 -1
- package/dist/harmony160.mjs +8 -31
- package/dist/harmony160.mjs.map +1 -1
- package/dist/harmony161.cjs +3 -6
- package/dist/harmony161.cjs.map +1 -1
- package/dist/harmony161.mjs +3 -6
- package/dist/harmony161.mjs.map +1 -1
- package/dist/harmony162.cjs +6 -3
- package/dist/harmony162.cjs.map +1 -1
- package/dist/harmony162.mjs +6 -3
- package/dist/harmony162.mjs.map +1 -1
- package/dist/harmony163.cjs +21 -6
- package/dist/harmony163.cjs.map +1 -1
- package/dist/harmony163.mjs +21 -6
- package/dist/harmony163.mjs.map +1 -1
- package/dist/harmony164.cjs +3 -21
- package/dist/harmony164.cjs.map +1 -1
- package/dist/harmony164.mjs +3 -21
- package/dist/harmony164.mjs.map +1 -1
- package/dist/harmony165.cjs +9 -3
- package/dist/harmony165.cjs.map +1 -1
- package/dist/harmony165.mjs +9 -3
- package/dist/harmony165.mjs.map +1 -1
- package/dist/harmony166.cjs +3 -9
- package/dist/harmony166.cjs.map +1 -1
- package/dist/harmony166.mjs +3 -9
- package/dist/harmony166.mjs.map +1 -1
- package/dist/harmony167.cjs +32 -6
- package/dist/harmony167.cjs.map +1 -1
- package/dist/harmony167.mjs +31 -5
- package/dist/harmony167.mjs.map +1 -1
- package/dist/harmony168.cjs +1 -1
- package/dist/harmony168.mjs +1 -1
- package/dist/harmony169.cjs +1 -1
- package/dist/harmony169.mjs +1 -1
- package/dist/harmony17.cjs +1 -1
- package/dist/harmony17.mjs +1 -1
- package/dist/harmony170.cjs +2 -2
- package/dist/harmony170.mjs +2 -2
- package/dist/harmony171.cjs +11 -4
- package/dist/harmony171.cjs.map +1 -1
- package/dist/harmony171.mjs +11 -4
- package/dist/harmony171.mjs.map +1 -1
- package/dist/harmony172.cjs +15 -10
- package/dist/harmony172.cjs.map +1 -1
- package/dist/harmony172.mjs +15 -10
- package/dist/harmony172.mjs.map +1 -1
- package/dist/harmony173.cjs +18 -13
- package/dist/harmony173.cjs.map +1 -1
- package/dist/harmony173.mjs +18 -13
- package/dist/harmony173.mjs.map +1 -1
- package/dist/harmony174.cjs +10 -19
- package/dist/harmony174.cjs.map +1 -1
- package/dist/harmony174.mjs +10 -19
- package/dist/harmony174.mjs.map +1 -1
- package/dist/harmony175.cjs +4 -12
- package/dist/harmony175.cjs.map +1 -1
- package/dist/harmony175.mjs +4 -12
- package/dist/harmony175.mjs.map +1 -1
- package/dist/harmony20.cjs +1 -1
- package/dist/harmony20.mjs +1 -1
- package/dist/harmony28.cjs +1 -1
- package/dist/harmony28.mjs +1 -1
- package/dist/harmony29.cjs +1 -1
- package/dist/harmony29.mjs +1 -1
- package/dist/harmony32.cjs +1 -1
- package/dist/harmony32.mjs +1 -1
- package/dist/harmony33.cjs +1 -1
- package/dist/harmony33.mjs +1 -1
- package/dist/harmony34.cjs +1 -1
- package/dist/harmony34.mjs +1 -1
- package/dist/harmony39.cjs +1 -1
- package/dist/harmony39.mjs +1 -1
- package/dist/harmony40.cjs +1 -1
- package/dist/harmony40.mjs +1 -1
- package/dist/harmony41.cjs +1 -1
- package/dist/harmony41.mjs +1 -1
- package/dist/harmony42.cjs +2 -2
- package/dist/harmony42.mjs +2 -2
- package/dist/harmony43.cjs +2 -2
- package/dist/harmony43.mjs +2 -2
- package/dist/harmony44.cjs +1 -1
- package/dist/harmony44.mjs +1 -1
- package/dist/harmony53.cjs +3 -3
- package/dist/harmony53.cjs.map +1 -1
- package/dist/harmony53.mjs +1 -1
- package/dist/harmony53.mjs.map +1 -1
- package/dist/harmony78.cjs +74 -74
- package/dist/harmony78.cjs.map +1 -1
- package/dist/harmony78.mjs +1 -1
- package/dist/harmony78.mjs.map +1 -1
- package/dist/harmony79.cjs +52 -52
- package/dist/harmony79.cjs.map +1 -1
- package/dist/harmony79.mjs +1 -1
- package/dist/harmony79.mjs.map +1 -1
- package/dist/harmony80.cjs +4 -4
- package/dist/harmony80.cjs.map +1 -1
- package/dist/harmony80.mjs +1 -1
- package/dist/harmony80.mjs.map +1 -1
- package/dist/harmony81.cjs +18 -18
- package/dist/harmony81.cjs.map +1 -1
- package/dist/harmony81.mjs +1 -1
- package/dist/harmony81.mjs.map +1 -1
- package/dist/harmony82.cjs +15 -15
- package/dist/harmony82.cjs.map +1 -1
- package/dist/harmony82.mjs +1 -1
- package/dist/harmony82.mjs.map +1 -1
- package/dist/harmony83.cjs +96 -96
- package/dist/harmony83.cjs.map +1 -1
- package/dist/harmony83.mjs +1 -1
- package/dist/harmony83.mjs.map +1 -1
- package/dist/harmony84.cjs +24 -24
- package/dist/harmony84.cjs.map +1 -1
- package/dist/harmony84.mjs +1 -1
- package/dist/harmony84.mjs.map +1 -1
- package/dist/harmony85.cjs +14 -14
- package/dist/harmony85.cjs.map +1 -1
- package/dist/harmony85.mjs +1 -1
- package/dist/harmony85.mjs.map +1 -1
- package/dist/harmony86.cjs +2 -2
- package/dist/harmony86.cjs.map +1 -1
- package/dist/harmony86.mjs +1 -1
- package/dist/harmony86.mjs.map +1 -1
- package/dist/harmony87.cjs +40 -40
- package/dist/harmony87.cjs.map +1 -1
- package/dist/harmony87.mjs +1 -1
- package/dist/harmony87.mjs.map +1 -1
- package/dist/harmony88.cjs +27 -27
- package/dist/harmony88.cjs.map +1 -1
- package/dist/harmony88.mjs +1 -1
- package/dist/harmony88.mjs.map +1 -1
- package/dist/harmony89.cjs +10 -10
- package/dist/harmony89.cjs.map +1 -1
- package/dist/harmony89.mjs +1 -1
- package/dist/harmony89.mjs.map +1 -1
- package/dist/harmony90.cjs +1 -3
- package/dist/harmony90.cjs.map +1 -1
- package/dist/harmony90.mjs +2 -4
- package/dist/harmony90.mjs.map +1 -1
- package/dist/harmony97.cjs +2 -2
- package/dist/harmony97.mjs +2 -2
- package/dist/harmony99.cjs +2 -2
- package/dist/harmony99.mjs +2 -2
- package/dist/types/src/features/auth/core/types/jwtTokenPayload.d.ts +8 -35
- package/dist/types/src/features/auth/core/types/jwtTokenPayload.fixture.d.ts +1 -1
- package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedProjectContributor.d.ts +4 -4
- package/dist/types/src/features/auth/frontend/hooks/useAuthenticatedUser.d.ts +3 -3
- package/dist/types/src/features/auth/frontend/hooks/useGetPromotedClassicSessionJwtQuery.d.ts +1 -1
- package/dist/types/src/features/auth/frontend/services/generateTokenFromClassicSession.d.ts +4 -1
- package/dist/types/src/features/auth/frontend/services/refreshExpiredToken.d.ts +4 -1
- package/dist/types/src/features/navigation/hooks/useNavigationQueries.d.ts +56 -56
- package/dist/types/src/features/publicApi/TESTING_CONTRACTS.d.ts +57 -2
- package/dist/types/src/features/publicApi/contributors.d.ts +260 -5
- package/dist/types/src/features/publicApi/hooks/useAddContributorsMutation.d.ts +7 -7
- package/dist/types/src/features/publicApi/hooks/useAddLanguagesToProjectMutation.d.ts +2 -2
- package/dist/types/src/features/publicApi/hooks/useCreateProjectMutation.d.ts +14 -14
- package/dist/types/src/features/publicApi/hooks/useCreateScoreMutation.d.ts +3 -3
- package/dist/types/src/features/publicApi/hooks/useGetProjectPermissionMetaQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useGetScoreQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useGetTeamUsersQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useGetUserTokenQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useListContributorsQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useListPermissionTemplates.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useListProjectLanguagesQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useListProjectsQuery.d.ts +2 -2
- package/dist/types/src/features/publicApi/hooks/useListTeamUsersQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useListTeamsQuery.d.ts +2 -2
- package/dist/types/src/features/publicApi/hooks/useRetrieveContributorQuery.d.ts +3 -3
- package/dist/types/src/features/publicApi/hooks/useRetrieveProjectQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useRetrieveTeamQuery.d.ts +1 -1
- package/dist/types/src/features/publicApi/hooks/useRetrieveUserPermissions.d.ts +2 -2
- package/dist/types/src/features/publicApi/hooks/useUpdateContributorMutation.d.ts +5 -5
- package/dist/types/src/features/publicApi/hooks/useUpdateProjectMutation.d.ts +13 -13
- package/dist/types/src/features/publicApi/languages.d.ts +106 -3
- package/dist/types/src/features/publicApi/permissionTemplates.d.ts +54 -1
- package/dist/types/src/features/publicApi/projects.d.ts +520 -6
- package/dist/types/src/features/publicApi/score.d.ts +102 -3
- package/dist/types/src/features/publicApi/team.d.ts +102 -2
- package/dist/types/src/features/publicApi/teamUsers.d.ts +125 -3
- package/dist/types/src/features/publicApi/types/contributorTypes.d.ts +84 -834
- package/dist/types/src/features/publicApi/types/languageTypes.d.ts +22 -212
- package/dist/types/src/features/publicApi/types/paginationTypes.d.ts +2 -8
- package/dist/types/src/features/publicApi/types/permissionTemplateTypes.d.ts +71 -76
- package/dist/types/src/features/publicApi/types/permissionTypes.d.ts +48 -24
- package/dist/types/src/features/publicApi/types/projectTypes.d.ts +211 -1097
- package/dist/types/src/features/publicApi/types/scoreTypes.d.ts +32 -96
- package/dist/types/src/features/publicApi/types/sharedTypes.d.ts +30 -126
- package/dist/types/src/features/publicApi/types/teamRoleTypes.d.ts +7 -2
- package/dist/types/src/features/publicApi/types/teamTypes.d.ts +65 -328
- package/dist/types/src/features/publicApi/types/teamUserTypes.d.ts +91 -208
- package/dist/types/src/features/publicApi/types/userTokenTypes.d.ts +9 -39
- package/dist/types/src/features/publicApi/userToken.d.ts +19 -1
- package/package.json +4 -4
package/dist/harmony165.mjs
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
const
|
|
1
|
+
const container = "_container_1u995_1";
|
|
2
|
+
const planCta = "_planCta_1u995_15";
|
|
3
|
+
const upgradeIconWrapper = "_upgradeIconWrapper_1u995_19";
|
|
2
4
|
const styles = {
|
|
3
|
-
|
|
5
|
+
container,
|
|
6
|
+
planCta,
|
|
7
|
+
upgradeIconWrapper
|
|
4
8
|
};
|
|
5
9
|
export {
|
|
10
|
+
container,
|
|
6
11
|
styles as default,
|
|
7
|
-
|
|
12
|
+
planCta,
|
|
13
|
+
upgradeIconWrapper
|
|
8
14
|
};
|
|
9
15
|
//# sourceMappingURL=harmony165.mjs.map
|
package/dist/harmony165.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony165.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"harmony165.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony166.cjs
CHANGED
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
4
|
-
const planCta = "_planCta_1u995_15";
|
|
5
|
-
const upgradeIconWrapper = "_upgradeIconWrapper_1u995_19";
|
|
3
|
+
const iconContainer = "_iconContainer_nz34m_1";
|
|
6
4
|
const styles = {
|
|
7
|
-
|
|
8
|
-
planCta,
|
|
9
|
-
upgradeIconWrapper
|
|
5
|
+
iconContainer
|
|
10
6
|
};
|
|
11
|
-
exports.container = container;
|
|
12
7
|
exports.default = styles;
|
|
13
|
-
exports.
|
|
14
|
-
exports.upgradeIconWrapper = upgradeIconWrapper;
|
|
8
|
+
exports.iconContainer = iconContainer;
|
|
15
9
|
//# sourceMappingURL=harmony166.cjs.map
|
package/dist/harmony166.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony166.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"harmony166.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/harmony166.mjs
CHANGED
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
const
|
|
2
|
-
const planCta = "_planCta_1u995_15";
|
|
3
|
-
const upgradeIconWrapper = "_upgradeIconWrapper_1u995_19";
|
|
1
|
+
const iconContainer = "_iconContainer_nz34m_1";
|
|
4
2
|
const styles = {
|
|
5
|
-
|
|
6
|
-
planCta,
|
|
7
|
-
upgradeIconWrapper
|
|
3
|
+
iconContainer
|
|
8
4
|
};
|
|
9
5
|
export {
|
|
10
|
-
container,
|
|
11
6
|
styles as default,
|
|
12
|
-
|
|
13
|
-
upgradeIconWrapper
|
|
7
|
+
iconContainer
|
|
14
8
|
};
|
|
15
9
|
//# sourceMappingURL=harmony166.mjs.map
|
package/dist/harmony166.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony166.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"harmony166.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/harmony167.cjs
CHANGED
|
@@ -1,9 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const assertIsNever = require("./harmony175.cjs");
|
|
4
|
+
const isCategoryProjectTypeMatch = (matcher) => "marketing" in matcher && typeof matcher.marketing === "function" && "classic" in matcher && typeof matcher.classic === "function";
|
|
5
|
+
const isPartialProjectTypeMatch = (matcher) => "otherwise" in matcher && typeof matcher.otherwise === "function";
|
|
6
|
+
const isFullProjectTypeMatch = (matcher) => !isCategoryProjectTypeMatch(matcher) && !isPartialProjectTypeMatch(matcher);
|
|
7
|
+
const callMatchFunction = (matcher, category, projectType) => {
|
|
8
|
+
if (isFullProjectTypeMatch(matcher)) {
|
|
9
|
+
return matcher[projectType]();
|
|
10
|
+
}
|
|
11
|
+
if (isPartialProjectTypeMatch(matcher)) {
|
|
12
|
+
return (matcher[projectType] || matcher.otherwise)();
|
|
13
|
+
}
|
|
14
|
+
if (isCategoryProjectTypeMatch(matcher)) {
|
|
15
|
+
return matcher[category]();
|
|
16
|
+
}
|
|
17
|
+
return false;
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
const canPerformActionByProjectType = (projectType, match) => {
|
|
20
|
+
switch (projectType) {
|
|
21
|
+
case void 0:
|
|
22
|
+
return false;
|
|
23
|
+
case "localization_files":
|
|
24
|
+
case "paged_documents":
|
|
25
|
+
case "content_integration":
|
|
26
|
+
return callMatchFunction(match, "classic", projectType);
|
|
27
|
+
case "marketing":
|
|
28
|
+
case "marketing_integrations":
|
|
29
|
+
return callMatchFunction(match, "marketing", projectType);
|
|
30
|
+
default:
|
|
31
|
+
return assertIsNever.assertIsNever(projectType);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
exports.canPerformActionByProjectType = canPerformActionByProjectType;
|
|
9
35
|
//# sourceMappingURL=harmony167.cjs.map
|
package/dist/harmony167.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony167.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"harmony167.cjs","sources":["../src/features/permissions/utils/canPerformActionByProjectType.ts"],"sourcesContent":["import { assertIsNever } from '@utils/types/assertIsNever'\nimport type { ProjectType } from '../types'\n\ntype FullProjectTypeMatch = { [K in ProjectType]: () => boolean }\ntype PartialProjectTypeMatch = { [K in ProjectType]?: () => boolean } & { otherwise: () => boolean }\ntype CategoryProjectTypeMatch = { classic: () => boolean; marketing: () => boolean }\n\ntype ProjectTypeMatch = FullProjectTypeMatch | PartialProjectTypeMatch | CategoryProjectTypeMatch\n\nconst isCategoryProjectTypeMatch = (\n\tmatcher: ProjectTypeMatch,\n): matcher is CategoryProjectTypeMatch =>\n\t'marketing' in matcher &&\n\ttypeof matcher.marketing === 'function' &&\n\t'classic' in matcher &&\n\ttypeof matcher.classic === 'function'\n\nconst isPartialProjectTypeMatch = (matcher: ProjectTypeMatch): matcher is PartialProjectTypeMatch =>\n\t'otherwise' in matcher && typeof matcher.otherwise === 'function'\n\nconst isFullProjectTypeMatch = (matcher: ProjectTypeMatch): matcher is FullProjectTypeMatch =>\n\t!isCategoryProjectTypeMatch(matcher) && !isPartialProjectTypeMatch(matcher)\n\nconst callMatchFunction = (\n\tmatcher: ProjectTypeMatch,\n\tcategory: 'classic' | 'marketing',\n\tprojectType: ProjectType,\n): boolean => {\n\tif (isFullProjectTypeMatch(matcher)) {\n\t\treturn matcher[projectType]()\n\t}\n\n\tif (isPartialProjectTypeMatch(matcher)) {\n\t\treturn (matcher[projectType] || matcher.otherwise)()\n\t}\n\n\tif (isCategoryProjectTypeMatch(matcher)) {\n\t\treturn matcher[category]()\n\t}\n\n\treturn false\n}\n\nexport const canPerformActionByProjectType = (\n\tprojectType: ProjectType | undefined,\n\tmatch: ProjectTypeMatch,\n) => {\n\tswitch (projectType) {\n\t\tcase undefined:\n\t\t\treturn false\n\n\t\tcase 'localization_files':\n\t\tcase 'paged_documents':\n\t\tcase 'content_integration':\n\t\t\treturn callMatchFunction(match, 'classic', projectType)\n\n\t\tcase 'marketing':\n\t\tcase 'marketing_integrations':\n\t\t\treturn callMatchFunction(match, 'marketing', projectType)\n\n\t\tdefault:\n\t\t\treturn assertIsNever(projectType)\n\t}\n}\n"],"names":["assertIsNever"],"mappings":";;;AASA,MAAM,6BAA6B,CAClC,YAEA,eAAe,WACf,OAAO,QAAQ,cAAc,cAC7B,aAAa,WACb,OAAO,QAAQ,YAAY;AAE5B,MAAM,4BAA4B,CAAC,YAClC,eAAe,WAAW,OAAO,QAAQ,cAAc;AAExD,MAAM,yBAAyB,CAAC,YAC/B,CAAC,2BAA2B,OAAO,KAAK,CAAC,0BAA0B,OAAO;AAE3E,MAAM,oBAAoB,CACzB,SACA,UACA,gBACa;AACT,MAAA,uBAAuB,OAAO,GAAG;AAC7B,WAAA,QAAQ,WAAW,EAAE;AAAA,EAAA;AAGzB,MAAA,0BAA0B,OAAO,GAAG;AACvC,YAAQ,QAAQ,WAAW,KAAK,QAAQ,WAAW;AAAA,EAAA;AAGhD,MAAA,2BAA2B,OAAO,GAAG;AACjC,WAAA,QAAQ,QAAQ,EAAE;AAAA,EAAA;AAGnB,SAAA;AACR;AAEa,MAAA,gCAAgC,CAC5C,aACA,UACI;AACJ,UAAQ,aAAa;AAAA,IACpB,KAAK;AACG,aAAA;AAAA,IAER,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACG,aAAA,kBAAkB,OAAO,WAAW,WAAW;AAAA,IAEvD,KAAK;AAAA,IACL,KAAK;AACG,aAAA,kBAAkB,OAAO,aAAa,WAAW;AAAA,IAEzD;AACC,aAAOA,cAAAA,cAAc,WAAW;AAAA,EAAA;AAEnC;;"}
|
package/dist/harmony167.mjs
CHANGED
|
@@ -1,9 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
|
|
1
|
+
import { assertIsNever } from "./harmony175.mjs";
|
|
2
|
+
const isCategoryProjectTypeMatch = (matcher) => "marketing" in matcher && typeof matcher.marketing === "function" && "classic" in matcher && typeof matcher.classic === "function";
|
|
3
|
+
const isPartialProjectTypeMatch = (matcher) => "otherwise" in matcher && typeof matcher.otherwise === "function";
|
|
4
|
+
const isFullProjectTypeMatch = (matcher) => !isCategoryProjectTypeMatch(matcher) && !isPartialProjectTypeMatch(matcher);
|
|
5
|
+
const callMatchFunction = (matcher, category, projectType) => {
|
|
6
|
+
if (isFullProjectTypeMatch(matcher)) {
|
|
7
|
+
return matcher[projectType]();
|
|
8
|
+
}
|
|
9
|
+
if (isPartialProjectTypeMatch(matcher)) {
|
|
10
|
+
return (matcher[projectType] || matcher.otherwise)();
|
|
11
|
+
}
|
|
12
|
+
if (isCategoryProjectTypeMatch(matcher)) {
|
|
13
|
+
return matcher[category]();
|
|
14
|
+
}
|
|
15
|
+
return false;
|
|
16
|
+
};
|
|
17
|
+
const canPerformActionByProjectType = (projectType, match) => {
|
|
18
|
+
switch (projectType) {
|
|
19
|
+
case void 0:
|
|
20
|
+
return false;
|
|
21
|
+
case "localization_files":
|
|
22
|
+
case "paged_documents":
|
|
23
|
+
case "content_integration":
|
|
24
|
+
return callMatchFunction(match, "classic", projectType);
|
|
25
|
+
case "marketing":
|
|
26
|
+
case "marketing_integrations":
|
|
27
|
+
return callMatchFunction(match, "marketing", projectType);
|
|
28
|
+
default:
|
|
29
|
+
return assertIsNever(projectType);
|
|
30
|
+
}
|
|
4
31
|
};
|
|
5
32
|
export {
|
|
6
|
-
|
|
7
|
-
iconContainer
|
|
33
|
+
canPerformActionByProjectType
|
|
8
34
|
};
|
|
9
35
|
//# sourceMappingURL=harmony167.mjs.map
|
package/dist/harmony167.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony167.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"harmony167.mjs","sources":["../src/features/permissions/utils/canPerformActionByProjectType.ts"],"sourcesContent":["import { assertIsNever } from '@utils/types/assertIsNever'\nimport type { ProjectType } from '../types'\n\ntype FullProjectTypeMatch = { [K in ProjectType]: () => boolean }\ntype PartialProjectTypeMatch = { [K in ProjectType]?: () => boolean } & { otherwise: () => boolean }\ntype CategoryProjectTypeMatch = { classic: () => boolean; marketing: () => boolean }\n\ntype ProjectTypeMatch = FullProjectTypeMatch | PartialProjectTypeMatch | CategoryProjectTypeMatch\n\nconst isCategoryProjectTypeMatch = (\n\tmatcher: ProjectTypeMatch,\n): matcher is CategoryProjectTypeMatch =>\n\t'marketing' in matcher &&\n\ttypeof matcher.marketing === 'function' &&\n\t'classic' in matcher &&\n\ttypeof matcher.classic === 'function'\n\nconst isPartialProjectTypeMatch = (matcher: ProjectTypeMatch): matcher is PartialProjectTypeMatch =>\n\t'otherwise' in matcher && typeof matcher.otherwise === 'function'\n\nconst isFullProjectTypeMatch = (matcher: ProjectTypeMatch): matcher is FullProjectTypeMatch =>\n\t!isCategoryProjectTypeMatch(matcher) && !isPartialProjectTypeMatch(matcher)\n\nconst callMatchFunction = (\n\tmatcher: ProjectTypeMatch,\n\tcategory: 'classic' | 'marketing',\n\tprojectType: ProjectType,\n): boolean => {\n\tif (isFullProjectTypeMatch(matcher)) {\n\t\treturn matcher[projectType]()\n\t}\n\n\tif (isPartialProjectTypeMatch(matcher)) {\n\t\treturn (matcher[projectType] || matcher.otherwise)()\n\t}\n\n\tif (isCategoryProjectTypeMatch(matcher)) {\n\t\treturn matcher[category]()\n\t}\n\n\treturn false\n}\n\nexport const canPerformActionByProjectType = (\n\tprojectType: ProjectType | undefined,\n\tmatch: ProjectTypeMatch,\n) => {\n\tswitch (projectType) {\n\t\tcase undefined:\n\t\t\treturn false\n\n\t\tcase 'localization_files':\n\t\tcase 'paged_documents':\n\t\tcase 'content_integration':\n\t\t\treturn callMatchFunction(match, 'classic', projectType)\n\n\t\tcase 'marketing':\n\t\tcase 'marketing_integrations':\n\t\t\treturn callMatchFunction(match, 'marketing', projectType)\n\n\t\tdefault:\n\t\t\treturn assertIsNever(projectType)\n\t}\n}\n"],"names":[],"mappings":";AASA,MAAM,6BAA6B,CAClC,YAEA,eAAe,WACf,OAAO,QAAQ,cAAc,cAC7B,aAAa,WACb,OAAO,QAAQ,YAAY;AAE5B,MAAM,4BAA4B,CAAC,YAClC,eAAe,WAAW,OAAO,QAAQ,cAAc;AAExD,MAAM,yBAAyB,CAAC,YAC/B,CAAC,2BAA2B,OAAO,KAAK,CAAC,0BAA0B,OAAO;AAE3E,MAAM,oBAAoB,CACzB,SACA,UACA,gBACa;AACT,MAAA,uBAAuB,OAAO,GAAG;AAC7B,WAAA,QAAQ,WAAW,EAAE;AAAA,EAAA;AAGzB,MAAA,0BAA0B,OAAO,GAAG;AACvC,YAAQ,QAAQ,WAAW,KAAK,QAAQ,WAAW;AAAA,EAAA;AAGhD,MAAA,2BAA2B,OAAO,GAAG;AACjC,WAAA,QAAQ,QAAQ,EAAE;AAAA,EAAA;AAGnB,SAAA;AACR;AAEa,MAAA,gCAAgC,CAC5C,aACA,UACI;AACJ,UAAQ,aAAa;AAAA,IACpB,KAAK;AACG,aAAA;AAAA,IAER,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACG,aAAA,kBAAkB,OAAO,WAAW,WAAW;AAAA,IAEvD,KAAK;AAAA,IACL,KAAK;AACG,aAAA,kBAAkB,OAAO,aAAa,WAAW;AAAA,IAEzD;AACC,aAAO,cAAc,WAAW;AAAA,EAAA;AAEnC;"}
|
package/dist/harmony168.cjs
CHANGED
package/dist/harmony168.mjs
CHANGED
package/dist/harmony169.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const _trimmedEndIndex = require("./
|
|
3
|
+
const _trimmedEndIndex = require("./harmony172.cjs");
|
|
4
4
|
var _baseTrim;
|
|
5
5
|
var hasRequired_baseTrim;
|
|
6
6
|
function require_baseTrim() {
|
package/dist/harmony169.mjs
CHANGED
package/dist/harmony17.cjs
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const createHeaderBuilderMiddleware = require("./harmony22.cjs");
|
|
4
4
|
const jwtTokenPayload = require("./harmony20.cjs");
|
|
5
5
|
const UnauthorizedError = require("./harmony19.cjs");
|
|
6
|
-
const NewJwtIssuedEvent = require("./
|
|
6
|
+
const NewJwtIssuedEvent = require("./harmony115.cjs");
|
|
7
7
|
function JwtAuthHeaderBuilderMiddleware(props) {
|
|
8
8
|
return createHeaderBuilderMiddleware.createHeaderBuilderMiddleware(async (builder) => {
|
|
9
9
|
var _a, _b;
|
package/dist/harmony17.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createHeaderBuilderMiddleware } from "./harmony22.mjs";
|
|
2
2
|
import { parseJwtTokenPayload } from "./harmony20.mjs";
|
|
3
3
|
import { UnauthorizedError } from "./harmony19.mjs";
|
|
4
|
-
import { NewJwtIssuedEvent } from "./
|
|
4
|
+
import { NewJwtIssuedEvent } from "./harmony115.mjs";
|
|
5
5
|
function JwtAuthHeaderBuilderMiddleware(props) {
|
|
6
6
|
return createHeaderBuilderMiddleware(async (builder) => {
|
|
7
7
|
var _a, _b;
|
package/dist/harmony170.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const _baseGetTag = require("./
|
|
4
|
-
const isObjectLike = require("./
|
|
3
|
+
const _baseGetTag = require("./harmony173.cjs");
|
|
4
|
+
const isObjectLike = require("./harmony174.cjs");
|
|
5
5
|
var isSymbol_1;
|
|
6
6
|
var hasRequiredIsSymbol;
|
|
7
7
|
function requireIsSymbol() {
|
package/dist/harmony170.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __require as require_baseGetTag } from "./
|
|
2
|
-
import { __require as requireIsObjectLike } from "./
|
|
1
|
+
import { __require as require_baseGetTag } from "./harmony173.mjs";
|
|
2
|
+
import { __require as requireIsObjectLike } from "./harmony174.mjs";
|
|
3
3
|
var isSymbol_1;
|
|
4
4
|
var hasRequiredIsSymbol;
|
|
5
5
|
function requireIsSymbol() {
|
package/dist/harmony171.cjs
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
const _commonjsHelpers = require("./harmony176.cjs");
|
|
4
|
+
var _freeGlobal;
|
|
5
|
+
var hasRequired_freeGlobal;
|
|
6
|
+
function require_freeGlobal() {
|
|
7
|
+
if (hasRequired_freeGlobal) return _freeGlobal;
|
|
8
|
+
hasRequired_freeGlobal = 1;
|
|
9
|
+
var freeGlobal = typeof _commonjsHelpers.commonjsGlobal == "object" && _commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.Object === Object && _commonjsHelpers.commonjsGlobal;
|
|
10
|
+
_freeGlobal = freeGlobal;
|
|
11
|
+
return _freeGlobal;
|
|
12
|
+
}
|
|
13
|
+
exports.__require = require_freeGlobal;
|
|
7
14
|
//# sourceMappingURL=harmony171.cjs.map
|
package/dist/harmony171.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony171.cjs","sources":["../
|
|
1
|
+
{"version":3,"file":"harmony171.cjs","sources":["../node_modules/lodash/_freeGlobal.js"],"sourcesContent":["/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n"],"names":["global"],"mappings":";;;;;;;;AACA,MAAI,aAAa,OAAOA,iBAAAA,kBAAU,YAAYA,iBAAM,kBAAIA,gCAAO,WAAW,UAAUA,iBAAM;AAE1F,gBAAiB;;;;","x_google_ignoreList":[0]}
|
package/dist/harmony171.mjs
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { commonjsGlobal } from "./harmony176.mjs";
|
|
2
|
+
var _freeGlobal;
|
|
3
|
+
var hasRequired_freeGlobal;
|
|
4
|
+
function require_freeGlobal() {
|
|
5
|
+
if (hasRequired_freeGlobal) return _freeGlobal;
|
|
6
|
+
hasRequired_freeGlobal = 1;
|
|
7
|
+
var freeGlobal = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
|
8
|
+
_freeGlobal = freeGlobal;
|
|
9
|
+
return _freeGlobal;
|
|
10
|
+
}
|
|
4
11
|
export {
|
|
5
|
-
|
|
12
|
+
require_freeGlobal as __require
|
|
6
13
|
};
|
|
7
14
|
//# sourceMappingURL=harmony171.mjs.map
|
package/dist/harmony171.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony171.mjs","sources":["../
|
|
1
|
+
{"version":3,"file":"harmony171.mjs","sources":["../node_modules/lodash/_freeGlobal.js"],"sourcesContent":["/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n"],"names":["global"],"mappings":";;;;;;AACA,MAAI,aAAa,OAAOA,kBAAU,YAAYA,kBAAUA,eAAO,WAAW,UAAUA;AAEpF,gBAAiB;;;","x_google_ignoreList":[0]}
|
package/dist/harmony172.cjs
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
var _trimmedEndIndex;
|
|
4
|
+
var hasRequired_trimmedEndIndex;
|
|
5
|
+
function require_trimmedEndIndex() {
|
|
6
|
+
if (hasRequired_trimmedEndIndex) return _trimmedEndIndex;
|
|
7
|
+
hasRequired_trimmedEndIndex = 1;
|
|
8
|
+
var reWhitespace = /\s/;
|
|
9
|
+
function trimmedEndIndex(string) {
|
|
10
|
+
var index = string.length;
|
|
11
|
+
while (index-- && reWhitespace.test(string.charAt(index))) {
|
|
12
|
+
}
|
|
13
|
+
return index;
|
|
14
|
+
}
|
|
15
|
+
_trimmedEndIndex = trimmedEndIndex;
|
|
16
|
+
return _trimmedEndIndex;
|
|
12
17
|
}
|
|
13
|
-
exports.__require =
|
|
18
|
+
exports.__require = require_trimmedEndIndex;
|
|
14
19
|
//# sourceMappingURL=harmony172.cjs.map
|
package/dist/harmony172.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony172.cjs","sources":["../node_modules/lodash/
|
|
1
|
+
{"version":3,"file":"harmony172.cjs","sources":["../node_modules/lodash/_trimmedEndIndex.js"],"sourcesContent":["/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n"],"names":[],"mappings":";;;;;;;AACA,MAAI,eAAe;AAUnB,WAAS,gBAAgB,QAAQ;AAC/B,QAAI,QAAQ,OAAO;AAEnB,WAAO,WAAW,aAAa,KAAK,OAAO,OAAO,KAAK,CAAC,GAAG;AAAA,IAAA;AAC3D,WAAO;AAAA,EACT;AAEA,qBAAiB;;;;","x_google_ignoreList":[0]}
|
package/dist/harmony172.mjs
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
var _trimmedEndIndex;
|
|
2
|
+
var hasRequired_trimmedEndIndex;
|
|
3
|
+
function require_trimmedEndIndex() {
|
|
4
|
+
if (hasRequired_trimmedEndIndex) return _trimmedEndIndex;
|
|
5
|
+
hasRequired_trimmedEndIndex = 1;
|
|
6
|
+
var reWhitespace = /\s/;
|
|
7
|
+
function trimmedEndIndex(string) {
|
|
8
|
+
var index = string.length;
|
|
9
|
+
while (index-- && reWhitespace.test(string.charAt(index))) {
|
|
10
|
+
}
|
|
11
|
+
return index;
|
|
12
|
+
}
|
|
13
|
+
_trimmedEndIndex = trimmedEndIndex;
|
|
14
|
+
return _trimmedEndIndex;
|
|
10
15
|
}
|
|
11
16
|
export {
|
|
12
|
-
|
|
17
|
+
require_trimmedEndIndex as __require
|
|
13
18
|
};
|
|
14
19
|
//# sourceMappingURL=harmony172.mjs.map
|
package/dist/harmony172.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony172.mjs","sources":["../node_modules/lodash/
|
|
1
|
+
{"version":3,"file":"harmony172.mjs","sources":["../node_modules/lodash/_trimmedEndIndex.js"],"sourcesContent":["/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n"],"names":[],"mappings":";;;;;AACA,MAAI,eAAe;AAUnB,WAAS,gBAAgB,QAAQ;AAC/B,QAAI,QAAQ,OAAO;AAEnB,WAAO,WAAW,aAAa,KAAK,OAAO,OAAO,KAAK,CAAC,GAAG;AAAA,IAAA;AAC3D,WAAO;AAAA,EACT;AAEA,qBAAiB;;;","x_google_ignoreList":[0]}
|
package/dist/harmony173.cjs
CHANGED
|
@@ -1,19 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
const _Symbol = require("./harmony177.cjs");
|
|
4
|
+
const _getRawTag = require("./harmony178.cjs");
|
|
5
|
+
const _objectToString = require("./harmony179.cjs");
|
|
6
|
+
var _baseGetTag;
|
|
7
|
+
var hasRequired_baseGetTag;
|
|
8
|
+
function require_baseGetTag() {
|
|
9
|
+
if (hasRequired_baseGetTag) return _baseGetTag;
|
|
10
|
+
hasRequired_baseGetTag = 1;
|
|
11
|
+
var Symbol2 = _Symbol.__require(), getRawTag = _getRawTag.__require(), objectToString = _objectToString.__require();
|
|
12
|
+
var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
|
|
13
|
+
var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
|
|
14
|
+
function baseGetTag(value) {
|
|
15
|
+
if (value == null) {
|
|
16
|
+
return value === void 0 ? undefinedTag : nullTag;
|
|
12
17
|
}
|
|
13
|
-
return
|
|
18
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
14
19
|
}
|
|
15
|
-
|
|
16
|
-
return
|
|
20
|
+
_baseGetTag = baseGetTag;
|
|
21
|
+
return _baseGetTag;
|
|
17
22
|
}
|
|
18
|
-
exports.__require =
|
|
23
|
+
exports.__require = require_baseGetTag;
|
|
19
24
|
//# sourceMappingURL=harmony173.cjs.map
|
package/dist/harmony173.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony173.cjs","sources":["../node_modules/lodash/
|
|
1
|
+
{"version":3,"file":"harmony173.cjs","sources":["../node_modules/lodash/_baseGetTag.js"],"sourcesContent":["var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n"],"names":["Symbol","require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;AAAA,MAAIA,UAASC,QAAAA,UAAoB,GAC7B,YAAYC,WAAAA,UAAuB,GACnC,iBAAiBC,gBAAAA,UAA4B;AAGjD,MAAI,UAAU,iBACV,eAAe;AAGnB,MAAI,iBAAiBH,UAASA,QAAO,cAAc;AASnD,WAAS,WAAW,OAAO;AACzB,QAAI,SAAS,MAAM;AACjB,aAAO,UAAU,SAAY,eAAe;AAAA,IAChD;AACE,WAAQ,kBAAkB,kBAAkB,OAAO,KAAK,IACpD,UAAU,KAAK,IACf,eAAe,KAAK;AAAA,EAC1B;AAEA,gBAAiB;;;;","x_google_ignoreList":[0]}
|
package/dist/harmony173.mjs
CHANGED
|
@@ -1,19 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { __require as require_Symbol } from "./harmony177.mjs";
|
|
2
|
+
import { __require as require_getRawTag } from "./harmony178.mjs";
|
|
3
|
+
import { __require as require_objectToString } from "./harmony179.mjs";
|
|
4
|
+
var _baseGetTag;
|
|
5
|
+
var hasRequired_baseGetTag;
|
|
6
|
+
function require_baseGetTag() {
|
|
7
|
+
if (hasRequired_baseGetTag) return _baseGetTag;
|
|
8
|
+
hasRequired_baseGetTag = 1;
|
|
9
|
+
var Symbol = require_Symbol(), getRawTag = require_getRawTag(), objectToString = require_objectToString();
|
|
10
|
+
var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
|
|
11
|
+
var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
|
|
12
|
+
function baseGetTag(value) {
|
|
13
|
+
if (value == null) {
|
|
14
|
+
return value === void 0 ? undefinedTag : nullTag;
|
|
10
15
|
}
|
|
11
|
-
return
|
|
16
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
12
17
|
}
|
|
13
|
-
|
|
14
|
-
return
|
|
18
|
+
_baseGetTag = baseGetTag;
|
|
19
|
+
return _baseGetTag;
|
|
15
20
|
}
|
|
16
21
|
export {
|
|
17
|
-
|
|
22
|
+
require_baseGetTag as __require
|
|
18
23
|
};
|
|
19
24
|
//# sourceMappingURL=harmony173.mjs.map
|
package/dist/harmony173.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony173.mjs","sources":["../node_modules/lodash/
|
|
1
|
+
{"version":3,"file":"harmony173.mjs","sources":["../node_modules/lodash/_baseGetTag.js"],"sourcesContent":["var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;AAAA,MAAI,SAASA,eAAoB,GAC7B,YAAYC,kBAAuB,GACnC,iBAAiBC,uBAA4B;AAGjD,MAAI,UAAU,iBACV,eAAe;AAGnB,MAAI,iBAAiB,SAAS,OAAO,cAAc;AASnD,WAAS,WAAW,OAAO;AACzB,QAAI,SAAS,MAAM;AACjB,aAAO,UAAU,SAAY,eAAe;AAAA,IAChD;AACE,WAAQ,kBAAkB,kBAAkB,OAAO,KAAK,IACpD,UAAU,KAAK,IACf,eAAe,KAAK;AAAA,EAC1B;AAEA,gBAAiB;;;","x_google_ignoreList":[0]}
|
package/dist/harmony174.cjs
CHANGED
|
@@ -1,24 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
function
|
|
9
|
-
|
|
10
|
-
hasRequired_baseGetTag = 1;
|
|
11
|
-
var Symbol2 = _Symbol.__require(), getRawTag = _getRawTag.__require(), objectToString = _objectToString.__require();
|
|
12
|
-
var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
|
|
13
|
-
var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
|
|
14
|
-
function baseGetTag(value) {
|
|
15
|
-
if (value == null) {
|
|
16
|
-
return value === void 0 ? undefinedTag : nullTag;
|
|
17
|
-
}
|
|
18
|
-
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
3
|
+
var isObjectLike_1;
|
|
4
|
+
var hasRequiredIsObjectLike;
|
|
5
|
+
function requireIsObjectLike() {
|
|
6
|
+
if (hasRequiredIsObjectLike) return isObjectLike_1;
|
|
7
|
+
hasRequiredIsObjectLike = 1;
|
|
8
|
+
function isObjectLike(value) {
|
|
9
|
+
return value != null && typeof value == "object";
|
|
19
10
|
}
|
|
20
|
-
|
|
21
|
-
return
|
|
11
|
+
isObjectLike_1 = isObjectLike;
|
|
12
|
+
return isObjectLike_1;
|
|
22
13
|
}
|
|
23
|
-
exports.__require =
|
|
14
|
+
exports.__require = requireIsObjectLike;
|
|
24
15
|
//# sourceMappingURL=harmony174.cjs.map
|
package/dist/harmony174.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony174.cjs","sources":["../node_modules/lodash/
|
|
1
|
+
{"version":3,"file":"harmony174.cjs","sources":["../node_modules/lodash/isObjectLike.js"],"sourcesContent":["/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n"],"names":[],"mappings":";;;;;;;AAwBA,WAAS,aAAa,OAAO;AAC3B,WAAO,SAAS,QAAQ,OAAO,SAAS;AAAA,EAC1C;AAEA,mBAAiB;;;;","x_google_ignoreList":[0]}
|
package/dist/harmony174.mjs
CHANGED
|
@@ -1,24 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
function
|
|
7
|
-
|
|
8
|
-
hasRequired_baseGetTag = 1;
|
|
9
|
-
var Symbol = require_Symbol(), getRawTag = require_getRawTag(), objectToString = require_objectToString();
|
|
10
|
-
var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
|
|
11
|
-
var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
|
|
12
|
-
function baseGetTag(value) {
|
|
13
|
-
if (value == null) {
|
|
14
|
-
return value === void 0 ? undefinedTag : nullTag;
|
|
15
|
-
}
|
|
16
|
-
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
1
|
+
var isObjectLike_1;
|
|
2
|
+
var hasRequiredIsObjectLike;
|
|
3
|
+
function requireIsObjectLike() {
|
|
4
|
+
if (hasRequiredIsObjectLike) return isObjectLike_1;
|
|
5
|
+
hasRequiredIsObjectLike = 1;
|
|
6
|
+
function isObjectLike(value) {
|
|
7
|
+
return value != null && typeof value == "object";
|
|
17
8
|
}
|
|
18
|
-
|
|
19
|
-
return
|
|
9
|
+
isObjectLike_1 = isObjectLike;
|
|
10
|
+
return isObjectLike_1;
|
|
20
11
|
}
|
|
21
12
|
export {
|
|
22
|
-
|
|
13
|
+
requireIsObjectLike as __require
|
|
23
14
|
};
|
|
24
15
|
//# sourceMappingURL=harmony174.mjs.map
|
package/dist/harmony174.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony174.mjs","sources":["../node_modules/lodash/
|
|
1
|
+
{"version":3,"file":"harmony174.mjs","sources":["../node_modules/lodash/isObjectLike.js"],"sourcesContent":["/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n"],"names":[],"mappings":";;;;;AAwBA,WAAS,aAAa,OAAO;AAC3B,WAAO,SAAS,QAAQ,OAAO,SAAS;AAAA,EAC1C;AAEA,mBAAiB;;;","x_google_ignoreList":[0]}
|
package/dist/harmony175.cjs
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
hasRequiredIsObjectLike = 1;
|
|
8
|
-
function isObjectLike(value) {
|
|
9
|
-
return value != null && typeof value == "object";
|
|
10
|
-
}
|
|
11
|
-
isObjectLike_1 = isObjectLike;
|
|
12
|
-
return isObjectLike_1;
|
|
13
|
-
}
|
|
14
|
-
exports.__require = requireIsObjectLike;
|
|
3
|
+
const assertIsNever = (value) => {
|
|
4
|
+
throw new Error(`Unexpected value: ${value}`);
|
|
5
|
+
};
|
|
6
|
+
exports.assertIsNever = assertIsNever;
|
|
15
7
|
//# sourceMappingURL=harmony175.cjs.map
|
package/dist/harmony175.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harmony175.cjs","sources":["../
|
|
1
|
+
{"version":3,"file":"harmony175.cjs","sources":["../src/utils/types/assertIsNever.ts"],"sourcesContent":["export const assertIsNever = (value: never): never => {\n\tthrow new Error(`Unexpected value: ${value}`)\n}\n"],"names":[],"mappings":";;AAAa,MAAA,gBAAgB,CAAC,UAAwB;AACrD,QAAM,IAAI,MAAM,qBAAqB,KAAK,EAAE;AAC7C;;"}
|