@atlaskit/media-client 37.1.2 → 37.2.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/AGENTS.md +7 -5
- package/CHANGELOG.md +11 -0
- package/compass.yml +34 -14
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/media-core.js +12 -0
- package/dist/cjs/media-state.js +1 -0
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/media-core.js +1 -0
- package/dist/es2019/media-state.js +0 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/media-core.js +1 -0
- package/dist/esm/media-state.js +0 -0
- package/dist/types/index.d.ts +3 -3
- package/dist/types/media-core.d.ts +2 -0
- package/dist/types/media-state.d.ts +1 -0
- package/media-core/package.json +8 -0
- package/media-state/package.json +8 -0
- package/package.json +3 -3
package/AGENTS.md
CHANGED
|
@@ -26,11 +26,13 @@
|
|
|
26
26
|
> codebase and the docs after any code change. Use the `generate` subcommand to bootstrap the index
|
|
27
27
|
> in a new repository.
|
|
28
28
|
|
|
29
|
-
**Entry point:** `.agents/knowledge-index/INDEX.md`
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
**CLI:**
|
|
33
|
-
|
|
29
|
+
**Entry point:** `.agents/knowledge-index/INDEX.md` **Unit doc:**
|
|
30
|
+
`.agents/knowledge-index/domains/media/units/atlaskit-media-client.md` **Standards page:**
|
|
31
|
+
`.agents/knowledge-index/domains/media/units/atlaskit-media-client/standards-and-patterns.md`
|
|
32
|
+
**CLI:**
|
|
33
|
+
`python3 .agents/skills/knowledge-index/scripts/kg.py {find,read,edit,investigate,validate,init,explore,generate} …`
|
|
34
|
+
**Refresh protocol:** never silently bump `Last verified` — always re-read the listed `Sources`
|
|
35
|
+
first, edit, then `kg.py edit <path> --message "<reason>"`.
|
|
34
36
|
|
|
35
37
|
## Key source files
|
|
36
38
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/media-client
|
|
2
2
|
|
|
3
|
+
## 37.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`c2d43ab375005`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c2d43ab375005) -
|
|
8
|
+
Autofix: add explicit package exports (barrel removal)
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 37.1.2
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/compass.yml
CHANGED
|
@@ -1,39 +1,59 @@
|
|
|
1
1
|
name: Media Client
|
|
2
|
-
id:
|
|
2
|
+
id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/652381b6-c323-4b50-bf31-c94941a0b6ef
|
|
3
3
|
description: Media API Web Client Library
|
|
4
4
|
configVersion: 1
|
|
5
5
|
typeId: UI_ELEMENT
|
|
6
|
-
ownerId:
|
|
6
|
+
ownerId: ari:cloud:teams::team/3bee892f-cb1b-496c-b866-0f08d9e0296c # Media EXIF
|
|
7
7
|
fields:
|
|
8
|
-
lifecycle: Active
|
|
9
8
|
tier: 4
|
|
9
|
+
lifecycle: Active
|
|
10
|
+
isMonorepoProject: true
|
|
10
11
|
labels:
|
|
11
12
|
- atlassian-platform
|
|
13
|
+
- platform-code
|
|
14
|
+
- platform-afm
|
|
12
15
|
links:
|
|
13
16
|
- name: Root Repository
|
|
14
17
|
type: REPOSITORY
|
|
15
18
|
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master
|
|
16
19
|
- name: ''
|
|
17
20
|
type: REPOSITORY
|
|
18
|
-
url:
|
|
21
|
+
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/media/media-client/
|
|
19
22
|
- name: ''
|
|
20
23
|
type: DOCUMENT
|
|
21
|
-
url:
|
|
22
|
-
#- name: '' # Tome Capability
|
|
23
|
-
# type: OTHER_LINK
|
|
24
|
-
# url: ''
|
|
24
|
+
url: https://atlaskit.atlassian.com/packages/media/media-client
|
|
25
25
|
- name: Media By Product
|
|
26
26
|
type: DASHBOARD
|
|
27
|
-
url:
|
|
27
|
+
url: https://atlassian.signalfx.com/#/dashboard/E-vk3wqAwAA?groupId=E-vkzo1AwAA&configId=E-vk5fsAwAA&startTime=-7d&endTime=Now
|
|
28
28
|
- name: ''
|
|
29
29
|
type: CHAT_CHANNEL
|
|
30
|
-
url:
|
|
30
|
+
url: https://atlassian.slack.com/archives/C05J5GNHPLN
|
|
31
31
|
- name: ''
|
|
32
32
|
type: ON_CALL
|
|
33
|
-
url:
|
|
33
|
+
url: https://atlassian.app.opsgenie.com/settings/schedule/detail/b62291ff-4029-4f26-b7fc-d75d46d7aebc
|
|
34
34
|
- name: ''
|
|
35
35
|
type: PROJECT
|
|
36
|
-
url:
|
|
36
|
+
url: https://product-fabric.atlassian.net/jira/software/c/projects/BMPT/boards/5090
|
|
37
|
+
- name: Slack Channel
|
|
38
|
+
type: CHAT_CHANNEL
|
|
39
|
+
url: https://atlassian.enterprise.slack.com/archives/C05J5GNHPLN # #help-media-platform
|
|
40
|
+
- name: Media Client
|
|
41
|
+
type: REPOSITORY
|
|
42
|
+
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/media/media-client
|
|
37
43
|
relationships: {}
|
|
38
|
-
|
|
39
|
-
|
|
44
|
+
customFields:
|
|
45
|
+
- name: Department
|
|
46
|
+
type: text
|
|
47
|
+
value: Eng - Automation
|
|
48
|
+
- name: Technical Owner
|
|
49
|
+
type: user
|
|
50
|
+
value: ari:cloud:identity::user/712020:678ede01-221b-4b2f-9fce-adcc0b0d095e # Anupama Majety
|
|
51
|
+
- name: Required Reviewers Opt In
|
|
52
|
+
type: boolean
|
|
53
|
+
value: true
|
|
54
|
+
- name: Reviewer Selection Mechanism
|
|
55
|
+
type: text
|
|
56
|
+
value: random(2)
|
|
57
|
+
- name: Required Reviewer Approvals
|
|
58
|
+
type: number
|
|
59
|
+
value: 1
|
package/dist/cjs/index.js
CHANGED
|
@@ -368,4 +368,4 @@ var _url = require("./utils/url");
|
|
|
368
368
|
var _mediaSubscribable = require("./utils/mediaSubscribable");
|
|
369
369
|
var _constants = require("./constants");
|
|
370
370
|
var _fileStreamsCache = require("./file-streams-cache");
|
|
371
|
-
var _mediaCore = require("
|
|
371
|
+
var _mediaCore = require("./media-core");
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "ChunkHashAlgorithm", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _mediaCore.ChunkHashAlgorithm;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _mediaCore = require("@atlaskit/media-core");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
package/dist/es2019/index.js
CHANGED
|
@@ -21,4 +21,4 @@ export { isMediaBlobUrl, getAttrsFromUrl, addFileAttrsToUrl, objectToQueryString
|
|
|
21
21
|
export { createMediaSubscribable, fromObservable } from './utils/mediaSubscribable';
|
|
22
22
|
export { RECENTS_COLLECTION, MAX_RESOLUTION } from './constants';
|
|
23
23
|
export { getFileStreamsCache } from './file-streams-cache';
|
|
24
|
-
export { ChunkHashAlgorithm } from '
|
|
24
|
+
export { ChunkHashAlgorithm } from './media-core';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChunkHashAlgorithm } from '@atlaskit/media-core';
|
|
File without changes
|
package/dist/esm/index.js
CHANGED
|
@@ -21,4 +21,4 @@ export { isMediaBlobUrl, getAttrsFromUrl, addFileAttrsToUrl, objectToQueryString
|
|
|
21
21
|
export { createMediaSubscribable, fromObservable } from './utils/mediaSubscribable';
|
|
22
22
|
export { RECENTS_COLLECTION, MAX_RESOLUTION } from './constants';
|
|
23
23
|
export { getFileStreamsCache } from './file-streams-cache';
|
|
24
|
-
export { ChunkHashAlgorithm } from '
|
|
24
|
+
export { ChunkHashAlgorithm } from './media-core';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChunkHashAlgorithm } from '@atlaskit/media-core';
|
|
File without changes
|
package/dist/types/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export { isMediaClientError, getMediaClientErrorReason, isCommonMediaClientError
|
|
|
10
10
|
export type { MediaClientError, MediaClientErrorReason, MediaClientErrorAttributes, } from './models/errors';
|
|
11
11
|
export { isUploadingFileState, isProcessingFileState, isProcessedFileState, isErrorFileState, isPreviewableFileState, isFinalFileState, isImageRepresentationReady, isNonErrorFinalFileState, mapMediaFileToFileState, mapMediaItemToFileState, hasArtifacts, } from './models/file-state';
|
|
12
12
|
export type { FileStatus, PreviewOptions, GetFileOptions, NonErrorFileState, PreviewableFileState, } from './models/file-state';
|
|
13
|
-
export type { FileState, FilePreview, ErrorFileState, UploadingFileState, ProcessingFileState, ProcessedFileState, ProcessingFailedState, MediaFileArtifact, MediaFileArtifacts, } from '
|
|
13
|
+
export type { FileState, FilePreview, ErrorFileState, UploadingFileState, ProcessingFileState, ProcessedFileState, ProcessingFailedState, MediaFileArtifact, MediaFileArtifacts, } from './media-state';
|
|
14
14
|
export type { MobileUpload, MobileUploadStartEvent, MobileUploadProgressEvent, MobileUploadEndEvent, MobileUploadErrorEvent, } from './models/mobile-upload';
|
|
15
15
|
export { uploadFile } from './uploader';
|
|
16
16
|
export type { UploadableFile, UploadableFileUpfrontIds, UploadFileCallbacks, UploadFileResult, } from './uploader';
|
|
@@ -34,7 +34,7 @@ export { createMediaSubject } from './utils/createMediaSubject';
|
|
|
34
34
|
export { isFileIdentifier, isExternalImageIdentifier, isDifferentIdentifier } from './identifier';
|
|
35
35
|
export type { Identifier, FileIdentifier, ExternalImageIdentifier } from './identifier';
|
|
36
36
|
export type { EventPayloadListener, UploadEventPayloadMap, MediaViewedEventPayload, AuthProviderSucceededEventPayload, AuthProviderFailedEventPayload, } from './client/events';
|
|
37
|
-
export type { MediaClientConfig } from '
|
|
37
|
+
export type { MediaClientConfig } from './media-core';
|
|
38
38
|
export { globalMediaEventEmitter } from './globalMediaEventEmitter';
|
|
39
39
|
export { isMediaBlobUrl, getAttrsFromUrl, addFileAttrsToUrl, objectToQueryString, } from './utils/url';
|
|
40
40
|
export type { MediaBlobUrlAttrs } from './utils/url';
|
|
@@ -42,4 +42,4 @@ export { createMediaSubscribable, fromObservable } from './utils/mediaSubscribab
|
|
|
42
42
|
export type { MediaSubscribable, MediaSubscription, MediaObserver, } from './utils/mediaSubscribable';
|
|
43
43
|
export { RECENTS_COLLECTION, MAX_RESOLUTION } from './constants';
|
|
44
44
|
export { getFileStreamsCache } from './file-streams-cache';
|
|
45
|
-
export { ChunkHashAlgorithm } from '
|
|
45
|
+
export { ChunkHashAlgorithm } from './media-core';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { FileState, FilePreview, ErrorFileState, UploadingFileState, ProcessingFileState, ProcessedFileState, ProcessingFailedState, MediaFileArtifact, MediaFileArtifacts, } from '@atlaskit/media-state';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-client",
|
|
3
|
-
"version": "37.
|
|
3
|
+
"version": "37.2.0",
|
|
4
4
|
"description": "Media API Web Client Library",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@atlaskit/atlassian-context": "^1.0.0",
|
|
25
25
|
"@atlaskit/chunkinator": "^8.0.0",
|
|
26
|
-
"@atlaskit/media-common": "^14.
|
|
26
|
+
"@atlaskit/media-common": "^14.2.0",
|
|
27
27
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
28
28
|
"@babel/runtime": "^7.0.0",
|
|
29
29
|
"dataloader": "^2.1.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/media-core": "^38.0.0",
|
|
45
45
|
"@atlaskit/media-state": "^3.0.0",
|
|
46
46
|
"@atlaskit/ssr": "workspace:^",
|
|
47
|
-
"@atlaskit/tokens": "^15.
|
|
47
|
+
"@atlaskit/tokens": "^15.4.0",
|
|
48
48
|
"@atlassian/a11y-jest-testing": "^0.13.0",
|
|
49
49
|
"@atlassian/feature-flags-test-utils": "^1.1.0",
|
|
50
50
|
"@emotion/react": "^11.7.1",
|