@uptime.app/contracts 1.0.13 → 1.0.15-rc.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/dist/cjs/app-hack/app-full-hack.d.ts +9 -0
- package/dist/cjs/app-hack/app-full-hack.d.ts.map +1 -0
- package/dist/cjs/app-hack/app-full-hack.js +3 -0
- package/dist/cjs/app-hack/app-full-hack.js.map +1 -0
- package/dist/cjs/app-hack/app-hack-metadata.d.ts +58 -0
- package/dist/cjs/app-hack/app-hack-metadata.d.ts.map +1 -0
- package/dist/cjs/app-hack/app-hack-metadata.js +3 -0
- package/dist/cjs/app-hack/app-hack-metadata.js.map +1 -0
- package/dist/cjs/app-hack/app-restricted-hack.d.ts +21 -0
- package/dist/cjs/app-hack/app-restricted-hack.d.ts.map +1 -0
- package/dist/cjs/app-hack/app-restricted-hack.js +3 -0
- package/dist/cjs/app-hack/app-restricted-hack.js.map +1 -0
- package/dist/cjs/draft-hack-generation/draft-hack-generation-events.d.ts +36 -0
- package/dist/cjs/draft-hack-generation/draft-hack-generation-events.d.ts.map +1 -0
- package/dist/cjs/draft-hack-generation/draft-hack-generation-events.js +3 -0
- package/dist/cjs/draft-hack-generation/draft-hack-generation-events.js.map +1 -0
- package/dist/cjs/draft-hack-generation/draft-hack-generation.d.ts +39 -0
- package/dist/cjs/draft-hack-generation/draft-hack-generation.d.ts.map +1 -0
- package/dist/cjs/draft-hack-generation/draft-hack-generation.js +3 -0
- package/dist/cjs/draft-hack-generation/draft-hack-generation.js.map +1 -0
- package/dist/cjs/index.d.ts +5 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +5 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/app-hack/app-full-hack.d.ts +9 -0
- package/dist/esm/app-hack/app-full-hack.d.ts.map +1 -0
- package/dist/esm/app-hack/app-full-hack.js +2 -0
- package/dist/esm/app-hack/app-full-hack.js.map +1 -0
- package/dist/esm/app-hack/app-hack-metadata.d.ts +58 -0
- package/dist/esm/app-hack/app-hack-metadata.d.ts.map +1 -0
- package/dist/esm/app-hack/app-hack-metadata.js +2 -0
- package/dist/esm/app-hack/app-hack-metadata.js.map +1 -0
- package/dist/esm/app-hack/app-restricted-hack.d.ts +21 -0
- package/dist/esm/app-hack/app-restricted-hack.d.ts.map +1 -0
- package/dist/esm/app-hack/app-restricted-hack.js +2 -0
- package/dist/esm/app-hack/app-restricted-hack.js.map +1 -0
- package/dist/esm/draft-hack-generation/draft-hack-generation-events.d.ts +36 -0
- package/dist/esm/draft-hack-generation/draft-hack-generation-events.d.ts.map +1 -0
- package/dist/esm/draft-hack-generation/draft-hack-generation-events.js +2 -0
- package/dist/esm/draft-hack-generation/draft-hack-generation-events.js.map +1 -0
- package/dist/esm/draft-hack-generation/draft-hack-generation.d.ts +39 -0
- package/dist/esm/draft-hack-generation/draft-hack-generation.d.ts.map +1 -0
- package/dist/esm/draft-hack-generation/draft-hack-generation.js +2 -0
- package/dist/esm/draft-hack-generation/draft-hack-generation.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +5 -0
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
- package/src/access-control/collection-access-control.ts +28 -28
- package/src/access-control/hack-access-control.ts +29 -29
- package/src/app-hack/app-full-hack.ts +9 -0
- package/src/app-hack/app-hack-metadata.ts +56 -0
- package/src/app-hack/app-restricted-hack.ts +22 -0
- package/src/b2b-organisation/b2b-organisation-events.ts +21 -21
- package/src/b2b-organisation/b2b-organisation-member-events.ts +21 -21
- package/src/b2b-organisation/b2b-organisation-member.ts +8 -8
- package/src/b2b-organisation/b2b-organisation.ts +14 -14
- package/src/brand/brand-events.ts +21 -21
- package/src/brand/brand.ts +8 -8
- package/src/distribution/collection-distribution.ts +17 -17
- package/src/distribution/distribution-events.ts +61 -61
- package/src/distribution/hack-distribution.ts +18 -18
- package/src/draft-hack/draft-hack-events.ts +21 -21
- package/src/draft-hack/draft-hack.ts +184 -184
- package/src/draft-hack-generation/draft-hack-generation-events.ts +42 -0
- package/src/draft-hack-generation/draft-hack-generation.ts +38 -0
- package/src/enriched-hack/enriched-hack-events.ts +21 -21
- package/src/enriched-hack/enriched-hack.ts +101 -101
- package/src/hack/extracted-subject.ts +4 -4
- package/src/hack/hack-events.ts +21 -21
- package/src/hack/hack-with-voice-events.ts +20 -20
- package/src/hack/hack-with-voice.ts +33 -33
- package/src/hack/hack.ts +114 -114
- package/src/hack-metadata/hack-metadata-events.ts +21 -21
- package/src/hack-metadata/hack-metadata.ts +17 -17
- package/src/index.ts +68 -61
- package/src/knowledge-source/knowledge-source-events.ts +21 -21
- package/src/knowledge-source/knowledge-source.ts +43 -43
- package/src/localisation/live-locales.ts +32 -32
- package/src/localisation/locale-language.ts +4 -4
- package/src/localisation/supported-languages.ts +11 -11
- package/src/localisation/supported-locales.ts +42 -42
- package/src/pending-hack/pending-hack-events.ts +20 -20
- package/src/pending-hack/pending-hack-with-voice-events.ts +20 -20
- package/src/pending-hack/pending-hack-with-voice.ts +25 -25
- package/src/pending-hack/pending-hack.ts +75 -75
- package/src/profile/profile-events.ts +41 -41
- package/src/profile/profile.ts +27 -27
- package/src/profile/translated-profile.ts +13 -13
- package/src/segment/segment-commands.ts +70 -70
- package/src/segment/segment-with-voice.ts +8 -8
- package/src/segment/segment.ts +82 -82
- package/src/skin/skin-events.ts +21 -21
- package/src/skin/skin.ts +6 -6
- package/src/text-to-speech/create-speech-commands.ts +20 -20
- package/src/text-to-speech/speech-created-events.ts +11 -11
- package/src/text-to-speech/text-segment.ts +29 -29
- package/src/theme/theme-events.ts +21 -21
- package/src/theme/theme.ts +68 -68
- package/tsconfig.cjs.json +7 -7
- package/tsconfig.npm.json +21 -21
package/src/skin/skin-events.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { Skin } from './skin';
|
|
2
|
-
|
|
3
|
-
export interface SkinCreatedEvent {
|
|
4
|
-
id: string;
|
|
5
|
-
type: 'SkinCreated';
|
|
6
|
-
payload: Skin;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface SkinUpdatedEvent {
|
|
10
|
-
id: string;
|
|
11
|
-
type: 'SkinUpdated';
|
|
12
|
-
payload: Skin;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface SkinDeletedEvent {
|
|
16
|
-
id: string;
|
|
17
|
-
type: 'SkinDeleted';
|
|
18
|
-
payload: Skin;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export type SkinChangedEvent = SkinCreatedEvent | SkinUpdatedEvent | SkinDeletedEvent;
|
|
1
|
+
import { Skin } from './skin';
|
|
2
|
+
|
|
3
|
+
export interface SkinCreatedEvent {
|
|
4
|
+
id: string;
|
|
5
|
+
type: 'SkinCreated';
|
|
6
|
+
payload: Skin;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface SkinUpdatedEvent {
|
|
10
|
+
id: string;
|
|
11
|
+
type: 'SkinUpdated';
|
|
12
|
+
payload: Skin;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface SkinDeletedEvent {
|
|
16
|
+
id: string;
|
|
17
|
+
type: 'SkinDeleted';
|
|
18
|
+
payload: Skin;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type SkinChangedEvent = SkinCreatedEvent | SkinUpdatedEvent | SkinDeletedEvent;
|
package/src/skin/skin.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
export interface Skin {
|
|
3
|
-
id: string;
|
|
4
|
-
v: number;
|
|
5
|
-
createdAt: string;
|
|
6
|
-
updatedAt: string;
|
|
1
|
+
|
|
2
|
+
export interface Skin {
|
|
3
|
+
id: string;
|
|
4
|
+
v: number;
|
|
5
|
+
createdAt: string;
|
|
6
|
+
updatedAt: string;
|
|
7
7
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { TextSegment, Voice } from './text-segment';
|
|
2
|
-
|
|
3
|
-
export interface CreateSpeechFromTextCommand {
|
|
4
|
-
id: string;
|
|
5
|
-
type: 'CreateSpeechFromText';
|
|
6
|
-
payload: {
|
|
7
|
-
locale: string;
|
|
8
|
-
textSegments: TextSegment[];
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface CreateSpeechWithVoiceCommand {
|
|
13
|
-
id: string;
|
|
14
|
-
type: 'CreateSpeechWithVoice';
|
|
15
|
-
payload: {
|
|
16
|
-
locale: string;
|
|
17
|
-
textSegments: TextSegment[];
|
|
18
|
-
voice: Voice;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
1
|
+
import { TextSegment, Voice } from './text-segment';
|
|
2
|
+
|
|
3
|
+
export interface CreateSpeechFromTextCommand {
|
|
4
|
+
id: string;
|
|
5
|
+
type: 'CreateSpeechFromText';
|
|
6
|
+
payload: {
|
|
7
|
+
locale: string;
|
|
8
|
+
textSegments: TextSegment[];
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export interface CreateSpeechWithVoiceCommand {
|
|
13
|
+
id: string;
|
|
14
|
+
type: 'CreateSpeechWithVoice';
|
|
15
|
+
payload: {
|
|
16
|
+
locale: string;
|
|
17
|
+
textSegments: TextSegment[];
|
|
18
|
+
voice: Voice;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { TextSegmentWithSpeech } from './text-segment';
|
|
2
|
-
import { SupportedLocale } from '../localisation/supported-locales';
|
|
3
|
-
|
|
4
|
-
export interface SpeechFromTextCreatedEvent {
|
|
5
|
-
id: string;
|
|
6
|
-
type: 'SpeechFromTextCreated';
|
|
7
|
-
payload: {
|
|
8
|
-
locale: SupportedLocale;
|
|
9
|
-
textSegments: TextSegmentWithSpeech[];
|
|
10
|
-
};
|
|
11
|
-
}
|
|
1
|
+
import { TextSegmentWithSpeech } from './text-segment';
|
|
2
|
+
import { SupportedLocale } from '../localisation/supported-locales';
|
|
3
|
+
|
|
4
|
+
export interface SpeechFromTextCreatedEvent {
|
|
5
|
+
id: string;
|
|
6
|
+
type: 'SpeechFromTextCreated';
|
|
7
|
+
payload: {
|
|
8
|
+
locale: SupportedLocale;
|
|
9
|
+
textSegments: TextSegmentWithSpeech[];
|
|
10
|
+
};
|
|
11
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
export interface TextSegment {
|
|
2
|
-
parentId: string;
|
|
3
|
-
textSegmentId: string;
|
|
4
|
-
content: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export interface TextSegmentWithSpeech extends TextSegment {
|
|
8
|
-
speech: Speech[];
|
|
9
|
-
/* The speech-friendly version of the "content" field. Trimmed, enrichment links removed, words replaced based on custom dictionary, etc. */
|
|
10
|
-
spokenContent: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface Speech {
|
|
14
|
-
voice: Voice;
|
|
15
|
-
url: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface Voice {
|
|
19
|
-
id: string;
|
|
20
|
-
language: string;
|
|
21
|
-
name: string;
|
|
22
|
-
countryCode: string;
|
|
23
|
-
/** use SupportedSpeechProvider */
|
|
24
|
-
speechProvider: string;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export enum SupportedSpeechProvider {
|
|
28
|
-
MicrosoftAzure = 'microsoft-azure'
|
|
29
|
-
}
|
|
1
|
+
export interface TextSegment {
|
|
2
|
+
parentId: string;
|
|
3
|
+
textSegmentId: string;
|
|
4
|
+
content: string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface TextSegmentWithSpeech extends TextSegment {
|
|
8
|
+
speech: Speech[];
|
|
9
|
+
/* The speech-friendly version of the "content" field. Trimmed, enrichment links removed, words replaced based on custom dictionary, etc. */
|
|
10
|
+
spokenContent: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface Speech {
|
|
14
|
+
voice: Voice;
|
|
15
|
+
url: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface Voice {
|
|
19
|
+
id: string;
|
|
20
|
+
language: string;
|
|
21
|
+
name: string;
|
|
22
|
+
countryCode: string;
|
|
23
|
+
/** use SupportedSpeechProvider */
|
|
24
|
+
speechProvider: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export enum SupportedSpeechProvider {
|
|
28
|
+
MicrosoftAzure = 'microsoft-azure'
|
|
29
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { Theme } from './theme';
|
|
2
|
-
|
|
3
|
-
export interface ThemeCreatedEvent {
|
|
4
|
-
id: string;
|
|
5
|
-
type: 'ThemeCreated';
|
|
6
|
-
payload: Theme;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface ThemeUpdatedEvent {
|
|
10
|
-
id: string;
|
|
11
|
-
type: 'ThemeUpdated';
|
|
12
|
-
payload: Theme;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface ThemeDeletedEvent {
|
|
16
|
-
id: string;
|
|
17
|
-
type: 'ThemeDeleted';
|
|
18
|
-
payload: Theme;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export type ThemeChangedEvent = ThemeCreatedEvent | ThemeUpdatedEvent | ThemeDeletedEvent;
|
|
1
|
+
import { Theme } from './theme';
|
|
2
|
+
|
|
3
|
+
export interface ThemeCreatedEvent {
|
|
4
|
+
id: string;
|
|
5
|
+
type: 'ThemeCreated';
|
|
6
|
+
payload: Theme;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface ThemeUpdatedEvent {
|
|
10
|
+
id: string;
|
|
11
|
+
type: 'ThemeUpdated';
|
|
12
|
+
payload: Theme;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface ThemeDeletedEvent {
|
|
16
|
+
id: string;
|
|
17
|
+
type: 'ThemeDeleted';
|
|
18
|
+
payload: Theme;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type ThemeChangedEvent = ThemeCreatedEvent | ThemeUpdatedEvent | ThemeDeletedEvent;
|
package/src/theme/theme.ts
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
export interface ThemeTemplate {
|
|
2
|
-
/** the url of the background video */
|
|
3
|
-
backgroundVideoUrl?: string;
|
|
4
|
-
/** the url of the background image */
|
|
5
|
-
backgroundImageUrl?: string;
|
|
6
|
-
/** the font color that will be used when rendering text in the foreground */
|
|
7
|
-
fontColor: string;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface SegmentThemeTemplates {
|
|
11
|
-
overview: {
|
|
12
|
-
a: ThemeTemplate;
|
|
13
|
-
b: ThemeTemplate;
|
|
14
|
-
},
|
|
15
|
-
insightOne: {
|
|
16
|
-
// one template is for the title card
|
|
17
|
-
// the other one for insight content
|
|
18
|
-
a: ThemeTemplate;
|
|
19
|
-
b: ThemeTemplate;
|
|
20
|
-
},
|
|
21
|
-
insightTwo: {
|
|
22
|
-
a: ThemeTemplate;
|
|
23
|
-
b: ThemeTemplate;
|
|
24
|
-
},
|
|
25
|
-
insightThree: {
|
|
26
|
-
a: ThemeTemplate;
|
|
27
|
-
b: ThemeTemplate;
|
|
28
|
-
},
|
|
29
|
-
dark: {
|
|
30
|
-
overview: {
|
|
31
|
-
a: ThemeTemplate;
|
|
32
|
-
b: ThemeTemplate;
|
|
33
|
-
},
|
|
34
|
-
insightOne: {
|
|
35
|
-
a: ThemeTemplate;
|
|
36
|
-
b: ThemeTemplate;
|
|
37
|
-
},
|
|
38
|
-
insightTwo: {
|
|
39
|
-
a: ThemeTemplate;
|
|
40
|
-
b: ThemeTemplate;
|
|
41
|
-
},
|
|
42
|
-
insightThree: {
|
|
43
|
-
a: ThemeTemplate;
|
|
44
|
-
b: ThemeTemplate;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export interface Theme {
|
|
50
|
-
id: string;
|
|
51
|
-
name: string;
|
|
52
|
-
fontFamily: string;
|
|
53
|
-
templates: SegmentThemeTemplates;
|
|
54
|
-
mood: 'neutral' | 'sombre' | 'vibrant';
|
|
55
|
-
isCustom: boolean;
|
|
56
|
-
/* properties of the story and audio player */
|
|
57
|
-
player?: {
|
|
58
|
-
light: {
|
|
59
|
-
backgroundColor: string;
|
|
60
|
-
},
|
|
61
|
-
dark: {
|
|
62
|
-
backgroundColor: string;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
updatedAt: string;
|
|
66
|
-
createdAt: string;
|
|
67
|
-
v: number;
|
|
68
|
-
}
|
|
1
|
+
export interface ThemeTemplate {
|
|
2
|
+
/** the url of the background video */
|
|
3
|
+
backgroundVideoUrl?: string;
|
|
4
|
+
/** the url of the background image */
|
|
5
|
+
backgroundImageUrl?: string;
|
|
6
|
+
/** the font color that will be used when rendering text in the foreground */
|
|
7
|
+
fontColor: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface SegmentThemeTemplates {
|
|
11
|
+
overview: {
|
|
12
|
+
a: ThemeTemplate;
|
|
13
|
+
b: ThemeTemplate;
|
|
14
|
+
},
|
|
15
|
+
insightOne: {
|
|
16
|
+
// one template is for the title card
|
|
17
|
+
// the other one for insight content
|
|
18
|
+
a: ThemeTemplate;
|
|
19
|
+
b: ThemeTemplate;
|
|
20
|
+
},
|
|
21
|
+
insightTwo: {
|
|
22
|
+
a: ThemeTemplate;
|
|
23
|
+
b: ThemeTemplate;
|
|
24
|
+
},
|
|
25
|
+
insightThree: {
|
|
26
|
+
a: ThemeTemplate;
|
|
27
|
+
b: ThemeTemplate;
|
|
28
|
+
},
|
|
29
|
+
dark: {
|
|
30
|
+
overview: {
|
|
31
|
+
a: ThemeTemplate;
|
|
32
|
+
b: ThemeTemplate;
|
|
33
|
+
},
|
|
34
|
+
insightOne: {
|
|
35
|
+
a: ThemeTemplate;
|
|
36
|
+
b: ThemeTemplate;
|
|
37
|
+
},
|
|
38
|
+
insightTwo: {
|
|
39
|
+
a: ThemeTemplate;
|
|
40
|
+
b: ThemeTemplate;
|
|
41
|
+
},
|
|
42
|
+
insightThree: {
|
|
43
|
+
a: ThemeTemplate;
|
|
44
|
+
b: ThemeTemplate;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface Theme {
|
|
50
|
+
id: string;
|
|
51
|
+
name: string;
|
|
52
|
+
fontFamily: string;
|
|
53
|
+
templates: SegmentThemeTemplates;
|
|
54
|
+
mood: 'neutral' | 'sombre' | 'vibrant';
|
|
55
|
+
isCustom: boolean;
|
|
56
|
+
/* properties of the story and audio player */
|
|
57
|
+
player?: {
|
|
58
|
+
light: {
|
|
59
|
+
backgroundColor: string;
|
|
60
|
+
},
|
|
61
|
+
dark: {
|
|
62
|
+
backgroundColor: string;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
updatedAt: string;
|
|
66
|
+
createdAt: string;
|
|
67
|
+
v: number;
|
|
68
|
+
}
|
package/tsconfig.cjs.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./tsconfig.npm.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"module": "CommonJS",
|
|
5
|
-
"outDir": "./dist/cjs"
|
|
6
|
-
},
|
|
7
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.npm.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"module": "CommonJS",
|
|
5
|
+
"outDir": "./dist/cjs"
|
|
6
|
+
},
|
|
7
|
+
}
|
package/tsconfig.npm.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"build": true,
|
|
4
|
-
"target": "ES2020",
|
|
5
|
-
"module": "ES2020",
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"emitDeclarationOnly": false,
|
|
8
|
-
"declarationMap": true,
|
|
9
|
-
"sourceMap": true,
|
|
10
|
-
"outDir": "./dist/esm",
|
|
11
|
-
"noEmit": false,
|
|
12
|
-
"strict": true,
|
|
13
|
-
"noImplicitAny": true,
|
|
14
|
-
"strictNullChecks": true,
|
|
15
|
-
"esModuleInterop": true,
|
|
16
|
-
"moduleResolution": "node",
|
|
17
|
-
},
|
|
18
|
-
"files": [
|
|
19
|
-
"src/index.ts"
|
|
20
|
-
]
|
|
21
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"build": true,
|
|
4
|
+
"target": "ES2020",
|
|
5
|
+
"module": "ES2020",
|
|
6
|
+
"declaration": true,
|
|
7
|
+
"emitDeclarationOnly": false,
|
|
8
|
+
"declarationMap": true,
|
|
9
|
+
"sourceMap": true,
|
|
10
|
+
"outDir": "./dist/esm",
|
|
11
|
+
"noEmit": false,
|
|
12
|
+
"strict": true,
|
|
13
|
+
"noImplicitAny": true,
|
|
14
|
+
"strictNullChecks": true,
|
|
15
|
+
"esModuleInterop": true,
|
|
16
|
+
"moduleResolution": "node",
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"src/index.ts"
|
|
20
|
+
]
|
|
21
|
+
}
|