@glissandoo/lib 1.103.0 → 1.103.2

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.
@@ -44,6 +44,15 @@ export declare namespace GroupRepertoryFbFunctionsTypes {
44
44
  path: string;
45
45
  filename: string;
46
46
  }
47
+ export interface DownloadThemeBySectionsParams {
48
+ groupId: string;
49
+ themeId: string;
50
+ sectionIds: FileSectionId[];
51
+ }
52
+ export interface DownloadThemeBySectionsResult {
53
+ path: string;
54
+ filename: string;
55
+ }
47
56
  export interface DownloadFileType {
48
57
  id: string;
49
58
  tagId: string | null;
@@ -63,6 +72,32 @@ export declare namespace GroupRepertoryFbFunctionsTypes {
63
72
  path: string;
64
73
  filename: string;
65
74
  }
75
+ export interface IdentifyMetadataParams {
76
+ groupId: string;
77
+ filePath: string;
78
+ }
79
+ export interface IdentifyInstrumentItem {
80
+ page: number;
81
+ instrument?: InstrumentId;
82
+ predictedInstrument?: InstrumentId;
83
+ score?: number;
84
+ }
85
+ export type IdentifyMetadataResult = {
86
+ general: {
87
+ title: string;
88
+ subtitle: string | null;
89
+ genre: string | null;
90
+ composer: string | null;
91
+ arranger: string | null;
92
+ year: string | null;
93
+ publisher: string | null;
94
+ others: Record<string, string>;
95
+ };
96
+ pages: {
97
+ instrument: string;
98
+ label: string;
99
+ }[];
100
+ };
66
101
  export interface IdentifyInstrumentsParams {
67
102
  groupId: string;
68
103
  path: string;
@@ -86,7 +86,9 @@ export declare enum FbFunctionName {
86
86
  GroupRepertoryCloneBetweenGroups = "groupRepertory-cloneBetweenGroups",
87
87
  GroupRepertoryDownloadFilesBySection = "groupRepertory-downloadFilesBySection",
88
88
  GroupRepertoryDownloadThemeFiles = "groupRepertory-downloadThemeFiles",
89
+ GroupRepertoryDownloadThemeBySections = "groupRepertory-downloadFilesBySections",
89
90
  GroupRepertoryEdit = "groupRepertory-edit",
91
+ GroupRepertoryIdentifyMetadata = "groupRepertory-identifyMetadata",
90
92
  GroupRepertoryIdentifyInstruments = "groupRepertory-identifyInstruments",
91
93
  GroupRepertoryIdentifyInstrumentsFromFileNames = "groupRepertory-identifyInstrumentsFromFileNames",
92
94
  GroupRepertoryOnCreate = "groupRepertory-onCreate",
@@ -90,7 +90,9 @@ var FbFunctionName;
90
90
  FbFunctionName["GroupRepertoryCloneBetweenGroups"] = "groupRepertory-cloneBetweenGroups";
91
91
  FbFunctionName["GroupRepertoryDownloadFilesBySection"] = "groupRepertory-downloadFilesBySection";
92
92
  FbFunctionName["GroupRepertoryDownloadThemeFiles"] = "groupRepertory-downloadThemeFiles";
93
+ FbFunctionName["GroupRepertoryDownloadThemeBySections"] = "groupRepertory-downloadFilesBySections";
93
94
  FbFunctionName["GroupRepertoryEdit"] = "groupRepertory-edit";
95
+ FbFunctionName["GroupRepertoryIdentifyMetadata"] = "groupRepertory-identifyMetadata";
94
96
  FbFunctionName["GroupRepertoryIdentifyInstruments"] = "groupRepertory-identifyInstruments";
95
97
  FbFunctionName["GroupRepertoryIdentifyInstrumentsFromFileNames"] = "groupRepertory-identifyInstrumentsFromFileNames";
96
98
  FbFunctionName["GroupRepertoryOnCreate"] = "groupRepertory-onCreate";
@@ -96,8 +96,10 @@ const regionByFunctions = {
96
96
  [index_1.FbFunctionName.GroupRepertoryClaimMusicSheet]: GCloudRegions.UsCentral1,
97
97
  [index_1.FbFunctionName.GroupRepertoryCloneBetweenGroups]: GCloudRegions.EuropeWest6,
98
98
  [index_1.FbFunctionName.GroupRepertoryDownloadFilesBySection]: GCloudRegions.EuropeWest6,
99
+ [index_1.FbFunctionName.GroupRepertoryDownloadThemeBySections]: GCloudRegions.EuropeWest6,
99
100
  [index_1.FbFunctionName.GroupRepertoryDownloadThemeFiles]: GCloudRegions.UsCentral1,
100
101
  [index_1.FbFunctionName.GroupRepertoryEdit]: GCloudRegions.UsCentral1,
102
+ [index_1.FbFunctionName.GroupRepertoryIdentifyMetadata]: GCloudRegions.EuropeWest6,
101
103
  [index_1.FbFunctionName.GroupRepertoryIdentifyInstruments]: GCloudRegions.UsCentral1,
102
104
  [index_1.FbFunctionName.GroupRepertoryIdentifyInstrumentsFromFileNames]: GCloudRegions.UsCentral1,
103
105
  [index_1.FbFunctionName.GroupRepertoryOnCreate]: GCloudRegions.UsCentral1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.103.0",
3
+ "version": "1.103.2",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",