-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.js
59 lines (48 loc) · 1.39 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/**
* This package can be used by external projects to create their own MusicBrainz scripts.
* It re-exports potentially useful pieces of code from `src/` which are considered to be mostly stable (as a shortcut).
*
* - Shortcut usage: `import { buildEditNote } from '@kellnerd/musicbrainz-scripts';`
* - Full specifier: `import { buildEditNote } from '@kellnerd/musicbrainz-scripts/src/editNote.js';`
*/
export {
addMessageToEditNote,
buildEditNote,
} from './src/editNote.js';
export {
entityCache,
} from './src/entityCache.js';
export {
guessUnicodePunctuation,
} from './src/guessUnicodePunctuation.js';
export {
createMBIDInput,
} from './src/inputMBID.js';
export {
searchEntity,
} from './src/internalAPI.js';
export {
nameToMBIDCache,
} from './src/nameToMBIDCache.js';
export {
fetchFromAPI,
getEntityForResourceURL,
} from './src/publicAPI.js';
export {
onReactHydrated,
readyRelationshipEditor,
} from './src/reactHydration.js';
export {
createReleaseSeederForm,
seedURLForEntity,
} from './src/seeding.js';
export {
createDialog as createRelationshipDialog,
createBatchDialog as createRelationshipBatchDialog,
closingDialog as closingRelationshipDialog,
} from './src/relationship-editor/createDialog.js';
export {
createRelationship,
batchCreateRelationships,
createAttributeTree as createRelationshipAttributeTree,
} from './src/relationship-editor/createRelationship.js';