@atlaskit/editor-synced-block-provider 7.0.14 → 8.0.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/CHANGELOG.md +32 -0
- package/blockService/ari/package.json +1 -8
- package/blockService/package.json +1 -8
- package/blockSubscription/package.json +1 -8
- package/clients/confluence/ari/package.json +1 -8
- package/common/types/package.json +1 -8
- package/errorHandling/package.json +1 -8
- package/fetchJiraMediaToken/package.json +1 -8
- package/fetchMediaToken/package.json +1 -8
- package/jira/ari/package.json +1 -8
- package/package.json +8 -16
- package/providers/block-service/blockServiceAPI/package.json +1 -8
- package/providers/types/package.json +1 -8
- package/rebaseTransaction/package.json +1 -8
- package/referenceSyncBlockStoreManager/package.json +1 -8
- package/requestJiraIssueAccess/package.json +1 -8
- package/resolveSyncBlockInstance/package.json +1 -8
- package/sourceInfo/package.json +1 -8
- package/syncBlockInMemorySessionCache/package.json +1 -8
- package/syncBlockProvider/package.json +1 -8
- package/syncBlockStoreManager/package.json +1 -8
- package/tokenRouting/package.json +1 -8
- package/types/package.json +1 -8
- package/useFetchSyncBlockData/package.json +1 -8
- package/useFetchSyncBlockTitle/package.json +1 -8
- package/useHandleContentChanges/package.json +1 -8
- package/utils/package.json +1 -8
- package/utils/resourceId/package.json +1 -8
- package/validValue/package.json +1 -8
- package/dist/types-ts4.5/clients/block-service/ari.d.ts +0 -34
- package/dist/types-ts4.5/clients/block-service/blockService.d.ts +0 -187
- package/dist/types-ts4.5/clients/block-service/blockSubscription.d.ts +0 -52
- package/dist/types-ts4.5/clients/confluence/ari.d.ts +0 -27
- package/dist/types-ts4.5/clients/confluence/fetchMediaToken.d.ts +0 -10
- package/dist/types-ts4.5/clients/confluence/sourceInfo.d.ts +0 -2
- package/dist/types-ts4.5/clients/confluence/utils.d.ts +0 -2
- package/dist/types-ts4.5/clients/jira/ari.d.ts +0 -18
- package/dist/types-ts4.5/clients/jira/fetchMediaToken.d.ts +0 -9
- package/dist/types-ts4.5/clients/jira/requestJiraIssueAccess.d.ts +0 -13
- package/dist/types-ts4.5/clients/jira/sourceInfo.d.ts +0 -22
- package/dist/types-ts4.5/clients/tokenRouting.d.ts +0 -11
- package/dist/types-ts4.5/common/consts.d.ts +0 -4
- package/dist/types-ts4.5/common/rebase-transaction.d.ts +0 -11
- package/dist/types-ts4.5/common/types.d.ts +0 -82
- package/dist/types-ts4.5/entry-points/blockService-ari.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/blockService.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/blockServiceAPI.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/blockSubscription.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/common-types.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/confluence-ari.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/errorHandling.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/fetchJiraMediaToken.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/fetchMediaToken.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/jira-ari.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/providers-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/rebaseTransaction.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/referenceSyncBlockStoreManager.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/requestJiraIssueAccess.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/resolveSyncBlockInstance.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/resourceId.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/sourceInfo.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/syncBlockInMemorySessionCache.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/syncBlockProvider.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/syncBlockStoreManager.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/tokenRouting.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/useFetchSyncBlockData.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/useFetchSyncBlockTitle.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/useHandleContentChanges.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/utils.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/validValue.d.ts +0 -1
- package/dist/types-ts4.5/hooks/useFetchSyncBlockData.d.ts +0 -16
- package/dist/types-ts4.5/hooks/useFetchSyncBlockTitle.d.ts +0 -3
- package/dist/types-ts4.5/hooks/useHandleContentChanges.d.ts +0 -3
- package/dist/types-ts4.5/index.d.ts +0 -25
- package/dist/types-ts4.5/providers/block-service/blockServiceAPI.d.ts +0 -127
- package/dist/types-ts4.5/providers/syncBlockProvider.d.ts +0 -110
- package/dist/types-ts4.5/providers/types.d.ts +0 -185
- package/dist/types-ts4.5/store-manager/referenceSyncBlockStoreManager.d.ts +0 -147
- package/dist/types-ts4.5/store-manager/sourceSyncBlockStoreManager.d.ts +0 -128
- package/dist/types-ts4.5/store-manager/syncBlockBatchFetcher.d.ts +0 -33
- package/dist/types-ts4.5/store-manager/syncBlockInMemorySessionCache.d.ts +0 -41
- package/dist/types-ts4.5/store-manager/syncBlockProviderFactoryManager.d.ts +0 -26
- package/dist/types-ts4.5/store-manager/syncBlockStoreManager.d.ts +0 -24
- package/dist/types-ts4.5/store-manager/syncBlockSubscriptionManager.d.ts +0 -84
- package/dist/types-ts4.5/utils/errorHandling.d.ts +0 -36
- package/dist/types-ts4.5/utils/experienceTracking.d.ts +0 -59
- package/dist/types-ts4.5/utils/resolveSyncBlockInstance.d.ts +0 -13
- package/dist/types-ts4.5/utils/resourceId.d.ts +0 -7
- package/dist/types-ts4.5/utils/retry.d.ts +0 -1
- package/dist/types-ts4.5/utils/utils.d.ts +0 -15
- package/dist/types-ts4.5/utils/validValue.d.ts +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @atlaskit/editor-synced-block-provider
|
|
2
2
|
|
|
3
|
+
## 8.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ###
|
|
8
|
+
Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**.
|
|
9
|
+
|
|
10
|
+
Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist.
|
|
11
|
+
|
|
12
|
+
Types are now exclusively via the `"types": "dist/types/index.d.ts"` property.
|
|
13
|
+
|
|
14
|
+
```diff
|
|
15
|
+
- "typesVersions": {
|
|
16
|
+
- ">=4.5 <4.9": {
|
|
17
|
+
- "*": [
|
|
18
|
+
- "dist/types-ts4.5/*",
|
|
19
|
+
- "dist/types-ts4.5/index.d.ts"
|
|
20
|
+
- ]
|
|
21
|
+
- }
|
|
22
|
+
- },
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
|
|
29
|
+
## 7.0.15
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- Updated dependencies
|
|
34
|
+
|
|
3
35
|
## 7.0.14
|
|
4
36
|
|
|
5
37
|
### Patch Changes
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../../dist/types/entry-points/blockService-ari.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../../dist/types-ts4.5/entry-points/blockService-ari.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../../dist/types/entry-points/blockService-ari.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/blockService.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/blockService.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/blockService.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/blockSubscription.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/blockSubscription.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/blockSubscription.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../../../dist/types/entry-points/confluence-ari.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../../../dist/types-ts4.5/entry-points/confluence-ari.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../../../dist/types/entry-points/confluence-ari.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../../dist/types/entry-points/common-types.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../../dist/types-ts4.5/entry-points/common-types.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../../dist/types/entry-points/common-types.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/errorHandling.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/errorHandling.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/errorHandling.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/fetchJiraMediaToken.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/fetchJiraMediaToken.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/fetchJiraMediaToken.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/fetchMediaToken.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/fetchMediaToken.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/fetchMediaToken.d.ts"
|
|
17
10
|
}
|
package/jira/ari/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../../dist/types/entry-points/jira-ari.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../../dist/types-ts4.5/entry-points/jira-ari.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../../dist/types/entry-points/jira-ari.d.ts"
|
|
17
10
|
}
|
package/package.json
CHANGED
|
@@ -11,25 +11,17 @@
|
|
|
11
11
|
"module": "dist/esm/index.js",
|
|
12
12
|
"module:es2019": "dist/es2019/index.js",
|
|
13
13
|
"types": "dist/types/index.d.ts",
|
|
14
|
-
"typesVersions": {
|
|
15
|
-
">=4.5 <5.9": {
|
|
16
|
-
"*": [
|
|
17
|
-
"dist/types-ts4.5/*",
|
|
18
|
-
"dist/types-ts4.5/index.d.ts"
|
|
19
|
-
]
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
14
|
"sideEffects": [
|
|
23
15
|
"*.compiled.css"
|
|
24
16
|
],
|
|
25
17
|
"atlaskit:src": "src/index.ts",
|
|
26
18
|
"dependencies": {
|
|
27
|
-
"@atlaskit/adf-utils": "^
|
|
28
|
-
"@atlaskit/editor-json-transformer": "^
|
|
29
|
-
"@atlaskit/editor-prosemirror": "^
|
|
30
|
-
"@atlaskit/node-data-provider": "^
|
|
31
|
-
"@atlaskit/platform-feature-flags": "^
|
|
32
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
19
|
+
"@atlaskit/adf-utils": "^20.0.0",
|
|
20
|
+
"@atlaskit/editor-json-transformer": "^9.0.0",
|
|
21
|
+
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
22
|
+
"@atlaskit/node-data-provider": "^13.0.0",
|
|
23
|
+
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
24
|
+
"@atlaskit/tmp-editor-statsig": "^104.0.0",
|
|
33
25
|
"@babel/runtime": "^7.0.0",
|
|
34
26
|
"@compiled/react": "^0.20.0",
|
|
35
27
|
"graphql-ws": "^5.14.2",
|
|
@@ -38,7 +30,7 @@
|
|
|
38
30
|
"uuid": "^3.1.0"
|
|
39
31
|
},
|
|
40
32
|
"peerDependencies": {
|
|
41
|
-
"@atlaskit/editor-common": "^
|
|
33
|
+
"@atlaskit/editor-common": "^116.0.0",
|
|
42
34
|
"react": "^18.2.0"
|
|
43
35
|
},
|
|
44
36
|
"devDependencies": {
|
|
@@ -82,7 +74,7 @@
|
|
|
82
74
|
}
|
|
83
75
|
},
|
|
84
76
|
"name": "@atlaskit/editor-synced-block-provider",
|
|
85
|
-
"version": "
|
|
77
|
+
"version": "8.0.0",
|
|
86
78
|
"description": "Synced Block Provider for @atlaskit/editor-plugin-synced-block",
|
|
87
79
|
"author": "Atlassian Pty Ltd",
|
|
88
80
|
"license": "Apache-2.0",
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../../../dist/types/entry-points/blockServiceAPI.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../../../dist/types-ts4.5/entry-points/blockServiceAPI.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../../../dist/types/entry-points/blockServiceAPI.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../../dist/types/entry-points/providers-types.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../../dist/types-ts4.5/entry-points/providers-types.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../../dist/types/entry-points/providers-types.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/rebaseTransaction.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/rebaseTransaction.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/rebaseTransaction.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/referenceSyncBlockStoreManager.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/referenceSyncBlockStoreManager.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/referenceSyncBlockStoreManager.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/requestJiraIssueAccess.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/requestJiraIssueAccess.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/requestJiraIssueAccess.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/resolveSyncBlockInstance.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/resolveSyncBlockInstance.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/resolveSyncBlockInstance.d.ts"
|
|
17
10
|
}
|
package/sourceInfo/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/sourceInfo.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/sourceInfo.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/sourceInfo.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/syncBlockInMemorySessionCache.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/syncBlockInMemorySessionCache.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/syncBlockInMemorySessionCache.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/syncBlockProvider.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/syncBlockProvider.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/syncBlockProvider.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/syncBlockStoreManager.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/syncBlockStoreManager.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/syncBlockStoreManager.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/tokenRouting.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/tokenRouting.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/tokenRouting.d.ts"
|
|
17
10
|
}
|
package/types/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/providers-types.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/providers-types.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/providers-types.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/useFetchSyncBlockData.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/useFetchSyncBlockData.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/useFetchSyncBlockData.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/useFetchSyncBlockTitle.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/useFetchSyncBlockTitle.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/useFetchSyncBlockTitle.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/useHandleContentChanges.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/useHandleContentChanges.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/useHandleContentChanges.d.ts"
|
|
17
10
|
}
|
package/utils/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/utils.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/utils.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/utils.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../../dist/types/entry-points/resourceId.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../../dist/types-ts4.5/entry-points/resourceId.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../../dist/types/entry-points/resourceId.d.ts"
|
|
17
10
|
}
|
package/validValue/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/validValue.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/validValue.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/validValue.d.ts"
|
|
17
10
|
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { SyncBlockProduct } from '../../common/types';
|
|
2
|
-
/**
|
|
3
|
-
* Generates the block ARI from the source page ARI and the source block's resource ID.
|
|
4
|
-
* @param cloudId - the cloudId of the block. E.G the cloudId of the confluence page, or the cloudId of the Jira instance
|
|
5
|
-
* @param parentId - the parentId of the block. E.G the pageId for a confluence page, or the issueId for a Jira work item
|
|
6
|
-
* @param resourceId - the resource ID of the block node. A randomly generated UUID
|
|
7
|
-
* @param product - the product of the block. E.G 'confluence-page', 'jira-work-item'
|
|
8
|
-
* @returns the block ARI. E.G ari:cloud:blocks:<cloudId>:synced-block/<product>/<pageId>/<resourceId>
|
|
9
|
-
*/
|
|
10
|
-
export declare const generateBlockAri: ({ cloudId, parentId, product, resourceId, }: {
|
|
11
|
-
cloudId: string;
|
|
12
|
-
parentId: string;
|
|
13
|
-
product: SyncBlockProduct;
|
|
14
|
-
resourceId: string;
|
|
15
|
-
}) => string;
|
|
16
|
-
/**
|
|
17
|
-
* Generates the block ARI from the reference synced block ARI and the resource ID
|
|
18
|
-
* @param cloudId - the cloudId of the block. E.G the cloudId of the confluence page, or the cloudId of the Jira instance
|
|
19
|
-
* @param resourceId - the resource ID of the reference synced block. E.G confluence-page/pageId/sourceResourceId
|
|
20
|
-
* @returns the block ARI. E.G ari:cloud:blocks:<cloudId>:synced-block/<product>/<pageId>/<resourceId>
|
|
21
|
-
*/
|
|
22
|
-
export declare const generateBlockAriFromReference: ({ cloudId, resourceId, }: {
|
|
23
|
-
cloudId: string;
|
|
24
|
-
resourceId: string;
|
|
25
|
-
}) => string;
|
|
26
|
-
/**
|
|
27
|
-
* Extracts the local ID from a source block ARI.
|
|
28
|
-
* Designed for source block ARIs of the form: ari:cloud:blocks:{cloudId}:synced-block/{localId}
|
|
29
|
-
* where the localId is a UUID immediately after synced-block/.
|
|
30
|
-
* @param ari - the source block ARI. E.G ari:cloud:blocks:cloudId:synced-block/79d4f3f4-51df-451b-b9a1-751bc77b1e77
|
|
31
|
-
* @returns the localId of the block node. A randomly generated UUID
|
|
32
|
-
*/
|
|
33
|
-
export declare const getLocalIdFromBlockResourceId: (ari: string) => string;
|
|
34
|
-
export declare const getProductFromSourceAri: (ari?: string) => SyncBlockProduct | undefined;
|