@atlaskit/util-data-test 17.8.22 → 17.8.23
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 +6 -0
- package/package.json +2 -2
- package/dist/types-ts4.5/emoji/emoji-from-upload.d.ts +0 -17
- package/dist/types-ts4.5/emoji/emoji-repository-usage-clear.d.ts +0 -7
- package/dist/types-ts4.5/emoji/emoji-resource-usage-clear.d.ts +0 -6
- package/dist/types-ts4.5/emoji/get-atlassian-emoji-data.d.ts +0 -2
- package/dist/types-ts4.5/emoji/get-atlassian-emojis.d.ts +0 -1
- package/dist/types-ts4.5/emoji/get-emoji-provider.d.ts +0 -9
- package/dist/types-ts4.5/emoji/get-emoji-repository.d.ts +0 -2
- package/dist/types-ts4.5/emoji/get-emoji-resource-standard-atlassian.d.ts +0 -2
- package/dist/types-ts4.5/emoji/get-emoji-resource-usage-clear.d.ts +0 -2
- package/dist/types-ts4.5/emoji/get-emoji-resource.d.ts +0 -2
- package/dist/types-ts4.5/emoji/get-emojis.d.ts +0 -1
- package/dist/types-ts4.5/emoji/get-site-emoji-data.d.ts +0 -2
- package/dist/types-ts4.5/emoji/get-site-emojis.d.ts +0 -1
- package/dist/types-ts4.5/emoji/get-standard-emoji-data.d.ts +0 -2
- package/dist/types-ts4.5/emoji/get-standard-emojis.d.ts +0 -1
- package/dist/types-ts4.5/emoji/image-emoji.d.ts +0 -19
- package/dist/types-ts4.5/emoji/logged-user.d.ts +0 -1
- package/dist/types-ts4.5/emoji/lorem.d.ts +0 -1
- package/dist/types-ts4.5/emoji/mock-emoji-resource-factory.d.ts +0 -3
- package/dist/types-ts4.5/emoji/mock-emoji-resource.d.ts +0 -20
- package/dist/types-ts4.5/emoji/mock-non-uploading-emoji-resource-factory.d.ts +0 -3
- package/dist/types-ts4.5/emoji/mock-non-uploading-emoji-resource.d.ts +0 -33
- package/dist/types-ts4.5/emoji/site-emoji-foo.d.ts +0 -17
- package/dist/types-ts4.5/emoji/site-emoji-wtf.d.ts +0 -17
- package/dist/types-ts4.5/emoji/sprite-emoji.d.ts +0 -24
- package/dist/types-ts4.5/emoji/types.d.ts +0 -15
- package/dist/types-ts4.5/emoji-constants/index.d.ts +0 -6
- package/dist/types-ts4.5/emoji-test/emoji-samples.d.ts +0 -10
- package/dist/types-ts4.5/emoji-test/expires-at.d.ts +0 -1
- package/dist/types-ts4.5/emoji-test/filter-to-searchable.d.ts +0 -2
- package/dist/types-ts4.5/emoji-test/get-non-uploading-emoji-resource.d.ts +0 -2
- package/dist/types-ts4.5/emoji-test/get-test-atlassian-emojis.d.ts +0 -1
- package/dist/types-ts4.5/emoji-test/get-test-atlassian-service-emojis.d.ts +0 -1
- package/dist/types-ts4.5/emoji-test/get-test-emoji-repository.d.ts +0 -1
- package/dist/types-ts4.5/emoji-test/get-test-emoji-resource-from-repository.d.ts +0 -3
- package/dist/types-ts4.5/emoji-test/get-test-emoji-resource-non-uploading.d.ts +0 -2
- package/dist/types-ts4.5/emoji-test/get-test-emoji-resource.d.ts +0 -2
- package/dist/types-ts4.5/emoji-test/get-test-emojis.d.ts +0 -21
- package/dist/types-ts4.5/emoji-test/get-test-image-emoji.d.ts +0 -19
- package/dist/types-ts4.5/emoji-test/get-test-media-api-token.d.ts +0 -7
- package/dist/types-ts4.5/emoji-test/get-test-searchable-emojis.d.ts +0 -1
- package/dist/types-ts4.5/emoji-test/get-test-site-emoji-foo.d.ts +0 -17
- package/dist/types-ts4.5/emoji-test/get-test-site-emoji-repository.d.ts +0 -1
- package/dist/types-ts4.5/emoji-test/get-test-site-emoji-wtf.d.ts +0 -17
- package/dist/types-ts4.5/emoji-test/get-test-site-emojis.d.ts +0 -32
- package/dist/types-ts4.5/emoji-test/get-test-site-service-emojis.d.ts +0 -33
- package/dist/types-ts4.5/emoji-test/get-test-sprite-emoji.d.ts +0 -24
- package/dist/types-ts4.5/emoji-test/get-test-standard-emojis.d.ts +0 -1
- package/dist/types-ts4.5/emoji-test/get-test-standard-service-emojis.d.ts +0 -1
- package/dist/types-ts4.5/emoji-test/media-emoji.d.ts +0 -26
- package/dist/types-ts4.5/emoji-test/media-service-emoji.d.ts +0 -22
- package/dist/types-ts4.5/emoji-test/test-emoji-repository.d.ts +0 -5
- package/dist/types-ts4.5/logger.d.ts +0 -4
- package/dist/types-ts4.5/mention/create-mock-mention-name-resolver.d.ts +0 -2
- package/dist/types-ts4.5/mention/mention-story-data.d.ts +0 -132
- package/dist/types-ts4.5/mention/mention-test-data.d.ts +0 -3
- package/dist/types-ts4.5/mention/mock-mention-name-client.d.ts +0 -6
- package/dist/types-ts4.5/mention/mock-mention-resource-with-info-hints.d.ts +0 -10
- package/dist/types-ts4.5/mention/mock-mention-resource.d.ts +0 -29
- package/dist/types-ts4.5/mention/mock-presence-resource.d.ts +0 -11
- package/dist/types-ts4.5/mention/presence-data.d.ts +0 -16
- package/dist/types-ts4.5/mention/utils.d.ts +0 -7
- package/dist/types-ts4.5/profilecard/get-mock-profilecard-client.d.ts +0 -3
- package/dist/types-ts4.5/profilecard/profilecard-data.d.ts +0 -31
- package/dist/types-ts4.5/profilecard/util.d.ts +0 -6
- package/dist/types-ts4.5/slack-data/index.d.ts +0 -3
- package/dist/types-ts4.5/slack-data/slack-conversations-data.d.ts +0 -2
- package/dist/types-ts4.5/slack-data/slack-workspaces-data.d.ts +0 -2
- package/dist/types-ts4.5/task-decision/mock-task-decision-resource.d.ts +0 -23
- package/dist/types-ts4.5/task-decision/task-decision-story-data.d.ts +0 -50
- package/dist/types-ts4.5/task-decision/utils.d.ts +0 -4
- package/dist/types-ts4.5/user-picker/ChevronRight.d.ts +0 -3
- package/dist/types-ts4.5/user-picker/index.d.ts +0 -4
- package/dist/types-ts4.5/user-picker/user-picker-custom-data.d.ts +0 -2
- package/dist/types-ts4.5/user-picker/user-picker-data.d.ts +0 -1
- package/dist/types-ts4.5/user-picker/user-picker-team-data.d.ts +0 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/util-data-test",
|
|
3
|
-
"version": "17.8.
|
|
3
|
+
"version": "17.8.23",
|
|
4
4
|
"description": "Shared test and story data",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
71
|
-
"@atlaskit/emoji": "67.5.
|
|
71
|
+
"@atlaskit/emoji": "67.5.10",
|
|
72
72
|
"@atlaskit/icon": "^21.12.0",
|
|
73
73
|
"@atlaskit/mention": "22.1.6",
|
|
74
74
|
"@atlaskit/profilecard": "^19.6.0",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { EmojiUpload } from '@atlaskit/emoji/types';
|
|
2
|
-
export declare const emojiFromUpload: (upload: EmojiUpload) => {
|
|
3
|
-
id: any;
|
|
4
|
-
shortName: string;
|
|
5
|
-
name: string;
|
|
6
|
-
fallback: string;
|
|
7
|
-
type: string;
|
|
8
|
-
category: string;
|
|
9
|
-
order: number;
|
|
10
|
-
creatorUserId: string;
|
|
11
|
-
representation: {
|
|
12
|
-
width: number;
|
|
13
|
-
height: number;
|
|
14
|
-
imagePath: string;
|
|
15
|
-
};
|
|
16
|
-
searchable: boolean;
|
|
17
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { EmojiRepository } from '@atlaskit/emoji/resource';
|
|
2
|
-
import { EmojiDescription } from '@atlaskit/emoji/types';
|
|
3
|
-
export declare const isUsageClearEmojiRepository: (object: any) => object is EmojiRepositoryUsageClear;
|
|
4
|
-
export declare class EmojiRepositoryUsageClear extends EmojiRepository {
|
|
5
|
-
constructor(emojis: EmojiDescription[]);
|
|
6
|
-
clear(): void;
|
|
7
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { EmojiDescription } from '@atlaskit/emoji/types';
|
|
2
|
-
import { MockNonUploadingEmojiResource } from './mock-non-uploading-emoji-resource';
|
|
3
|
-
export declare class EmojiResourceUsageClear extends MockNonUploadingEmojiResource {
|
|
4
|
-
constructor(emojis: EmojiDescription[]);
|
|
5
|
-
clearFrequentlyUsed(): void;
|
|
6
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getAtlassianEmojis: import("memoize-one").MemoizedFn<() => import("@atlaskit/emoji").EmojiDescriptionWithVariations[]>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { EmojiProvider, EmojiServiceResponse } from '@atlaskit/emoji/types';
|
|
2
|
-
import { MockEmojiResourceConfig } from './types';
|
|
3
|
-
type DataFetch = () => Promise<EmojiServiceResponse>;
|
|
4
|
-
export declare const currentUser: {
|
|
5
|
-
id: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const defaultFetch: () => Promise<any>;
|
|
8
|
-
export declare const getEmojiProvider: (config?: MockEmojiResourceConfig, fn?: DataFetch) => Promise<EmojiProvider>;
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getEmojis: () => import("@atlaskit/emoji").EmojiDescriptionWithVariations[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getSiteEmojis: import("memoize-one").MemoizedFn<() => import("@atlaskit/emoji").EmojiDescriptionWithVariations[]>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getStandardEmojis: import("memoize-one").MemoizedFn<() => import("@atlaskit/emoji").EmojiDescriptionWithVariations[]>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const imageEmoji: {
|
|
2
|
-
id: string;
|
|
3
|
-
shortName: string;
|
|
4
|
-
name: string;
|
|
5
|
-
type: string;
|
|
6
|
-
category: string;
|
|
7
|
-
order: number;
|
|
8
|
-
representation: {
|
|
9
|
-
imagePath: string;
|
|
10
|
-
width: number;
|
|
11
|
-
height: number;
|
|
12
|
-
};
|
|
13
|
-
altRepresentation: {
|
|
14
|
-
imagePath: string;
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
};
|
|
18
|
-
searchable: boolean;
|
|
19
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const loggedUser = "blackpanther";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const lorem = "\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur tincidunt,\n lorem eu vestibulum sollicitudin, erat nibh ornare purus, et sollicitudin lorem\n felis nec erat. Quisque quis ligula nisi. Cras nec dui vestibulum, pretium massa ut,\n egestas turpis. Quisque finibus eget justo a mollis. Mauris quis varius nisl. Donec\n aliquet enim vel eros suscipit porta. Vivamus quis molestie leo. In feugiat felis mi,\n ac varius odio accumsan ac. Pellentesque habitant morbi tristique senectus et netus et\n malesuada fames ac turpis egestas. Mauris elementum mauris ac leo porta venenatis.\n Integer hendrerit lacus vel faucibus sagittis. Mauris elit urna, tincidunt at aliquet\n sit amet, convallis placerat diam. Mauris id aliquet elit, non posuere nibh. Curabitur\n ullamcorper lectus mi, quis varius libero ultricies nec. Quisque tempus neque ligula,\n a semper massa dignissim nec.\n";
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { EmojiRepository } from '@atlaskit/emoji/resource';
|
|
2
|
-
import { MockEmojiResourceConfig, PromiseBuilder } from './types';
|
|
3
|
-
export declare const mockEmojiResourceFactory: (emojiRepository: EmojiRepository, config?: MockEmojiResourceConfig, promiseBuilder?: PromiseBuilder<any>) => Promise<any>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { UploadingEmojiProvider, EmojiRepository } from '@atlaskit/emoji/resource';
|
|
2
|
-
import { EmojiDescription, EmojiId, EmojiUpload, OptionalEmojiDescriptionWithVariations } from '@atlaskit/emoji/types';
|
|
3
|
-
import { MockNonUploadingEmojiResource } from './mock-non-uploading-emoji-resource';
|
|
4
|
-
import { MockEmojiResourceConfig, UploadDetail } from './types';
|
|
5
|
-
export declare class MockEmojiResource extends MockNonUploadingEmojiResource implements UploadingEmojiProvider {
|
|
6
|
-
private uploads;
|
|
7
|
-
private uploadSupported;
|
|
8
|
-
private uploadError?;
|
|
9
|
-
constructor(emojiService: EmojiRepository, config?: MockEmojiResourceConfig);
|
|
10
|
-
getMediaEmojiDescriptionURLWithInlineToken(emoji: EmojiDescription): Promise<EmojiDescription>;
|
|
11
|
-
fetchEmojiProvider(force?: boolean): Promise<EmojiRepository | undefined>;
|
|
12
|
-
fetchByEmojiId(emojiId: EmojiId, optimistic: boolean): Promise<OptionalEmojiDescriptionWithVariations>;
|
|
13
|
-
getOptimisticImageURL(emojiId: EmojiId): undefined;
|
|
14
|
-
isUploadSupported(): Promise<boolean>;
|
|
15
|
-
uploadCustomEmoji(upload: EmojiUpload): Promise<any>;
|
|
16
|
-
getUploads(): UploadDetail[];
|
|
17
|
-
prepareForUpload(): Promise<void>;
|
|
18
|
-
notifyNotReady(): void;
|
|
19
|
-
loadMediaEmoji(emoji: EmojiDescription): EmojiDescription | Promise<any>;
|
|
20
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { EmojiRepository } from '@atlaskit/emoji/resource';
|
|
2
|
-
import { MockEmojiResourceConfig, PromiseBuilder } from './types';
|
|
3
|
-
export declare const mockNonUploadingEmojiResourceFactory: (emojiRepository: EmojiRepository, config?: MockEmojiResourceConfig, promiseBuilder?: PromiseBuilder<any>) => Promise<any>;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { AbstractResource } from '@atlaskit/util-service-support';
|
|
2
|
-
import { EmojiProvider, EmojiRepository } from '@atlaskit/emoji/resource';
|
|
3
|
-
import { EmojiDescription, EmojiId, EmojiSearchResult, OptionalEmojiDescription, SearchOptions, ToneSelection, User, OptionalUser, CategoryId } from '@atlaskit/emoji/types';
|
|
4
|
-
import { MockEmojiResourceConfig, PromiseBuilder } from './types';
|
|
5
|
-
export declare class MockNonUploadingEmojiResource extends AbstractResource<string, EmojiSearchResult, any, undefined, SearchOptions> implements EmojiProvider {
|
|
6
|
-
protected emojiRepository: EmojiRepository;
|
|
7
|
-
protected promiseBuilder: PromiseBuilder<any>;
|
|
8
|
-
protected lastQuery: string;
|
|
9
|
-
protected selectedTone: ToneSelection;
|
|
10
|
-
protected optimisticRendering?: boolean;
|
|
11
|
-
protected currentUser?: User;
|
|
12
|
-
recordedSelections: EmojiDescription[];
|
|
13
|
-
constructor(emojiService: EmojiRepository, config?: MockEmojiResourceConfig);
|
|
14
|
-
fetchEmojiProvider(force?: boolean): Promise<EmojiRepository | undefined>;
|
|
15
|
-
getOptimisticImageURL(emojiId: EmojiId): undefined;
|
|
16
|
-
getCurrentUser(): OptionalUser;
|
|
17
|
-
filter(query?: string, options?: SearchOptions): void;
|
|
18
|
-
findByShortName(shortName: string): Promise<OptionalEmojiDescription>;
|
|
19
|
-
fetchByEmojiId(emojiId: EmojiId, optimistic: boolean): Promise<OptionalEmojiDescription> | OptionalEmojiDescription;
|
|
20
|
-
findByEmojiId(emojiId: EmojiId): Promise<OptionalEmojiDescription> | OptionalEmojiDescription;
|
|
21
|
-
findById(id: string): Promise<OptionalEmojiDescription>;
|
|
22
|
-
findInCategory(categoryId: CategoryId): Promise<EmojiDescription[]>;
|
|
23
|
-
getAsciiMap(): Promise<Map<string, EmojiDescription>>;
|
|
24
|
-
getFrequentlyUsed(options?: SearchOptions): Promise<EmojiDescription[]>;
|
|
25
|
-
getMediaEmojiDescriptionURLWithInlineToken(emoji: EmojiDescription): Promise<EmojiDescription>;
|
|
26
|
-
recordSelection?(emoji: EmojiDescription): Promise<any>;
|
|
27
|
-
deleteSiteEmoji(emoji: EmojiDescription): Promise<boolean>;
|
|
28
|
-
loadMediaEmoji(emoji: EmojiDescription): OptionalEmojiDescription | Promise<OptionalEmojiDescription>;
|
|
29
|
-
optimisticMediaRendering(emoji: EmojiDescription): boolean;
|
|
30
|
-
getSelectedTone(): ToneSelection;
|
|
31
|
-
setSelectedTone(tone: ToneSelection): void;
|
|
32
|
-
calculateDynamicCategories(): Promise<string[]>;
|
|
33
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const siteEmojiFoo: {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
fallback: string;
|
|
5
|
-
type: string;
|
|
6
|
-
category: string;
|
|
7
|
-
order: number;
|
|
8
|
-
searchable: boolean;
|
|
9
|
-
shortName: string;
|
|
10
|
-
creatorUserId: string;
|
|
11
|
-
representation: {
|
|
12
|
-
height: number;
|
|
13
|
-
width: number;
|
|
14
|
-
imagePath: string;
|
|
15
|
-
};
|
|
16
|
-
skinVariations: never[];
|
|
17
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const siteEmojiWtf: {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
fallback: string;
|
|
5
|
-
type: string;
|
|
6
|
-
category: string;
|
|
7
|
-
order: number;
|
|
8
|
-
searchable: boolean;
|
|
9
|
-
shortName: string;
|
|
10
|
-
creatorUserId: string;
|
|
11
|
-
representation: {
|
|
12
|
-
height: number;
|
|
13
|
-
width: number;
|
|
14
|
-
imagePath: string;
|
|
15
|
-
};
|
|
16
|
-
skinVariations: never[];
|
|
17
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare const spriteEmoji: {
|
|
2
|
-
id: string;
|
|
3
|
-
shortName: string;
|
|
4
|
-
name: string;
|
|
5
|
-
type: string;
|
|
6
|
-
category: string;
|
|
7
|
-
order: number;
|
|
8
|
-
representation: {
|
|
9
|
-
sprite: {
|
|
10
|
-
url: string;
|
|
11
|
-
row: number;
|
|
12
|
-
column: number;
|
|
13
|
-
height: number;
|
|
14
|
-
width: number;
|
|
15
|
-
};
|
|
16
|
-
xIndex: number;
|
|
17
|
-
yIndex: number;
|
|
18
|
-
x: number;
|
|
19
|
-
y: number;
|
|
20
|
-
height: number;
|
|
21
|
-
width: number;
|
|
22
|
-
};
|
|
23
|
-
searchable: boolean;
|
|
24
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { EmojiUpload, EmojiDescription, User } from '@atlaskit/emoji/types';
|
|
2
|
-
export interface PromiseBuilder<R> {
|
|
3
|
-
(result: R, context: string): Promise<R>;
|
|
4
|
-
}
|
|
5
|
-
export interface UploadDetail {
|
|
6
|
-
upload: EmojiUpload;
|
|
7
|
-
emoji: EmojiDescription;
|
|
8
|
-
}
|
|
9
|
-
export interface MockEmojiResourceConfig {
|
|
10
|
-
promiseBuilder?: PromiseBuilder<any>;
|
|
11
|
-
uploadSupported?: boolean;
|
|
12
|
-
uploadError?: string;
|
|
13
|
-
optimisticRendering?: boolean;
|
|
14
|
-
currentUser?: User;
|
|
15
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const customType = "SITE";
|
|
2
|
-
export declare const customCategory = "CUSTOM";
|
|
3
|
-
export declare const selectedToneStorageKey = "fabric.emoji.selectedTone";
|
|
4
|
-
export declare const mediaBaseUrl = "https://media.example.com/";
|
|
5
|
-
export declare const mediaEmojiImagePath: string;
|
|
6
|
-
export declare const mediaEmojiAlternateImagePath: string;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const smileyEmoji: () => any;
|
|
2
|
-
export declare const openMouthEmoji: () => any;
|
|
3
|
-
export declare const grinEmoji: () => any;
|
|
4
|
-
export declare const evilburnsEmoji: () => any;
|
|
5
|
-
export declare const thumbsupEmoji: () => any;
|
|
6
|
-
export declare const thumbsdownEmoji: () => any;
|
|
7
|
-
export declare const standardBoomEmoji: () => any;
|
|
8
|
-
export declare const atlassianBoomEmoji: () => any;
|
|
9
|
-
export declare const blackFlagEmoji: () => any;
|
|
10
|
-
export declare const congoFlagEmoji: () => any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const expiresAt: (offsetSeconds?: number) => number;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getTestAtlassianEmojis: () => any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getTestAtlassianServiceEmojis: () => any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getTestEmojiRepository: () => any;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const getTestEmojis: () => (import("@atlaskit/emoji").EmojiDescriptionWithVariations | {
|
|
2
|
-
name: string;
|
|
3
|
-
type: string;
|
|
4
|
-
category: string;
|
|
5
|
-
order: number;
|
|
6
|
-
representation: {
|
|
7
|
-
mediaPath: string;
|
|
8
|
-
width: number;
|
|
9
|
-
height: number;
|
|
10
|
-
};
|
|
11
|
-
altRepresentation: {
|
|
12
|
-
mediaPath: string;
|
|
13
|
-
width: number;
|
|
14
|
-
height: number;
|
|
15
|
-
};
|
|
16
|
-
skinVariations: never[];
|
|
17
|
-
searchable: boolean;
|
|
18
|
-
id: string;
|
|
19
|
-
shortName: string;
|
|
20
|
-
fallback: string;
|
|
21
|
-
})[];
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const getTestImageEmoji: () => {
|
|
2
|
-
id: string;
|
|
3
|
-
shortName: string;
|
|
4
|
-
name: string;
|
|
5
|
-
type: string;
|
|
6
|
-
category: string;
|
|
7
|
-
order: number;
|
|
8
|
-
representation: {
|
|
9
|
-
imagePath: string;
|
|
10
|
-
width: number;
|
|
11
|
-
height: number;
|
|
12
|
-
};
|
|
13
|
-
altRepresentation: {
|
|
14
|
-
imagePath: string;
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
};
|
|
18
|
-
searchable: boolean;
|
|
19
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getTestSearchableEmojis: () => import("@atlaskit/emoji").EmojiDescription[];
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const getTestSiteEmojiFoo: () => {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
fallback: string;
|
|
5
|
-
type: string;
|
|
6
|
-
category: string;
|
|
7
|
-
order: number;
|
|
8
|
-
searchable: boolean;
|
|
9
|
-
shortName: string;
|
|
10
|
-
creatorUserId: string;
|
|
11
|
-
representation: {
|
|
12
|
-
height: number;
|
|
13
|
-
width: number;
|
|
14
|
-
imagePath: string;
|
|
15
|
-
};
|
|
16
|
-
skinVariations: never[];
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getTestSiteEmojiRepository: () => any;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const getTestSiteEmojiWtf: () => {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
fallback: string;
|
|
5
|
-
type: string;
|
|
6
|
-
category: string;
|
|
7
|
-
order: number;
|
|
8
|
-
searchable: boolean;
|
|
9
|
-
shortName: string;
|
|
10
|
-
creatorUserId: string;
|
|
11
|
-
representation: {
|
|
12
|
-
height: number;
|
|
13
|
-
width: number;
|
|
14
|
-
imagePath: string;
|
|
15
|
-
};
|
|
16
|
-
skinVariations: never[];
|
|
17
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const getTestSiteEmojis: () => {
|
|
2
|
-
emojis: {
|
|
3
|
-
name: string;
|
|
4
|
-
type: string;
|
|
5
|
-
category: string;
|
|
6
|
-
order: number;
|
|
7
|
-
representation: {
|
|
8
|
-
mediaPath: string;
|
|
9
|
-
width: number;
|
|
10
|
-
height: number;
|
|
11
|
-
};
|
|
12
|
-
altRepresentation: {
|
|
13
|
-
mediaPath: string;
|
|
14
|
-
width: number;
|
|
15
|
-
height: number;
|
|
16
|
-
};
|
|
17
|
-
skinVariations: never[];
|
|
18
|
-
searchable: boolean;
|
|
19
|
-
id: string;
|
|
20
|
-
shortName: string;
|
|
21
|
-
fallback: string;
|
|
22
|
-
}[];
|
|
23
|
-
meta: {
|
|
24
|
-
mediaApiToken: {
|
|
25
|
-
url: string;
|
|
26
|
-
clientId: string;
|
|
27
|
-
jwt: string;
|
|
28
|
-
collectionName: string;
|
|
29
|
-
expiresAt: number;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export declare const getTestSiteServiceEmojis: () => {
|
|
2
|
-
emojis: {
|
|
3
|
-
id: string;
|
|
4
|
-
shortName: string;
|
|
5
|
-
name: string;
|
|
6
|
-
fallback: string;
|
|
7
|
-
type: string;
|
|
8
|
-
category: string;
|
|
9
|
-
order: number;
|
|
10
|
-
representation: {
|
|
11
|
-
imagePath: string;
|
|
12
|
-
width: number;
|
|
13
|
-
height: number;
|
|
14
|
-
};
|
|
15
|
-
altRepresentations: {
|
|
16
|
-
XHDPI: {
|
|
17
|
-
imagePath: string;
|
|
18
|
-
width: number;
|
|
19
|
-
height: number;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
searchable: boolean;
|
|
23
|
-
}[];
|
|
24
|
-
meta: {
|
|
25
|
-
mediaApiToken: {
|
|
26
|
-
url: string;
|
|
27
|
-
clientId: string;
|
|
28
|
-
jwt: string;
|
|
29
|
-
collectionName: string;
|
|
30
|
-
expiresAt: number;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare const getTestSpriteEmoji: () => {
|
|
2
|
-
id: string;
|
|
3
|
-
shortName: string;
|
|
4
|
-
name: string;
|
|
5
|
-
type: string;
|
|
6
|
-
category: string;
|
|
7
|
-
order: number;
|
|
8
|
-
representation: {
|
|
9
|
-
sprite: {
|
|
10
|
-
url: string;
|
|
11
|
-
row: number;
|
|
12
|
-
column: number;
|
|
13
|
-
height: number;
|
|
14
|
-
width: number;
|
|
15
|
-
};
|
|
16
|
-
xIndex: number;
|
|
17
|
-
yIndex: number;
|
|
18
|
-
x: number;
|
|
19
|
-
y: number;
|
|
20
|
-
height: number;
|
|
21
|
-
width: number;
|
|
22
|
-
};
|
|
23
|
-
searchable: boolean;
|
|
24
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getTestStandardEmojis: () => any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getTestStandardServiceEmojis: () => any;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare const mediaEmojiId: {
|
|
2
|
-
id: string;
|
|
3
|
-
shortName: string;
|
|
4
|
-
fallback: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const mediaEmoji: {
|
|
7
|
-
name: string;
|
|
8
|
-
type: string;
|
|
9
|
-
category: string;
|
|
10
|
-
order: number;
|
|
11
|
-
representation: {
|
|
12
|
-
mediaPath: string;
|
|
13
|
-
width: number;
|
|
14
|
-
height: number;
|
|
15
|
-
};
|
|
16
|
-
altRepresentation: {
|
|
17
|
-
mediaPath: string;
|
|
18
|
-
width: number;
|
|
19
|
-
height: number;
|
|
20
|
-
};
|
|
21
|
-
skinVariations: never[];
|
|
22
|
-
searchable: boolean;
|
|
23
|
-
id: string;
|
|
24
|
-
shortName: string;
|
|
25
|
-
fallback: string;
|
|
26
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare const mediaServiceEmoji: {
|
|
2
|
-
id: string;
|
|
3
|
-
shortName: string;
|
|
4
|
-
name: string;
|
|
5
|
-
fallback: string;
|
|
6
|
-
type: string;
|
|
7
|
-
category: string;
|
|
8
|
-
order: number;
|
|
9
|
-
representation: {
|
|
10
|
-
imagePath: string;
|
|
11
|
-
width: number;
|
|
12
|
-
height: number;
|
|
13
|
-
};
|
|
14
|
-
altRepresentations: {
|
|
15
|
-
XHDPI: {
|
|
16
|
-
imagePath: string;
|
|
17
|
-
width: number;
|
|
18
|
-
height: number;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
searchable: boolean;
|
|
22
|
-
};
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { MockMentionResource as MentionResource } from './mock-mention-resource';
|
|
2
|
-
import { MockMentionResourceWithInfoHints as MentionResourceWithInfoHints } from './mock-mention-resource-with-info-hints';
|
|
3
|
-
export declare const mentionSampleAvatarUrl = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/2wCEAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRQBAwQEBQQFCQUFCRQNCw0UFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFP/AABEIACAAIAMBIgACEQEDEQH/xAB1AAEAAwEAAAAAAAAAAAAAAAAHAgUGCBAAAQMCBQMDAgcAAAAAAAAAAQIDBAURAAYSIUEHEzEUImEVcSMyQlGBweEBAAMBAAAAAAAAAAAAAAAAAAMEBwURAAICAgMBAQEAAAAAAAAAAAECAxEABBIhIkExgf/aAAwDAQACEQMRAD8AxWVci1ipwmJdT7seKFbIMgLKrGxTYkkH4NsMH1D0UFwsqsAACom1zbxvje9QMoU6BVnnFPswkqBX71JQkj7nnBFmwNx6JJmw5zUtkKUlCmFhaCAkG+21/IxCZ2keQ2KA6/uWzyF5X2cs1T1To62n3jYoWUuDfyLf3gUzhl/MuUI06fDLjdMBGh5EtCyQogBOm2q9+L+MJ1Ep0p1SFd5lptwqSe6sJCRpBvvySQP4xoqZlFt6QluQ4iSUL1eQQP8AcG1pHieqsHFHcVyv8xB6l0hnNOUrzGPUKlsBBXYa0FJ/MkkEbEA253GB/I/SeH0wy1PocFtoU6pOeqbbUjthp3TY8nyPngbADHT1ejCi02LGaShx6GlJKFH2rPlV/ub4H85yI+bSqPGdRSZjThdbYeSUNlRFlAnwQfixGNTZn4zSRq3hjdYprRK0cbyD2ABeBHULpiOo8ymrluBNMpai4lgoU5+MFg6zpULWtbkEXww5Ey/EpFOhoYQtllsDVqPudI5V9/OI0ZNMyahuI4tqsy/euykak90nlXgC9hsNv3xd0xuTMImylLaSE3S3+kE8cYHJslwsQbyvzADXRHaSuz9z/9k=";
|
|
4
|
-
export declare const mentions: ({
|
|
5
|
-
id: string;
|
|
6
|
-
avatarUrl: string;
|
|
7
|
-
name: string;
|
|
8
|
-
mentionName: string;
|
|
9
|
-
lozenge: string;
|
|
10
|
-
accessLevel: string;
|
|
11
|
-
presence: {
|
|
12
|
-
status: string;
|
|
13
|
-
time: string;
|
|
14
|
-
};
|
|
15
|
-
nickname?: undefined;
|
|
16
|
-
userType?: undefined;
|
|
17
|
-
context?: undefined;
|
|
18
|
-
} | {
|
|
19
|
-
id: string;
|
|
20
|
-
avatarUrl: string;
|
|
21
|
-
name: string;
|
|
22
|
-
mentionName: string;
|
|
23
|
-
lozenge: string;
|
|
24
|
-
accessLevel: string;
|
|
25
|
-
presence: {
|
|
26
|
-
status: string;
|
|
27
|
-
time?: undefined;
|
|
28
|
-
};
|
|
29
|
-
nickname?: undefined;
|
|
30
|
-
userType?: undefined;
|
|
31
|
-
context?: undefined;
|
|
32
|
-
} | {
|
|
33
|
-
id: string;
|
|
34
|
-
avatarUrl: string;
|
|
35
|
-
name: string;
|
|
36
|
-
mentionName: string;
|
|
37
|
-
presence: {
|
|
38
|
-
status: string;
|
|
39
|
-
time: string;
|
|
40
|
-
};
|
|
41
|
-
lozenge?: undefined;
|
|
42
|
-
accessLevel?: undefined;
|
|
43
|
-
nickname?: undefined;
|
|
44
|
-
userType?: undefined;
|
|
45
|
-
context?: undefined;
|
|
46
|
-
} | {
|
|
47
|
-
id: string;
|
|
48
|
-
avatarUrl: string;
|
|
49
|
-
name: string;
|
|
50
|
-
mentionName: string;
|
|
51
|
-
nickname: string;
|
|
52
|
-
lozenge: string;
|
|
53
|
-
accessLevel: string;
|
|
54
|
-
presence: {
|
|
55
|
-
status: string;
|
|
56
|
-
time?: undefined;
|
|
57
|
-
};
|
|
58
|
-
userType?: undefined;
|
|
59
|
-
context?: undefined;
|
|
60
|
-
} | {
|
|
61
|
-
id: string;
|
|
62
|
-
avatarUrl: string;
|
|
63
|
-
name: string;
|
|
64
|
-
mentionName: string;
|
|
65
|
-
nickname: string;
|
|
66
|
-
accessLevel: string;
|
|
67
|
-
presence: {
|
|
68
|
-
status: string;
|
|
69
|
-
time?: undefined;
|
|
70
|
-
};
|
|
71
|
-
lozenge?: undefined;
|
|
72
|
-
userType?: undefined;
|
|
73
|
-
context?: undefined;
|
|
74
|
-
} | {
|
|
75
|
-
id: string;
|
|
76
|
-
avatarUrl: string;
|
|
77
|
-
name: string;
|
|
78
|
-
mentionName: string;
|
|
79
|
-
nickname: string;
|
|
80
|
-
lozenge?: undefined;
|
|
81
|
-
accessLevel?: undefined;
|
|
82
|
-
presence?: undefined;
|
|
83
|
-
userType?: undefined;
|
|
84
|
-
context?: undefined;
|
|
85
|
-
} | {
|
|
86
|
-
id: string;
|
|
87
|
-
name: string;
|
|
88
|
-
mentionName: string;
|
|
89
|
-
presence: {
|
|
90
|
-
time: string;
|
|
91
|
-
status?: undefined;
|
|
92
|
-
};
|
|
93
|
-
avatarUrl?: undefined;
|
|
94
|
-
lozenge?: undefined;
|
|
95
|
-
accessLevel?: undefined;
|
|
96
|
-
nickname?: undefined;
|
|
97
|
-
userType?: undefined;
|
|
98
|
-
context?: undefined;
|
|
99
|
-
} | {
|
|
100
|
-
id: string;
|
|
101
|
-
avatarUrl: string;
|
|
102
|
-
name: string;
|
|
103
|
-
lozenge: string;
|
|
104
|
-
mentionName: string;
|
|
105
|
-
accessLevel?: undefined;
|
|
106
|
-
presence?: undefined;
|
|
107
|
-
nickname?: undefined;
|
|
108
|
-
userType?: undefined;
|
|
109
|
-
context?: undefined;
|
|
110
|
-
} | {
|
|
111
|
-
id: string;
|
|
112
|
-
avatarUrl: string;
|
|
113
|
-
name: string;
|
|
114
|
-
userType: string;
|
|
115
|
-
context: {
|
|
116
|
-
members: never[];
|
|
117
|
-
includesYou: boolean;
|
|
118
|
-
memberCount: number;
|
|
119
|
-
teamLink: string;
|
|
120
|
-
};
|
|
121
|
-
mentionName?: undefined;
|
|
122
|
-
lozenge?: undefined;
|
|
123
|
-
accessLevel?: undefined;
|
|
124
|
-
presence?: undefined;
|
|
125
|
-
nickname?: undefined;
|
|
126
|
-
})[];
|
|
127
|
-
export declare const mentionSlowResourceProvider: MentionResource;
|
|
128
|
-
export declare const mentionResourceProvider: MentionResource;
|
|
129
|
-
export declare const mentionResourceProviderWithResolver: MentionResource;
|
|
130
|
-
export declare const mentionResourceProviderWithResolver2: MentionResource;
|
|
131
|
-
export declare const mentionResourceProviderWithInfoHints: MentionResourceWithInfoHints;
|
|
132
|
-
export declare const mentionResourceProviderWithInviteFromMentionExperiment: MentionResource;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { MentionNameClient, MentionNameDetails } from '@atlaskit/mention/resource';
|
|
2
|
-
export declare class MockMentionNameClient implements MentionNameClient {
|
|
3
|
-
constructor();
|
|
4
|
-
getLookupLimit(): number;
|
|
5
|
-
lookupMentionNames(ids: string[]): Promise<MentionNameDetails[]>;
|
|
6
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { MentionDescription, AbstractMentionResource } from '@atlaskit/mention/resource';
|
|
2
|
-
import { MockMentionConfig } from './mock-mention-resource';
|
|
3
|
-
export declare class MockMentionResourceWithInfoHints extends AbstractMentionResource {
|
|
4
|
-
private config;
|
|
5
|
-
private lastReturnedSearch;
|
|
6
|
-
private search;
|
|
7
|
-
constructor(config: MockMentionConfig);
|
|
8
|
-
filter(query: string): void;
|
|
9
|
-
recordMentionSelection(mention: MentionDescription): void;
|
|
10
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { MentionDescription, AbstractMentionResource, MentionNameResolver, ResolvingMentionProvider, MentionNameDetails, MentionProvider } from '@atlaskit/mention/resource';
|
|
2
|
-
import { InviteExperimentCohort, InviteFlow, UserRole } from '@atlaskit/mention';
|
|
3
|
-
export interface MockMentionConfig {
|
|
4
|
-
minWait?: number;
|
|
5
|
-
maxWait?: number;
|
|
6
|
-
mentionNameResolver?: MentionNameResolver;
|
|
7
|
-
inviteExperimentCohort?: InviteExperimentCohort;
|
|
8
|
-
productName?: string;
|
|
9
|
-
shouldEnableInvite?: boolean;
|
|
10
|
-
onInviteItemClick?: (flow: InviteFlow) => void;
|
|
11
|
-
userRole?: UserRole;
|
|
12
|
-
}
|
|
13
|
-
export declare class MockMentionResource extends AbstractMentionResource implements ResolvingMentionProvider, MentionProvider {
|
|
14
|
-
private config;
|
|
15
|
-
private lastReturnedSearch;
|
|
16
|
-
private search;
|
|
17
|
-
productName?: string;
|
|
18
|
-
shouldEnableInvite: boolean;
|
|
19
|
-
userRole: UserRole;
|
|
20
|
-
inviteExperimentCohort?: InviteExperimentCohort;
|
|
21
|
-
onInviteItemClick?: (flow: InviteFlow) => void;
|
|
22
|
-
constructor(config: MockMentionConfig);
|
|
23
|
-
filter(query: string): Promise<void>;
|
|
24
|
-
recordMentionSelection(mention: MentionDescription): void;
|
|
25
|
-
resolveMentionName(id: string): Promise<MentionNameDetails> | MentionNameDetails;
|
|
26
|
-
cacheMentionName(id: string, name: string): void;
|
|
27
|
-
supportsMentionNameResolving(): boolean;
|
|
28
|
-
shouldHighlightMention(mention: MentionDescription): boolean;
|
|
29
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AbstractPresenceResource } from '@atlaskit/mention/resource';
|
|
2
|
-
export declare class MockPresenceResource extends AbstractPresenceResource {
|
|
3
|
-
private minTimeout;
|
|
4
|
-
private maxTimeout;
|
|
5
|
-
private statuses;
|
|
6
|
-
constructor(minTimeout?: number, maxTimeout?: number);
|
|
7
|
-
private getTimeout;
|
|
8
|
-
private getStatus;
|
|
9
|
-
private getTime;
|
|
10
|
-
refreshPresence(ids: string[]): void;
|
|
11
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface PresenceValidInfo {
|
|
2
|
-
data: Data;
|
|
3
|
-
}
|
|
4
|
-
export interface Data {
|
|
5
|
-
PresenceBulk: PresenceBulk[];
|
|
6
|
-
}
|
|
7
|
-
export interface PresenceBulk {
|
|
8
|
-
userId: string;
|
|
9
|
-
state: null | string;
|
|
10
|
-
type: null | string;
|
|
11
|
-
date: null | string;
|
|
12
|
-
message: null | string;
|
|
13
|
-
stateMetadata?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const validPresenceData: PresenceValidInfo;
|
|
16
|
-
export declare const invalidPresenceData: PresenceValidInfo;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export declare const profilecardData: ({
|
|
2
|
-
User: {
|
|
3
|
-
avatarUrl: string | undefined;
|
|
4
|
-
fullName: string;
|
|
5
|
-
nickname: string;
|
|
6
|
-
email: string;
|
|
7
|
-
location: string;
|
|
8
|
-
meta: string;
|
|
9
|
-
remoteTimeString: string;
|
|
10
|
-
remoteWeekdayIndex: number;
|
|
11
|
-
remoteWeekdayString: string;
|
|
12
|
-
};
|
|
13
|
-
Presence: {
|
|
14
|
-
state: string;
|
|
15
|
-
};
|
|
16
|
-
} | {
|
|
17
|
-
User: {
|
|
18
|
-
avatarUrl: string | undefined;
|
|
19
|
-
fullName: string;
|
|
20
|
-
nickname: string;
|
|
21
|
-
email: string;
|
|
22
|
-
meta: string;
|
|
23
|
-
location?: undefined;
|
|
24
|
-
remoteTimeString?: undefined;
|
|
25
|
-
remoteWeekdayIndex?: undefined;
|
|
26
|
-
remoteWeekdayString?: undefined;
|
|
27
|
-
};
|
|
28
|
-
Presence: {
|
|
29
|
-
state: string;
|
|
30
|
-
};
|
|
31
|
-
})[];
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { BaseItem, DecisionState, Handler, ObjectKey, RecentUpdateContext, RecentUpdatesId, TaskDecisionProvider, TaskState } from '@atlaskit/task-decision';
|
|
2
|
-
export interface MockTaskDecisionResourceConfig {
|
|
3
|
-
hasMore?: boolean;
|
|
4
|
-
lag?: number;
|
|
5
|
-
error?: boolean;
|
|
6
|
-
empty?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare class MockTaskDecisionResource implements TaskDecisionProvider {
|
|
9
|
-
private config?;
|
|
10
|
-
private subscribers;
|
|
11
|
-
private cachedItems;
|
|
12
|
-
private batchedKeys;
|
|
13
|
-
constructor(config?: MockTaskDecisionResourceConfig);
|
|
14
|
-
unsubscribeRecentUpdates(_id: RecentUpdatesId): void;
|
|
15
|
-
notifyRecentUpdates(_updateContext?: RecentUpdateContext): void;
|
|
16
|
-
getTaskState(_keys: ObjectKey[]): Promise<BaseItem<TaskState>[]>;
|
|
17
|
-
toggleTask(objectKey: ObjectKey, state: TaskState): Promise<TaskState>;
|
|
18
|
-
subscribe(objectKey: ObjectKey, handler: Handler): void;
|
|
19
|
-
unsubscribe(objectKey: ObjectKey, handler: Handler): void;
|
|
20
|
-
notifyUpdated(objectKey: ObjectKey, state: TaskState | DecisionState): void;
|
|
21
|
-
private queueItem;
|
|
22
|
-
private dequeueItem;
|
|
23
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { MockTaskDecisionResource, MockTaskDecisionResourceConfig } from './mock-task-decision-resource';
|
|
2
|
-
export declare const getServiceTasksResponse: () => any;
|
|
3
|
-
export declare const getMockTaskDecisionResource: (config?: MockTaskDecisionResourceConfig) => MockTaskDecisionResource;
|
|
4
|
-
export declare const document: {
|
|
5
|
-
version: number;
|
|
6
|
-
type: string;
|
|
7
|
-
content: {
|
|
8
|
-
type: string;
|
|
9
|
-
content: ({
|
|
10
|
-
type: string;
|
|
11
|
-
text: string;
|
|
12
|
-
attrs?: undefined;
|
|
13
|
-
marks?: undefined;
|
|
14
|
-
} | {
|
|
15
|
-
type: string;
|
|
16
|
-
text?: undefined;
|
|
17
|
-
attrs?: undefined;
|
|
18
|
-
marks?: undefined;
|
|
19
|
-
} | {
|
|
20
|
-
type: string;
|
|
21
|
-
attrs: {
|
|
22
|
-
shortName: string;
|
|
23
|
-
id: string;
|
|
24
|
-
text: string;
|
|
25
|
-
accessLevel?: undefined;
|
|
26
|
-
};
|
|
27
|
-
text?: undefined;
|
|
28
|
-
marks?: undefined;
|
|
29
|
-
} | {
|
|
30
|
-
type: string;
|
|
31
|
-
attrs: {
|
|
32
|
-
id: string;
|
|
33
|
-
text: string;
|
|
34
|
-
accessLevel: string;
|
|
35
|
-
shortName?: undefined;
|
|
36
|
-
};
|
|
37
|
-
text?: undefined;
|
|
38
|
-
marks?: undefined;
|
|
39
|
-
} | {
|
|
40
|
-
type: string;
|
|
41
|
-
text: string;
|
|
42
|
-
marks: {
|
|
43
|
-
type: string;
|
|
44
|
-
}[];
|
|
45
|
-
attrs?: undefined;
|
|
46
|
-
})[];
|
|
47
|
-
}[];
|
|
48
|
-
};
|
|
49
|
-
export declare const participants: string[];
|
|
50
|
-
export declare const getParticipants: (count: number) => string[];
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { ObjectKey } from '@atlaskit/task-decision';
|
|
2
|
-
export declare const objectKeyToString: (objectKey: ObjectKey) => string;
|
|
3
|
-
export declare const toggleTaskState: (state: string) => "DONE" | "TODO";
|
|
4
|
-
export declare const findIndex: (array: any[], predicate: (item: any) => boolean) => number;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const userPickerData: any;
|