@atlaskit/editor-synced-block-provider 7.0.13 → 7.0.15
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 +12 -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 +2 -2
- 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
|
@@ -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
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
30
30
|
"@atlaskit/node-data-provider": "^12.0.0",
|
|
31
31
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
32
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
32
|
+
"@atlaskit/tmp-editor-statsig": "^103.0.0",
|
|
33
33
|
"@babel/runtime": "^7.0.0",
|
|
34
34
|
"@compiled/react": "^0.20.0",
|
|
35
35
|
"graphql-ws": "^5.14.2",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
"name": "@atlaskit/editor-synced-block-provider",
|
|
85
|
-
"version": "7.0.
|
|
85
|
+
"version": "7.0.15",
|
|
86
86
|
"description": "Synced Block Provider for @atlaskit/editor-plugin-synced-block",
|
|
87
87
|
"author": "Atlassian Pty Ltd",
|
|
88
88
|
"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;
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
import type { ReferenceSyncBlockResponse, SyncBlockProduct, SyncBlockStatus, DeletionReason } from '../../common/types';
|
|
2
|
-
import type { BatchFetchConfig } from '../../providers/types';
|
|
3
|
-
export type BlockContentResponse = {
|
|
4
|
-
blockAri: string;
|
|
5
|
-
blockInstanceId: string;
|
|
6
|
-
content: string;
|
|
7
|
-
contentUpdatedAt: number;
|
|
8
|
-
createdAt: number;
|
|
9
|
-
createdBy: string;
|
|
10
|
-
deletionReason: DeletionReason;
|
|
11
|
-
product: SyncBlockProduct;
|
|
12
|
-
sourceAri: string;
|
|
13
|
-
status: SyncBlockStatus;
|
|
14
|
-
version: number;
|
|
15
|
-
};
|
|
16
|
-
export type ErrorResponse = {
|
|
17
|
-
blockAri: string;
|
|
18
|
-
code: string;
|
|
19
|
-
documentAri: string;
|
|
20
|
-
reason: string;
|
|
21
|
-
};
|
|
22
|
-
type ReferenceSyncedBlockResponse = {
|
|
23
|
-
blocks?: Array<BlockContentResponse>;
|
|
24
|
-
errors?: Array<ErrorResponse>;
|
|
25
|
-
};
|
|
26
|
-
export declare const isBlockContentResponse: (response: BlockContentResponse | ErrorResponse) => response is BlockContentResponse;
|
|
27
|
-
/**
|
|
28
|
-
* Retrieves all synced blocks referenced in a document.
|
|
29
|
-
*
|
|
30
|
-
* Calls the Block Service GraphQL API: `blockService_getDocumentReferenceBlocks`
|
|
31
|
-
*
|
|
32
|
-
* @param documentAri - The ARI of the document to fetch synced blocks for
|
|
33
|
-
* @returns A promise containing arrays of successfully fetched blocks and any errors encountered
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* ```typescript
|
|
37
|
-
* const { blocks, errors } = await getReferenceSyncedBlocks(
|
|
38
|
-
* 'ari:cloud:confluence:xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx:page/88888888'
|
|
39
|
-
* );
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* Example response:
|
|
43
|
-
* ```json
|
|
44
|
-
* {
|
|
45
|
-
* "blocks": [
|
|
46
|
-
* {
|
|
47
|
-
* "blockAri": "ari:cloud:blocks:xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx:synced-block/xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",
|
|
48
|
-
* "version": 1,
|
|
49
|
-
* "sourceDocumentAri": "ari:cloud:confluence:xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx:page/88888888",
|
|
50
|
-
* "blockInstanceId": "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",
|
|
51
|
-
* "content": "string",
|
|
52
|
-
* "status": "active",
|
|
53
|
-
* "createdAt": "2025-10-08T10:30:00.000Z",
|
|
54
|
-
* "createdBy": "557058:xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",
|
|
55
|
-
* "contentUpdatedAt": "2025-10-08T10:30:00.000Z"
|
|
56
|
-
* }
|
|
57
|
-
* ],
|
|
58
|
-
* "errors": [
|
|
59
|
-
* {
|
|
60
|
-
* "blockAri": "ari:cloud:blocks:xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx:synced-block/xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",
|
|
61
|
-
* "code": "error",
|
|
62
|
-
* "reason": "some error reason"
|
|
63
|
-
* }
|
|
64
|
-
* ]
|
|
65
|
-
* }
|
|
66
|
-
* ```
|
|
67
|
-
*/
|
|
68
|
-
export declare const getReferenceSyncedBlocks: (documentAri: string) => Promise<ReferenceSyncedBlockResponse>;
|
|
69
|
-
export type GetSyncedBlockContentRequest = {
|
|
70
|
-
blockAri: string;
|
|
71
|
-
};
|
|
72
|
-
export type DeleteSyncedBlockRequest = {
|
|
73
|
-
blockAri: string;
|
|
74
|
-
deleteReason: string | undefined;
|
|
75
|
-
};
|
|
76
|
-
export type UpdateSyncedBlockRequest = {
|
|
77
|
-
blockAri: string;
|
|
78
|
-
content: string;
|
|
79
|
-
status?: SyncBlockStatus;
|
|
80
|
-
stepVersion?: number;
|
|
81
|
-
};
|
|
82
|
-
export type BatchUpdateSyncedBlockRequest = {
|
|
83
|
-
blockAri: string;
|
|
84
|
-
content: string;
|
|
85
|
-
status?: SyncBlockStatus;
|
|
86
|
-
stepVersion?: number;
|
|
87
|
-
};
|
|
88
|
-
export type BatchUpdateSyncedBlocksRequest = {
|
|
89
|
-
blocks: BatchUpdateSyncedBlockRequest[];
|
|
90
|
-
};
|
|
91
|
-
export type BatchUpdateSyncedBlocksResponse = {
|
|
92
|
-
error?: Array<ErrorResponse>;
|
|
93
|
-
success?: Array<BlockContentResponse>;
|
|
94
|
-
};
|
|
95
|
-
export type CreateSyncedBlockRequest = {
|
|
96
|
-
blockAri: string;
|
|
97
|
-
blockInstanceId: string;
|
|
98
|
-
content: string;
|
|
99
|
-
product: SyncBlockProduct;
|
|
100
|
-
sourceAri: string;
|
|
101
|
-
status?: SyncBlockStatus;
|
|
102
|
-
stepVersion?: number;
|
|
103
|
-
};
|
|
104
|
-
type ReferenceSyncedBlockIDs = {
|
|
105
|
-
blockAri: string;
|
|
106
|
-
blockInstanceId: string;
|
|
107
|
-
};
|
|
108
|
-
type UpdateReferenceSyncedBlockOnDocumentRequest = {
|
|
109
|
-
blocks: ReferenceSyncedBlockIDs[];
|
|
110
|
-
documentAri: string;
|
|
111
|
-
noContent?: boolean;
|
|
112
|
-
};
|
|
113
|
-
export type BatchRetrieveSyncedBlocksRequest = {
|
|
114
|
-
blockIdentifiers: BlockIdentifier[];
|
|
115
|
-
config?: BatchFetchConfig;
|
|
116
|
-
};
|
|
117
|
-
type BlockIdentifier = {
|
|
118
|
-
blockAri: string;
|
|
119
|
-
blockInstanceId: string;
|
|
120
|
-
};
|
|
121
|
-
export type BatchRetrieveSyncedBlocksResponse = {
|
|
122
|
-
error?: Array<ErrorResponse>;
|
|
123
|
-
success?: Array<BlockContentResponse>;
|
|
124
|
-
};
|
|
125
|
-
type GetReferenceSyncedBlocksByBlockAriRequest = {
|
|
126
|
-
blockAri: string;
|
|
127
|
-
};
|
|
128
|
-
type GetReferenceSyncedBlocksByBlockAriResponse = {
|
|
129
|
-
blockAri?: string;
|
|
130
|
-
errors: Array<ErrorResponse>;
|
|
131
|
-
references: Array<ReferenceSyncBlockResponse>;
|
|
132
|
-
};
|
|
133
|
-
export declare class BlockError extends Error {
|
|
134
|
-
readonly status: number;
|
|
135
|
-
constructor(status: number);
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Thrown when Block Service returns RESOURCE_NOT_FOUND for a block.
|
|
139
|
-
* This typically happens when an orphan block (e.g. from a copied page) is deleted.
|
|
140
|
-
* The caller should create the block first, then delete it to ensure a proper soft-delete record.
|
|
141
|
-
*/
|
|
142
|
-
export declare class BlockNotFoundError extends Error {
|
|
143
|
-
constructor();
|
|
144
|
-
}
|
|
145
|
-
export declare class BlockTimeoutError extends Error {
|
|
146
|
-
constructor();
|
|
147
|
-
}
|
|
148
|
-
export declare const getSyncedBlockContent: ({ blockAri, }: GetSyncedBlockContentRequest) => Promise<BlockContentResponse>;
|
|
149
|
-
/**
|
|
150
|
-
* Batch retrieves multiple synced blocks by their ARIs.
|
|
151
|
-
*
|
|
152
|
-
* Calls the Block Service GraphQL API: `blockService_batchRetrieveBlocks`
|
|
153
|
-
*
|
|
154
|
-
* @param blockIdentifiers - Array of block identifiers to retrieve
|
|
155
|
-
* @param config - Optional batch fetch configuration (e.g. timeout)
|
|
156
|
-
* @returns A promise containing arrays of successfully fetched blocks and any errors encountered
|
|
157
|
-
*/
|
|
158
|
-
export declare const batchRetrieveSyncedBlocks: ({ blockIdentifiers, config, }: BatchRetrieveSyncedBlocksRequest) => Promise<BatchRetrieveSyncedBlocksResponse>;
|
|
159
|
-
export declare const deleteSyncedBlock: ({ blockAri, deleteReason, }: DeleteSyncedBlockRequest) => Promise<void>;
|
|
160
|
-
export declare const updateSyncedBlock: ({ blockAri, content, stepVersion, status, }: UpdateSyncedBlockRequest) => Promise<void>;
|
|
161
|
-
export declare const createSyncedBlock: ({ blockAri, blockInstanceId, sourceAri, product, content, stepVersion, status, }: CreateSyncedBlockRequest) => Promise<BlockContentResponse>;
|
|
162
|
-
export declare const updateReferenceSyncedBlockOnDocument: ({ documentAri, blocks, noContent, }: UpdateReferenceSyncedBlockOnDocumentRequest) => Promise<ReferenceSyncedBlockResponse | void>;
|
|
163
|
-
export declare const getReferenceSyncedBlocksByBlockAri: ({ blockAri, }: GetReferenceSyncedBlocksByBlockAriRequest) => Promise<GetReferenceSyncedBlocksByBlockAriResponse>;
|
|
164
|
-
/**
|
|
165
|
-
* Batch updates multiple synced blocks.
|
|
166
|
-
*
|
|
167
|
-
* Calls the Block Service GraphQL API: `blockService_batchUpdateBlocks`
|
|
168
|
-
*
|
|
169
|
-
* @param blocks - Array of block updates to apply
|
|
170
|
-
* @returns A promise containing arrays of successfully updated blocks and any errors encountered
|
|
171
|
-
*
|
|
172
|
-
* @example
|
|
173
|
-
* ```typescript
|
|
174
|
-
* const result = await updateSyncedBlocks({
|
|
175
|
-
* blocks: [
|
|
176
|
-
* {
|
|
177
|
-
* blockAri: 'ari:cloud:blocks:site-123:synced-block/uuid-456',
|
|
178
|
-
* content: '{"type":"doc","version":1,"content":[]}',
|
|
179
|
-
* status: 'active',
|
|
180
|
-
* stepVersion: 42
|
|
181
|
-
* }
|
|
182
|
-
* ]
|
|
183
|
-
* });
|
|
184
|
-
* ```
|
|
185
|
-
*/
|
|
186
|
-
export declare const updateSyncedBlocks: ({ blocks, }: BatchUpdateSyncedBlocksRequest) => Promise<BatchUpdateSyncedBlocksResponse>;
|
|
187
|
-
export {};
|