@openforis/arena-core 2.13.1 → 2.15.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/dataExport/ArenaExportFile.d.ts +50 -0
- package/dist/dataExport/ArenaExportFile.js +48 -0
- package/dist/dataExport/ArenaExportFile.js.map +1 -0
- package/dist/dataExport/ArenaExportInfo.d.ts +3 -1
- package/dist/dataExport/ArenaExportInfo.js +2 -0
- package/dist/dataExport/ArenaExportInfo.js.map +1 -1
- package/dist/dataExport/index.d.ts +1 -0
- package/dist/dataExport/index.js +3 -1
- package/dist/dataExport/index.js.map +1 -1
- package/dist/esm/dataExport/ArenaExportFile.js +45 -0
- package/dist/esm/dataExport/ArenaExportFile.js.map +1 -0
- package/dist/esm/dataExport/ArenaExportInfo.js +2 -0
- package/dist/esm/dataExport/ArenaExportInfo.js.map +1 -1
- package/dist/esm/dataExport/index.js +1 -0
- package/dist/esm/dataExport/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const ArenaExportFile: {
|
|
2
|
+
activityLog: ({ index }: {
|
|
3
|
+
index: number;
|
|
4
|
+
}) => string;
|
|
5
|
+
categories: string;
|
|
6
|
+
categoryItemsSingleFile: ({ categoryUuid }: {
|
|
7
|
+
categoryUuid: string;
|
|
8
|
+
}) => string;
|
|
9
|
+
categoryItemsPart: ({ categoryUuid, index }: {
|
|
10
|
+
categoryUuid: string;
|
|
11
|
+
index: number;
|
|
12
|
+
}) => string;
|
|
13
|
+
chains: string;
|
|
14
|
+
chain: ({ chainUuid }: {
|
|
15
|
+
chainUuid: string;
|
|
16
|
+
}) => string;
|
|
17
|
+
filesDir: string;
|
|
18
|
+
filesSummaries: string;
|
|
19
|
+
file: ({ fileUuid }: {
|
|
20
|
+
fileUuid: string;
|
|
21
|
+
}) => string;
|
|
22
|
+
info: string;
|
|
23
|
+
recordsDir: string;
|
|
24
|
+
records: string;
|
|
25
|
+
record: ({ recordUuid }: {
|
|
26
|
+
recordUuid: string;
|
|
27
|
+
}) => string;
|
|
28
|
+
survey: string;
|
|
29
|
+
surveyFilesDir: string;
|
|
30
|
+
surveyFile: ({ fileUuid }: {
|
|
31
|
+
fileUuid: string;
|
|
32
|
+
}) => string;
|
|
33
|
+
chainMauFilesSummaries: string;
|
|
34
|
+
taxonomies: string;
|
|
35
|
+
taxa: ({ taxonomyUuid }: {
|
|
36
|
+
taxonomyUuid: string;
|
|
37
|
+
}) => string;
|
|
38
|
+
taxaPart: ({ taxonomyUuid, index }: {
|
|
39
|
+
taxonomyUuid: string;
|
|
40
|
+
index: number;
|
|
41
|
+
}) => string;
|
|
42
|
+
users: string;
|
|
43
|
+
userInvitations: string;
|
|
44
|
+
userProfilePicture: ({ userUuid }: {
|
|
45
|
+
userUuid: string;
|
|
46
|
+
}) => string;
|
|
47
|
+
fileOld: ({ fileUuid }: {
|
|
48
|
+
fileUuid: string;
|
|
49
|
+
}) => string;
|
|
50
|
+
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Entry names of the Arena format export (zip), shared by Arena (export / import) and Arena Mobile
|
|
3
|
+
// (records export, survey package download)
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ArenaExportFile = void 0;
|
|
6
|
+
const separator = '/';
|
|
7
|
+
const dir = {
|
|
8
|
+
activityLog: 'activitylog',
|
|
9
|
+
categories: 'categories',
|
|
10
|
+
chains: 'chains',
|
|
11
|
+
files: 'files',
|
|
12
|
+
records: 'records',
|
|
13
|
+
surveyFiles: 'surveyfiles',
|
|
14
|
+
taxonomies: 'taxonomies',
|
|
15
|
+
users: 'users',
|
|
16
|
+
userProfilePictures: ['users', 'profilepictures'].join(separator),
|
|
17
|
+
};
|
|
18
|
+
const path = (...parts) => parts.join(separator);
|
|
19
|
+
exports.ArenaExportFile = {
|
|
20
|
+
activityLog: ({ index }) => path(dir.activityLog, `activityLog_${index}.json`),
|
|
21
|
+
categories: path(dir.categories, 'categories.json'),
|
|
22
|
+
categoryItemsSingleFile: ({ categoryUuid }) => path(dir.categories, `${categoryUuid}.json`),
|
|
23
|
+
categoryItemsPart: ({ categoryUuid, index }) => path(dir.categories, `${categoryUuid}_${index}.json`),
|
|
24
|
+
chains: path(dir.chains, 'chains.json'),
|
|
25
|
+
chain: ({ chainUuid }) => path(dir.chains, `${chainUuid}.json`),
|
|
26
|
+
// record files
|
|
27
|
+
filesDir: dir.files,
|
|
28
|
+
filesSummaries: path(dir.files, 'files.json'),
|
|
29
|
+
file: ({ fileUuid }) => path(dir.files, `${fileUuid}.bin`),
|
|
30
|
+
info: 'info.json',
|
|
31
|
+
recordsDir: dir.records,
|
|
32
|
+
records: path(dir.records, 'records.json'),
|
|
33
|
+
record: ({ recordUuid }) => path(dir.records, `${recordUuid}.json`),
|
|
34
|
+
survey: 'survey.json',
|
|
35
|
+
// survey files (e.g. preloaded map layers, branding images)
|
|
36
|
+
surveyFilesDir: dir.surveyFiles,
|
|
37
|
+
surveyFile: ({ fileUuid }) => path(dir.surveyFiles, `${fileUuid}.bin`),
|
|
38
|
+
chainMauFilesSummaries: path(dir.surveyFiles, 'chainMauFiles.json'),
|
|
39
|
+
taxonomies: path(dir.taxonomies, 'taxonomies.json'),
|
|
40
|
+
taxa: ({ taxonomyUuid }) => path(dir.taxonomies, `${taxonomyUuid}.json`),
|
|
41
|
+
taxaPart: ({ taxonomyUuid, index }) => path(dir.taxonomies, `${taxonomyUuid}_${index}.json`),
|
|
42
|
+
users: path(dir.users, 'users.json'),
|
|
43
|
+
userInvitations: path(dir.users, 'userInvitations.json'),
|
|
44
|
+
userProfilePicture: ({ userUuid }) => path(dir.userProfilePictures, userUuid),
|
|
45
|
+
// deprecated (old export format)
|
|
46
|
+
fileOld: ({ fileUuid }) => path(dir.files, `${fileUuid}.json`),
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=ArenaExportFile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArenaExportFile.js","sourceRoot":"","sources":["../../src/dataExport/ArenaExportFile.ts"],"names":[],"mappings":";AAAA,mGAAmG;AACnG,4CAA4C;;;AAE5C,MAAM,SAAS,GAAG,GAAG,CAAA;AAErB,MAAM,GAAG,GAAG;IACV,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,mBAAmB,EAAE,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;CAClE,CAAA;AAED,MAAM,IAAI,GAAG,CAAC,GAAG,KAAe,EAAU,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;AAErD,QAAA,eAAe,GAAG;IAC7B,WAAW,EAAE,CAAC,EAAE,KAAK,EAAqB,EAAU,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,eAAe,KAAK,OAAO,CAAC;IACzG,UAAU,EAAE,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,iBAAiB,CAAC;IACnD,uBAAuB,EAAE,CAAC,EAAE,YAAY,EAA4B,EAAU,EAAE,CAC9E,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,GAAG,YAAY,OAAO,CAAC;IAC9C,iBAAiB,EAAE,CAAC,EAAE,YAAY,EAAE,KAAK,EAA2C,EAAU,EAAE,CAC9F,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,GAAG,YAAY,IAAI,KAAK,OAAO,CAAC;IACvD,MAAM,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,aA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ACvD,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,YAAY,CAAC;IACpC,eAAe,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,sBAAsB,CAAC;IACxD,kBAAkB,EAAE,CAAC,EAAE,QAAQ,EAAwB,EAAU,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,mBAAmB,EAAE,QAAQ,CAAC;IAE3G,iCAAiC;IACjC,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAwB,EAAU,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,GAAG,QAAQ,OAAO,CAAC;CAC7F,CAAA","sourcesContent":["// Entry names of the Arena format export (zip), shared by Arena (export / import) and Arena Mobile\n// (records export, survey package download)\n\nconst separator = '/'\n\nconst dir = {\n activityLog: 'activitylog',\n categories: 'categories',\n chains: 'chains',\n files: 'files',\n records: 'records',\n surveyFiles: 'surveyfiles',\n taxonomies: 'taxonomies',\n users: 'users',\n userProfilePictures: ['users', 'profilepictures'].join(separator),\n}\n\nconst path = (...parts: string[]): string => parts.join(separator)\n\nexport const ArenaExportFile = {\n activityLog: ({ index }: { index: number }): string => path(dir.activityLog, `activityLog_${index}.json`),\n categories: path(dir.categories, 'categories.json'),\n categoryItemsSingleFile: ({ categoryUuid }: { categoryUuid: string }): string =>\n path(dir.categories, `${categoryUuid}.json`),\n categoryItemsPart: ({ categoryUuid, index }: { categoryUuid: string; index: number }): string =>\n path(dir.categories, `${categoryUuid}_${index}.json`),\n chains: path(dir.chains, 'chains.json'),\n chain: ({ chainUuid }: { chainUuid: string }): string => path(dir.chains, `${chainUuid}.json`),\n // record files\n filesDir: dir.files,\n filesSummaries: path(dir.files, 'files.json'),\n file: ({ fileUuid }: { fileUuid: string }): string => path(dir.files, `${fileUuid}.bin`),\n info: 'info.json',\n recordsDir: dir.records,\n records: path(dir.records, 'records.json'),\n record: ({ recordUuid }: { recordUuid: string }): string => path(dir.records, `${recordUuid}.json`),\n survey: 'survey.json',\n // survey files (e.g. preloaded map layers, branding images)\n surveyFilesDir: dir.surveyFiles,\n surveyFile: ({ fileUuid }: { fileUuid: string }): string => path(dir.surveyFiles, `${fileUuid}.bin`),\n chainMauFilesSummaries: path(dir.surveyFiles, 'chainMauFiles.json'),\n taxonomies: path(dir.taxonomies, 'taxonomies.json'),\n taxa: ({ taxonomyUuid }: { taxonomyUuid: string }): string => path(dir.taxonomies, `${taxonomyUuid}.json`),\n taxaPart: ({ taxonomyUuid, index }: { taxonomyUuid: string; index: number }): string =>\n path(dir.taxonomies, `${taxonomyUuid}_${index}.json`),\n users: path(dir.users, 'users.json'),\n userInvitations: path(dir.users, 'userInvitations.json'),\n userProfilePicture: ({ userUuid }: { userUuid: string }): string => path(dir.userProfilePictures, userUuid),\n\n // deprecated (old export format)\n fileOld: ({ fileUuid }: { fileUuid: string }): string => path(dir.files, `${fileUuid}.json`),\n}\n"]}
|
|
@@ -13,7 +13,9 @@ export declare enum ArenaExportType {
|
|
|
13
13
|
/** Survey (with records when exported as backup) */
|
|
14
14
|
survey = "survey",
|
|
15
15
|
/** Records only (e.g. records selected in the records list or exported from Arena Mobile) */
|
|
16
|
-
records = "records"
|
|
16
|
+
records = "records",
|
|
17
|
+
/** Survey package downloaded by Arena Mobile (survey with reference data and survey files) */
|
|
18
|
+
mobileSurvey = "mobileSurvey"
|
|
17
19
|
}
|
|
18
20
|
export type ArenaExportInfo = {
|
|
19
21
|
appInfo: AppInfo;
|
|
@@ -7,5 +7,7 @@ var ArenaExportType;
|
|
|
7
7
|
ArenaExportType["survey"] = "survey";
|
|
8
8
|
/** Records only (e.g. records selected in the records list or exported from Arena Mobile) */
|
|
9
9
|
ArenaExportType["records"] = "records";
|
|
10
|
+
/** Survey package downloaded by Arena Mobile (survey with reference data and survey files) */
|
|
11
|
+
ArenaExportType["mobileSurvey"] = "mobileSurvey";
|
|
10
12
|
})(ArenaExportType || (exports.ArenaExportType = ArenaExportType = {}));
|
|
11
13
|
//# sourceMappingURL=ArenaExportInfo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArenaExportInfo.js","sourceRoot":"","sources":["../../src/dataExport/ArenaExportInfo.ts"],"names":[],"mappings":";;;AAcA,IAAY,
|
|
1
|
+
{"version":3,"file":"ArenaExportInfo.js","sourceRoot":"","sources":["../../src/dataExport/ArenaExportInfo.ts"],"names":[],"mappings":";;;AAcA,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,oDAAoD;IACpD,oCAAiB,CAAA;IACjB,6FAA6F;IAC7F,sCAAmB,CAAA;IACnB,8FAA8F;IAC9F,gDAA6B,CAAA;AAC/B,CAAC,EAPW,eAAe,aAAf,eAAe,GAAf,eAAe,QAO1B","sourcesContent":["import { AppInfo } from '../app'\n\nexport type SurveyExportInfo = {\n uuid: string\n name: string\n}\n\nexport type ArenaDataExportOptions = {\n backup?: boolean\n includeData?: boolean\n includeResultAttributes?: boolean\n includeActivityLog?: boolean\n}\n\nexport enum ArenaExportType {\n /** Survey (with records when exported as backup) */\n survey = 'survey',\n /** Records only (e.g. records selected in the records list or exported from Arena Mobile) */\n records = 'records',\n /** Survey package downloaded by Arena Mobile (survey with reference data and survey files) */\n mobileSurvey = 'mobileSurvey',\n}\n\nexport type ArenaExportInfo = {\n appInfo: AppInfo\n dateExported: string // ISO string\n exportedByUserUuid: string\n exportType?: ArenaExportType\n survey: SurveyExportInfo\n options?: ArenaDataExportOptions\n}\n"]}
|
|
@@ -8,3 +8,4 @@ export { ArenaExportType } from './ArenaExportInfo';
|
|
|
8
8
|
export { ArenaExportInfoFactory } from './ArenaExportInfoFactory';
|
|
9
9
|
export type { ArenaExportInfoFactoryParams } from './ArenaExportInfoFactory';
|
|
10
10
|
export { UniqueFileNamesGenerator } from './UniqueFileNamesGenerator';
|
|
11
|
+
export { ArenaExportFile } from './ArenaExportFile';
|
package/dist/dataExport/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UniqueFileNamesGenerator = exports.ArenaExportInfoFactory = exports.ArenaExportType = exports.FlatDataExportColumnDataType = exports.FlatDataExportModel = exports.FlatDataFiles = exports.FlatDataExportDefaultOptions = exports.FlatDataExportOption = void 0;
|
|
3
|
+
exports.ArenaExportFile = exports.UniqueFileNamesGenerator = exports.ArenaExportInfoFactory = exports.ArenaExportType = exports.FlatDataExportColumnDataType = exports.FlatDataExportModel = exports.FlatDataFiles = exports.FlatDataExportDefaultOptions = exports.FlatDataExportOption = void 0;
|
|
4
4
|
var FlatDataExportOptions_1 = require("./FlatDataExportOptions");
|
|
5
5
|
Object.defineProperty(exports, "FlatDataExportOption", { enumerable: true, get: function () { return FlatDataExportOptions_1.FlatDataExportOption; } });
|
|
6
6
|
Object.defineProperty(exports, "FlatDataExportDefaultOptions", { enumerable: true, get: function () { return FlatDataExportOptions_1.FlatDataExportDefaultOptions; } });
|
|
@@ -16,4 +16,6 @@ var ArenaExportInfoFactory_1 = require("./ArenaExportInfoFactory");
|
|
|
16
16
|
Object.defineProperty(exports, "ArenaExportInfoFactory", { enumerable: true, get: function () { return ArenaExportInfoFactory_1.ArenaExportInfoFactory; } });
|
|
17
17
|
var UniqueFileNamesGenerator_1 = require("./UniqueFileNamesGenerator");
|
|
18
18
|
Object.defineProperty(exports, "UniqueFileNamesGenerator", { enumerable: true, get: function () { return UniqueFileNamesGenerator_1.UniqueFileNamesGenerator; } });
|
|
19
|
+
var ArenaExportFile_1 = require("./ArenaExportFile");
|
|
20
|
+
Object.defineProperty(exports, "ArenaExportFile", { enumerable: true, get: function () { return ArenaExportFile_1.ArenaExportFile; } });
|
|
19
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dataExport/index.ts"],"names":[],"mappings":";;;AACA,iEAA4F;AAAnF,6HAAA,oBAAoB,OAAA;AAAE,qIAAA,4BAA4B,OAAA;AAC3D,iDAA+C;AAAtC,8GAAA,aAAa,OAAA;AACtB,6DAA2D;AAAlD,0HAAA,mBAAmB,OAAA;AAC5B,6DAAoE;AAA3D,mIAAA,4BAA4B,OAAA;AAErC,qDAAmD;AAA1C,kHAAA,eAAe,OAAA;AACxB,mEAAiE;AAAxD,gIAAA,sBAAsB,OAAA;AAE/B,uEAAqE;AAA5D,oIAAA,wBAAwB,OAAA","sourcesContent":["export type { FlatDataExportOptions } from './FlatDataExportOptions'\nexport { FlatDataExportOption, FlatDataExportDefaultOptions } from './FlatDataExportOptions'\nexport { FlatDataFiles } from './FlatDataFiles'\nexport { FlatDataExportModel } from './FlatDataExportModel'\nexport { FlatDataExportColumnDataType } from './FlatDataExportModel'\nexport type { ArenaExportInfo } from './ArenaExportInfo'\nexport { ArenaExportType } from './ArenaExportInfo'\nexport { ArenaExportInfoFactory } from './ArenaExportInfoFactory'\nexport type { ArenaExportInfoFactoryParams } from './ArenaExportInfoFactory'\nexport { UniqueFileNamesGenerator } from './UniqueFileNamesGenerator'\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dataExport/index.ts"],"names":[],"mappings":";;;AACA,iEAA4F;AAAnF,6HAAA,oBAAoB,OAAA;AAAE,qIAAA,4BAA4B,OAAA;AAC3D,iDAA+C;AAAtC,8GAAA,aAAa,OAAA;AACtB,6DAA2D;AAAlD,0HAAA,mBAAmB,OAAA;AAC5B,6DAAoE;AAA3D,mIAAA,4BAA4B,OAAA;AAErC,qDAAmD;AAA1C,kHAAA,eAAe,OAAA;AACxB,mEAAiE;AAAxD,gIAAA,sBAAsB,OAAA;AAE/B,uEAAqE;AAA5D,oIAAA,wBAAwB,OAAA;AACjC,qDAAmD;AAA1C,kHAAA,eAAe,OAAA","sourcesContent":["export type { FlatDataExportOptions } from './FlatDataExportOptions'\nexport { FlatDataExportOption, FlatDataExportDefaultOptions } from './FlatDataExportOptions'\nexport { FlatDataFiles } from './FlatDataFiles'\nexport { FlatDataExportModel } from './FlatDataExportModel'\nexport { FlatDataExportColumnDataType } from './FlatDataExportModel'\nexport type { ArenaExportInfo } from './ArenaExportInfo'\nexport { ArenaExportType } from './ArenaExportInfo'\nexport { ArenaExportInfoFactory } from './ArenaExportInfoFactory'\nexport type { ArenaExportInfoFactoryParams } from './ArenaExportInfoFactory'\nexport { UniqueFileNamesGenerator } from './UniqueFileNamesGenerator'\nexport { ArenaExportFile } from './ArenaExportFile'\n"]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// Entry names of the Arena format export (zip), shared by Arena (export / import) and Arena Mobile
|
|
2
|
+
// (records export, survey package download)
|
|
3
|
+
const separator = '/';
|
|
4
|
+
const dir = {
|
|
5
|
+
activityLog: 'activitylog',
|
|
6
|
+
categories: 'categories',
|
|
7
|
+
chains: 'chains',
|
|
8
|
+
files: 'files',
|
|
9
|
+
records: 'records',
|
|
10
|
+
surveyFiles: 'surveyfiles',
|
|
11
|
+
taxonomies: 'taxonomies',
|
|
12
|
+
users: 'users',
|
|
13
|
+
userProfilePictures: ['users', 'profilepictures'].join(separator),
|
|
14
|
+
};
|
|
15
|
+
const path = (...parts) => parts.join(separator);
|
|
16
|
+
export const ArenaExportFile = {
|
|
17
|
+
activityLog: ({ index }) => path(dir.activityLog, `activityLog_${index}.json`),
|
|
18
|
+
categories: path(dir.categories, 'categories.json'),
|
|
19
|
+
categoryItemsSingleFile: ({ categoryUuid }) => path(dir.categories, `${categoryUuid}.json`),
|
|
20
|
+
categoryItemsPart: ({ categoryUuid, index }) => path(dir.categories, `${categoryUuid}_${index}.json`),
|
|
21
|
+
chains: path(dir.chains, 'chains.json'),
|
|
22
|
+
chain: ({ chainUuid }) => path(dir.chains, `${chainUuid}.json`),
|
|
23
|
+
// record files
|
|
24
|
+
filesDir: dir.files,
|
|
25
|
+
filesSummaries: path(dir.files, 'files.json'),
|
|
26
|
+
file: ({ fileUuid }) => path(dir.files, `${fileUuid}.bin`),
|
|
27
|
+
info: 'info.json',
|
|
28
|
+
recordsDir: dir.records,
|
|
29
|
+
records: path(dir.records, 'records.json'),
|
|
30
|
+
record: ({ recordUuid }) => path(dir.records, `${recordUuid}.json`),
|
|
31
|
+
survey: 'survey.json',
|
|
32
|
+
// survey files (e.g. preloaded map layers, branding images)
|
|
33
|
+
surveyFilesDir: dir.surveyFiles,
|
|
34
|
+
surveyFile: ({ fileUuid }) => path(dir.surveyFiles, `${fileUuid}.bin`),
|
|
35
|
+
chainMauFilesSummaries: path(dir.surveyFiles, 'chainMauFiles.json'),
|
|
36
|
+
taxonomies: path(dir.taxonomies, 'taxonomies.json'),
|
|
37
|
+
taxa: ({ taxonomyUuid }) => path(dir.taxonomies, `${taxonomyUuid}.json`),
|
|
38
|
+
taxaPart: ({ taxonomyUuid, index }) => path(dir.taxonomies, `${taxonomyUuid}_${index}.json`),
|
|
39
|
+
users: path(dir.users, 'users.json'),
|
|
40
|
+
userInvitations: path(dir.users, 'userInvitations.json'),
|
|
41
|
+
userProfilePicture: ({ userUuid }) => path(dir.userProfilePictures, userUuid),
|
|
42
|
+
// deprecated (old export format)
|
|
43
|
+
fileOld: ({ fileUuid }) => path(dir.files, `${fileUuid}.json`),
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=ArenaExportFile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArenaExportFile.js","sourceRoot":"","sources":["../../../src/dataExport/ArenaExportFile.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,4CAA4C;AAE5C,MAAM,SAAS,GAAG,GAAG,CAAA;AAErB,MAAM,GAAG,GAAG;IACV,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,mBAAmB,EAAE,CAAC,OAAO,EAAE,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E,CAAC,EAAE,UAAU,EAA0B,EAAU,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,UAAU,OAAO,CAAC;IACnG,MAAM,EAAE,aAAa;IACrB,4DAA4D;IAC5D,cAAc,EAAE,GAAG,CAAC,WAAW;IAC/B,UAAU,EAAE,CAAC,EAAE,QAAQ,EAAwB,EAAU,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,GAAG,QAAQ,MAAM,CAAC;IACpG,sBAAsB,EAAE,IAAI,CAAC,GAAG,CAAC,WAAW,EAAE,oBAAoB,CAAC;IACnE,UAAU,EAAE,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,iBAAiB,CAAC;IACnD,IAAI,EAAE,CAAC,EAAE,YAAY,EAA4B,EAAU,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,GAAG,YAAY,OAAO,CAAC;IAC1G,QAAQ,EAAE,CAAC,EAAE,YAAY,EAAE,KAAK,EAA2C,EAAU,EAAE,CACrF,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,GAAG,YAAY,IAAI,KAAK,OAAO,CAAC;IACvD,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,YAAY,CAAC;IACpC,eAAe,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,sBAAsB,CAAC;IACxD,kBAAkB,EAAE,CAAC,EAAE,QAAQ,EAAwB,EAAU,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,mBAAmB,EAAE,QAAQ,CAAC;IAE3G,iCAAiC;IACjC,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAwB,EAAU,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,GAAG,QAAQ,OAAO,CAAC;CAC7F,CAAA","sourcesContent":["// Entry names of the Arena format export (zip), shared by Arena (export / import) and Arena Mobile\n// (records export, survey package download)\n\nconst separator = '/'\n\nconst dir = {\n activityLog: 'activitylog',\n categories: 'categories',\n chains: 'chains',\n files: 'files',\n records: 'records',\n surveyFiles: 'surveyfiles',\n taxonomies: 'taxonomies',\n users: 'users',\n userProfilePictures: ['users', 'profilepictures'].join(separator),\n}\n\nconst path = (...parts: string[]): string => parts.join(separator)\n\nexport const ArenaExportFile = {\n activityLog: ({ index }: { index: number }): string => path(dir.activityLog, `activityLog_${index}.json`),\n categories: path(dir.categories, 'categories.json'),\n categoryItemsSingleFile: ({ categoryUuid }: { categoryUuid: string }): string =>\n path(dir.categories, `${categoryUuid}.json`),\n categoryItemsPart: ({ categoryUuid, index }: { categoryUuid: string; index: number }): string =>\n path(dir.categories, `${categoryUuid}_${index}.json`),\n chains: path(dir.chains, 'chains.json'),\n chain: ({ chainUuid }: { chainUuid: string }): string => path(dir.chains, `${chainUuid}.json`),\n // record files\n filesDir: dir.files,\n filesSummaries: path(dir.files, 'files.json'),\n file: ({ fileUuid }: { fileUuid: string }): string => path(dir.files, `${fileUuid}.bin`),\n info: 'info.json',\n recordsDir: dir.records,\n records: path(dir.records, 'records.json'),\n record: ({ recordUuid }: { recordUuid: string }): string => path(dir.records, `${recordUuid}.json`),\n survey: 'survey.json',\n // survey files (e.g. preloaded map layers, branding images)\n surveyFilesDir: dir.surveyFiles,\n surveyFile: ({ fileUuid }: { fileUuid: string }): string => path(dir.surveyFiles, `${fileUuid}.bin`),\n chainMauFilesSummaries: path(dir.surveyFiles, 'chainMauFiles.json'),\n taxonomies: path(dir.taxonomies, 'taxonomies.json'),\n taxa: ({ taxonomyUuid }: { taxonomyUuid: string }): string => path(dir.taxonomies, `${taxonomyUuid}.json`),\n taxaPart: ({ taxonomyUuid, index }: { taxonomyUuid: string; index: number }): string =>\n path(dir.taxonomies, `${taxonomyUuid}_${index}.json`),\n users: path(dir.users, 'users.json'),\n userInvitations: path(dir.users, 'userInvitations.json'),\n userProfilePicture: ({ userUuid }: { userUuid: string }): string => path(dir.userProfilePictures, userUuid),\n\n // deprecated (old export format)\n fileOld: ({ fileUuid }: { fileUuid: string }): string => path(dir.files, `${fileUuid}.json`),\n}\n"]}
|
|
@@ -4,5 +4,7 @@ export var ArenaExportType;
|
|
|
4
4
|
ArenaExportType["survey"] = "survey";
|
|
5
5
|
/** Records only (e.g. records selected in the records list or exported from Arena Mobile) */
|
|
6
6
|
ArenaExportType["records"] = "records";
|
|
7
|
+
/** Survey package downloaded by Arena Mobile (survey with reference data and survey files) */
|
|
8
|
+
ArenaExportType["mobileSurvey"] = "mobileSurvey";
|
|
7
9
|
})(ArenaExportType || (ArenaExportType = {}));
|
|
8
10
|
//# sourceMappingURL=ArenaExportInfo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArenaExportInfo.js","sourceRoot":"","sources":["../../../src/dataExport/ArenaExportInfo.ts"],"names":[],"mappings":"AAcA,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"ArenaExportInfo.js","sourceRoot":"","sources":["../../../src/dataExport/ArenaExportInfo.ts"],"names":[],"mappings":"AAcA,MAAM,CAAN,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,oDAAoD;IACpD,oCAAiB,CAAA;IACjB,6FAA6F;IAC7F,sCAAmB,CAAA;IACnB,8FAA8F;IAC9F,gDAA6B,CAAA;AAC/B,CAAC,EAPW,eAAe,KAAf,eAAe,QAO1B","sourcesContent":["import { AppInfo } from '../app'\n\nexport type SurveyExportInfo = {\n uuid: string\n name: string\n}\n\nexport type ArenaDataExportOptions = {\n backup?: boolean\n includeData?: boolean\n includeResultAttributes?: boolean\n includeActivityLog?: boolean\n}\n\nexport enum ArenaExportType {\n /** Survey (with records when exported as backup) */\n survey = 'survey',\n /** Records only (e.g. records selected in the records list or exported from Arena Mobile) */\n records = 'records',\n /** Survey package downloaded by Arena Mobile (survey with reference data and survey files) */\n mobileSurvey = 'mobileSurvey',\n}\n\nexport type ArenaExportInfo = {\n appInfo: AppInfo\n dateExported: string // ISO string\n exportedByUserUuid: string\n exportType?: ArenaExportType\n survey: SurveyExportInfo\n options?: ArenaDataExportOptions\n}\n"]}
|
|
@@ -5,4 +5,5 @@ export { FlatDataExportColumnDataType } from './FlatDataExportModel';
|
|
|
5
5
|
export { ArenaExportType } from './ArenaExportInfo';
|
|
6
6
|
export { ArenaExportInfoFactory } from './ArenaExportInfoFactory';
|
|
7
7
|
export { UniqueFileNamesGenerator } from './UniqueFileNamesGenerator';
|
|
8
|
+
export { ArenaExportFile } from './ArenaExportFile';
|
|
8
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dataExport/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAA;AAC5F,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAA;AAEpE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA","sourcesContent":["export type { FlatDataExportOptions } from './FlatDataExportOptions'\nexport { FlatDataExportOption, FlatDataExportDefaultOptions } from './FlatDataExportOptions'\nexport { FlatDataFiles } from './FlatDataFiles'\nexport { FlatDataExportModel } from './FlatDataExportModel'\nexport { FlatDataExportColumnDataType } from './FlatDataExportModel'\nexport type { ArenaExportInfo } from './ArenaExportInfo'\nexport { ArenaExportType } from './ArenaExportInfo'\nexport { ArenaExportInfoFactory } from './ArenaExportInfoFactory'\nexport type { ArenaExportInfoFactoryParams } from './ArenaExportInfoFactory'\nexport { UniqueFileNamesGenerator } from './UniqueFileNamesGenerator'\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dataExport/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAA;AAC5F,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAA;AAEpE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA","sourcesContent":["export type { FlatDataExportOptions } from './FlatDataExportOptions'\nexport { FlatDataExportOption, FlatDataExportDefaultOptions } from './FlatDataExportOptions'\nexport { FlatDataFiles } from './FlatDataFiles'\nexport { FlatDataExportModel } from './FlatDataExportModel'\nexport { FlatDataExportColumnDataType } from './FlatDataExportModel'\nexport type { ArenaExportInfo } from './ArenaExportInfo'\nexport { ArenaExportType } from './ArenaExportInfo'\nexport { ArenaExportInfoFactory } from './ArenaExportInfoFactory'\nexport type { ArenaExportInfoFactoryParams } from './ArenaExportInfoFactory'\nexport { UniqueFileNamesGenerator } from './UniqueFileNamesGenerator'\nexport { ArenaExportFile } from './ArenaExportFile'\n"]}
|
package/dist/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@ export { CategoryFactory, CategoryImportColumnType, CategoryItemFactory, Categor
|
|
|
3
3
|
export { Categories, CategoryItems } from './category';
|
|
4
4
|
export { ChainFactory, ChainStatusExec, ChainNodeDefFactory } from './chain';
|
|
5
5
|
export { TraverseMethod } from './common';
|
|
6
|
-
export { FlatDataExportDefaultOptions, FlatDataExportOption, FlatDataFiles, FlatDataExportModel, FlatDataExportColumnDataType, ArenaExportInfoFactory, ArenaExportType, UniqueFileNamesGenerator, } from './dataExport';
|
|
6
|
+
export { FlatDataExportDefaultOptions, FlatDataExportOption, FlatDataFiles, FlatDataExportModel, FlatDataExportColumnDataType, ArenaExportFile, ArenaExportInfoFactory, ArenaExportType, UniqueFileNamesGenerator, } from './dataExport';
|
|
7
7
|
export { DataQueryMode, DataQuerySummaries } from './dataQuery';
|
|
8
8
|
export { SystemError, SystemErrorKeys } from './error';
|
|
9
9
|
export { ExpressionNodeType, ExpressionNodeEvaluator, ExpressionVariable, JavascriptExpressionEvaluator, JavascriptExpressionParser, } from './expression';
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AAwBzG,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAejH,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAEtD,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAY5E,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAIzC,OAAO,EACL,4BAA4B,EAC5B,oBAAoB,EACpB,aAAa,EACb,mBAAmB,EACnB,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EACf,wBAAwB,GACzB,MAAM,cAAc,CAAA;AAErB,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAG/D,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAEtD,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,6BAA6B,EAC7B,0BAA0B,GAC3B,MAAM,cAAc,CAAA;AA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B,YAAY,GACb,MAAM,UAAU,CAAA;AAkBjB,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,eAAe,EAAE,YAAY,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAA;AAenH,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAA;AACnF,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AAEjF,OAAO,EACL,MAAM,EACN,WAAW,EACX,KAAK,EACL,SAAS,EACT,aAAa,EACb,OAAO,EACP,OAAO,EACP,QAAQ,EACR,KAAK,EACL,cAAc,EACd,OAAO,EACP,UAAU,EACV,KAAK,EACL,QAAQ,GACT,MAAM,SAAS,CAAA;AAIhB,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,SAAS,EACT,kBAAkB,GACnB,MAAM,cAAc,CAAA","sourcesContent":["export type { AppInfo } from './app'\n\nexport { Authorizer, AuthGroupName, UserStatus, Permission, UserTitle, UserFactory, Users } from './auth'\nexport type {\n AuthGroup,\n User,\n UserAuthGroup,\n UserAuthGroupProps,\n AuthToken,\n UserAuthTokenPayload,\n UserAuthTokenService,\n UserPrefs,\n UserPrefSurveys,\n UserProps,\n UserAuthRefreshToken,\n UserAuthRefreshTokenProps,\n UserAuthRefreshTokenPayload,\n UserService,\n UserTokenPayload,\n DownloadAuthTokenPayload,\n UserGroup,\n UserGroupProps,\n UserGroupQualifier,\n UserInvitation,\n} from './auth'\n\nexport { CategoryFactory, CategoryImportColumnType, CategoryItemFactory, CategoryLevelFactory } from './category'\nexport type {\n CategoryItemProps,\n Category,\n CategoryItem,\n CategoryLevel,\n CategoryLevelProps,\n CategoryImportSummary,\n CategoryImportSummaryColumn,\n CategoryItemService,\n CategoryLevelService,\n CategoryProps,\n CategoryService,\n} from './category'\n\nexport { Categories, CategoryItems } from './category'\n\nexport { ChainFactory, ChainStatusExec, ChainNodeDefFactory } from './chain'\nexport type {\n Chain,\n ChainProps,\n ChainService,\n ChainNodeDef,\n ChainNodeDefProps,\n ChainNodeDefService,\n ChainNodeDefAggregate,\n ChainNodeDefAggregateProps,\n} from './chain'\n\nexport { TraverseMethod } from './common'\nexport type { ArenaObject, ArenaService, Dictionary, Factory, I18n } from './common'\n\nexport type { FlatDataExportOptions, ArenaExportInfoFactoryParams, ArenaExportInfo } from './dataExport'\nexport {\n FlatDataExportDefaultOptions,\n FlatDataExportOption,\n FlatDataFiles,\n FlatDataExportModel,\n FlatDataExportColumnDataType,\n ArenaExportInfoFactory,\n ArenaExportType,\n UniqueFileNamesGenerator,\n} from './dataExport'\n\nexport { DataQueryMode, DataQuerySummaries } from './dataQuery'\nexport type { DataQuery, DataQuerySummary, DataQuerySummaryProps } from './dataQuery'\n\nexport { SystemError, SystemErrorKeys } from './error'\n\nexport {\n ExpressionNodeType,\n ExpressionNodeEvaluator,\n ExpressionVariable,\n JavascriptExpressionEvaluator,\n JavascriptExpressionParser,\n} from './expression'\nexport type {\n ArrayExpression,\n BinaryExpression,\n CallExpression,\n CompoundExpression,\n ConditionalExpression,\n ExpressionContext,\n ExpressionEvaluator,\n ExpressionFunction,\n ExpressionFunctions,\n AnyExpressionNode,\n ExpressionNode,\n ExpressionNodeEvaluatorConstructor,\n MemberExpression,\n IdentifierExpression,\n LiteralExpression,\n SequenceExpression,\n ThisExpression,\n UnaryExpression,\n} from './expression'\n\nexport { ExtraPropDataType, ExtraPropsDataGenerator } from './extraProp'\nexport type { ExtraPropDef, ExtraPropDefs } from './extraProp'\n\nexport { PointFactory, Points } from './geo'\nexport type { AreaOfInterest, Point } from './geo'\n\nexport { JobBase, JobEventType, JobStatus } from './job'\nexport type { Job, JobContext, JobEvent, JobSerialized, JobTxClient } from './job'\n\nexport { LanguageCode, Languages, LanguagesISO639part2 } from './language'\nexport type { Labels } from './language'\n\nexport type { Logger } from './logger'\n\nexport type { Message } from './message'\nexport { MessageNotificationType, MessagePropsKey, MessageStatus, MessageTargetUserType, Messages } from './message'\n\nexport { NodeFactory, NodeKeys, NodeMetaKeys, Nodes, NodeValueFormatter, NodeValues } from './node'\nexport type {\n ArenaRecordNode,\n Node,\n NodeMeta,\n NodePointer,\n NodeRefData,\n NodeService,\n NodesMap,\n NodeValueCode,\n NodeValueCoordinate,\n NodeValueFile,\n NodeValueTaxon,\n} from './node'\n\nexport {\n NodeDefCountType,\n NodeDefType,\n NodeDefFactory,\n NodeDefs,\n NodeDefEntityRenderType,\n NodeDefFileType,\n NodeDefTextInputType,\n NodeDefTextRenderType,\n FormHeaderColor,\n} from './nodeDef'\n\nexport { NodeDefExpressionEvaluator, NodeDefExpressionValidator } from './nodeDefExpressionEvaluator'\nexport type { CategoryItemProvider, TaxonProvider } from './nodeDefExpressionEvaluator'\n\nexport type {\n NodeDef,\n NodeDefLayout,\n NodeDefMeta,\n NodeDefProps,\n NodeDefPropsWithLayout,\n NodeDefBoolean,\n NodeDefBooleanProps,\n NodeDefCode,\n NodeDefCodeLayout,\n NodeDefCodeProps,\n NodeDefCoordinate,\n NodeDefCoordinateProps,\n NodeDefDate,\n NodeDefDecimal,\n NodeDefDecimalProps,\n NodeDefEntity,\n NodeDefEntityChildPosition,\n NodeDefEntityLayout,\n NodeDefEntityProps,\n NodeDefPrintOrientation,\n NodeDefFile,\n NodeDefFileProps,\n NodeDefGeo,\n NodeDefGeoProps,\n NodeDefFormHeader,\n NodeDefFormHeaderProps,\n NodeDefInteger,\n NodeDefPropsAdvanced,\n NodeDefTaxon,\n NodeDefTaxonProps,\n NodeDefText,\n NodeDefTextProps,\n NodeDefTextLayout,\n NodeDefTime,\n NodeDefTimeProps,\n NodeDefExpression,\n NodeDefMap,\n NodeDefService,\n NodeDefValidations,\n} from './nodeDef'\n\nexport {\n NodePointers,\n RecordCloner,\n RecordFactory,\n RecordFixer,\n Records,\n RECORD_STEP_DEFAULT,\n RecordExpressionEvaluator,\n RecordNodesUpdater,\n RecordPrettyPrinter,\n RecordUpdater,\n RecordUpdateResult,\n RecordValidator,\n RecordValidations,\n} from './record'\nexport type {\n AttributeValidatorParams,\n AttributesValidatorParams,\n NodeCreateParams,\n NodesUpdateParams,\n ArenaRecord,\n Record,\n RecordExpressionContext,\n RecordExpressionEvaluationContext,\n RecordService,\n RecordUpdateOptions,\n RecordValidatorParams,\n SortedAttributesValidatorParams,\n} from './record'\n\nexport { ServiceRegistry, ServiceType } from './registry'\nexport type { ServiceTypeMap } from './registry'\n\nexport { DEFAULT_SRS, DEFAULT_SRS_INDEX, SRSFactory } from './srs'\nexport type { SRS, SRSIndex } from './srs'\n\nexport {\n NodeDefsFixer,\n SurveyDocImages,\n SurveyDocImageFactory,\n SurveyDocPlace,\n SurveyDependencyType,\n SurveyFactory,\n SurveyFileFactory,\n SurveyFileType,\n SurveyRefDataFactory,\n SurveySecurityProp,\n Surveys,\n surveyDocImagePropKeys,\n surveySecurityDefaults,\n defaultCycle,\n} from './survey'\nexport type {\n Survey,\n SurveyCycle,\n SurveyDependency,\n SurveyDependencyGraph,\n SurveyDocImage,\n SurveyDocImageFactoryParams,\n SurveyDocImageProps,\n SurveyFile,\n SurveyFileFactoryParams,\n SurveyFileProps,\n SurveyProps,\n SurveyRefData,\n SurveySecurity,\n SurveyService,\n} from './survey'\n\nexport { Taxa, Taxonomies, TaxonomyFactory, TaxonFactory, TaxonGenerator, VernacularNameFactory } from './taxonomy'\nexport type {\n VernacularNameParams,\n TaxonomyFactoryParams,\n TaxonFactoryParams,\n Taxonomy,\n TaxonomyService,\n VernacularNameProps,\n VernacularName,\n TaxonProps,\n Taxon,\n TaxonomyProps,\n TaxonService,\n} from './taxonomy'\n\nexport { SurveyBuilder, SurveyObjectBuilders } from './tests/builder/surveyBuilder'\nexport { RecordBuilder, RecordNodeBuilders } from './tests/builder/recordBuilder'\n\nexport {\n Arrays,\n DateFormats,\n Dates,\n FileNames,\n FileProcessor,\n Numbers,\n Objects,\n Promises,\n Queue,\n RetryProcessor,\n Strings,\n UnitOfTime,\n UUIDs,\n Versions,\n} from './utils'\n\nexport type { FileProcessorConstructorArgs, MutationOptions, ParsedVersion } from './utils'\n\nexport {\n FieldValidators,\n ValidationFactory,\n ValidationResultFactory,\n ValidationResults,\n Validations,\n ValidationSeverity,\n Validator,\n ValidatorErrorKeys,\n} from './validation'\nexport type {\n DissocFieldValidationOptions,\n FieldValidator,\n Validation,\n ValidationFields,\n ValidationResult,\n ValidationCounts,\n} from './validation'\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AAwBzG,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAejH,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAEtD,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAY5E,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAIzC,OAAO,EACL,4BAA4B,EAC5B,oBAAoB,EACpB,aAAa,EACb,mBAAmB,EACnB,4BAA4B,EAC5B,eAAe,EACf,sBAAsB,EACtB,eAAe,EACf,wBAAwB,GACzB,MAAM,cAAc,CAAA;AAErB,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAG/D,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAEtD,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,6BAA6B,EAC7B,0BAA0B,GAC3B,MAAM,cAAc,CAAA;AAsBrB,OAAO,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AA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U,EAAE,eAAe,EAAE,YAAY,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAA;AAenH,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAA;AACnF,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAA;AAEjF,OAAO,EACL,MAAM,EACN,WAAW,EACX,KAAK,EACL,SAAS,EACT,aAAa,EACb,OAAO,EACP,OAAO,EACP,QAAQ,EACR,KAAK,EACL,cAAc,EACd,OAAO,EACP,UAAU,EACV,KAAK,EACL,QAAQ,GACT,MAAM,SAAS,CAAA;AAIhB,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,SAAS,EACT,kBAAkB,GACnB,MAAM,cAAc,CAAA","sourcesContent":["export type { AppInfo } from './app'\n\nexport { Authorizer, AuthGroupName, UserStatus, Permission, UserTitle, UserFactory, Users } from './auth'\nexport type {\n AuthGroup,\n User,\n UserAuthGroup,\n UserAuthGroupProps,\n AuthToken,\n UserAuthTokenPayload,\n UserAuthTokenService,\n UserPrefs,\n UserPrefSurveys,\n UserProps,\n UserAuthRefreshToken,\n UserAuthRefreshTokenProps,\n UserAuthRefreshTokenPayload,\n UserService,\n UserTokenPayload,\n DownloadAuthTokenPayload,\n UserGroup,\n UserGroupProps,\n UserGroupQualifier,\n UserInvitation,\n} from './auth'\n\nexport { CategoryFactory, CategoryImportColumnType, CategoryItemFactory, CategoryLevelFactory } from './category'\nexport type {\n CategoryItemProps,\n Category,\n CategoryItem,\n CategoryLevel,\n CategoryLevelProps,\n CategoryImportSummary,\n CategoryImportSummaryColumn,\n CategoryItemService,\n CategoryLevelService,\n CategoryProps,\n CategoryService,\n} from './category'\n\nexport { Categories, CategoryItems } from './category'\n\nexport { ChainFactory, ChainStatusExec, ChainNodeDefFactory } from './chain'\nexport type {\n Chain,\n ChainProps,\n ChainService,\n ChainNodeDef,\n ChainNodeDefProps,\n ChainNodeDefService,\n ChainNodeDefAggregate,\n ChainNodeDefAggregateProps,\n} from './chain'\n\nexport { TraverseMethod } from './common'\nexport type { ArenaObject, ArenaService, Dictionary, Factory, I18n } from './common'\n\nexport type { FlatDataExportOptions, ArenaExportInfoFactoryParams, ArenaExportInfo } from './dataExport'\nexport {\n FlatDataExportDefaultOptions,\n FlatDataExportOption,\n FlatDataFiles,\n FlatDataExportModel,\n FlatDataExportColumnDataType,\n ArenaExportFile,\n ArenaExportInfoFactory,\n ArenaExportType,\n UniqueFileNamesGenerator,\n} from './dataExport'\n\nexport { DataQueryMode, DataQuerySummaries } from './dataQuery'\nexport type { DataQuery, DataQuerySummary, DataQuerySummaryProps } from './dataQuery'\n\nexport { SystemError, SystemErrorKeys } from './error'\n\nexport {\n ExpressionNodeType,\n ExpressionNodeEvaluator,\n ExpressionVariable,\n JavascriptExpressionEvaluator,\n JavascriptExpressionParser,\n} from './expression'\nexport type {\n ArrayExpression,\n BinaryExpression,\n CallExpression,\n CompoundExpression,\n ConditionalExpression,\n ExpressionContext,\n ExpressionEvaluator,\n ExpressionFunction,\n ExpressionFunctions,\n AnyExpressionNode,\n ExpressionNode,\n ExpressionNodeEvaluatorConstructor,\n MemberExpression,\n IdentifierExpression,\n LiteralExpression,\n SequenceExpression,\n ThisExpression,\n UnaryExpression,\n} from './expression'\n\nexport { ExtraPropDataType, ExtraPropsDataGenerator } from './extraProp'\nexport type { ExtraPropDef, ExtraPropDefs } from './extraProp'\n\nexport { PointFactory, Points } from './geo'\nexport type { AreaOfInterest, Point } from './geo'\n\nexport { JobBase, JobEventType, JobStatus } from './job'\nexport type { Job, JobContext, JobEvent, JobSerialized, JobTxClient } from './job'\n\nexport { LanguageCode, Languages, LanguagesISO639part2 } from './language'\nexport type { Labels } from './language'\n\nexport type { Logger } from './logger'\n\nexport type { Message } from './message'\nexport { MessageNotificationType, MessagePropsKey, MessageStatus, MessageTargetUserType, Messages } from './message'\n\nexport { NodeFactory, NodeKeys, NodeMetaKeys, Nodes, NodeValueFormatter, NodeValues } from './node'\nexport type {\n ArenaRecordNode,\n Node,\n NodeMeta,\n NodePointer,\n NodeRefData,\n NodeService,\n NodesMap,\n NodeValueCode,\n NodeValueCoordinate,\n NodeValueFile,\n NodeValueTaxon,\n} from './node'\n\nexport {\n NodeDefCountType,\n NodeDefType,\n NodeDefFactory,\n NodeDefs,\n NodeDefEntityRenderType,\n NodeDefFileType,\n NodeDefTextInputType,\n NodeDefTextRenderType,\n FormHeaderColor,\n} from './nodeDef'\n\nexport { NodeDefExpressionEvaluator, NodeDefExpressionValidator } from './nodeDefExpressionEvaluator'\nexport type { CategoryItemProvider, TaxonProvider } from './nodeDefExpressionEvaluator'\n\nexport type {\n NodeDef,\n NodeDefLayout,\n NodeDefMeta,\n NodeDefProps,\n NodeDefPropsWithLayout,\n NodeDefBoolean,\n NodeDefBooleanProps,\n NodeDefCode,\n NodeDefCodeLayout,\n NodeDefCodeProps,\n NodeDefCoordinate,\n NodeDefCoordinateProps,\n NodeDefDate,\n NodeDefDecimal,\n NodeDefDecimalProps,\n NodeDefEntity,\n NodeDefEntityChildPosition,\n NodeDefEntityLayout,\n NodeDefEntityProps,\n NodeDefPrintOrientation,\n NodeDefFile,\n NodeDefFileProps,\n NodeDefGeo,\n NodeDefGeoProps,\n NodeDefFormHeader,\n NodeDefFormHeaderProps,\n NodeDefInteger,\n NodeDefPropsAdvanced,\n NodeDefTaxon,\n NodeDefTaxonProps,\n NodeDefText,\n NodeDefTextProps,\n NodeDefTextLayout,\n NodeDefTime,\n NodeDefTimeProps,\n NodeDefExpression,\n NodeDefMap,\n NodeDefService,\n NodeDefValidations,\n} from './nodeDef'\n\nexport {\n NodePointers,\n RecordCloner,\n RecordFactory,\n RecordFixer,\n Records,\n RECORD_STEP_DEFAULT,\n RecordExpressionEvaluator,\n RecordNodesUpdater,\n RecordPrettyPrinter,\n RecordUpdater,\n RecordUpdateResult,\n RecordValidator,\n RecordValidations,\n} from './record'\nexport type {\n AttributeValidatorParams,\n AttributesValidatorParams,\n NodeCreateParams,\n NodesUpdateParams,\n ArenaRecord,\n Record,\n RecordExpressionContext,\n RecordExpressionEvaluationContext,\n RecordService,\n RecordUpdateOptions,\n RecordValidatorParams,\n SortedAttributesValidatorParams,\n} from './record'\n\nexport { ServiceRegistry, ServiceType } from './registry'\nexport type { ServiceTypeMap } from './registry'\n\nexport { DEFAULT_SRS, DEFAULT_SRS_INDEX, SRSFactory } from './srs'\nexport type { SRS, SRSIndex } from './srs'\n\nexport {\n NodeDefsFixer,\n SurveyDocImages,\n SurveyDocImageFactory,\n SurveyDocPlace,\n SurveyDependencyType,\n SurveyFactory,\n SurveyFileFactory,\n SurveyFileType,\n SurveyRefDataFactory,\n SurveySecurityProp,\n Surveys,\n surveyDocImagePropKeys,\n surveySecurityDefaults,\n defaultCycle,\n} from './survey'\nexport type {\n Survey,\n SurveyCycle,\n SurveyDependency,\n SurveyDependencyGraph,\n SurveyDocImage,\n SurveyDocImageFactoryParams,\n SurveyDocImageProps,\n SurveyFile,\n SurveyFileFactoryParams,\n SurveyFileProps,\n SurveyProps,\n SurveyRefData,\n SurveySecurity,\n SurveyService,\n} from './survey'\n\nexport { Taxa, Taxonomies, TaxonomyFactory, TaxonFactory, TaxonGenerator, VernacularNameFactory } from './taxonomy'\nexport type {\n VernacularNameParams,\n TaxonomyFactoryParams,\n TaxonFactoryParams,\n Taxonomy,\n TaxonomyService,\n VernacularNameProps,\n VernacularName,\n TaxonProps,\n Taxon,\n TaxonomyProps,\n TaxonService,\n} from './taxonomy'\n\nexport { SurveyBuilder, SurveyObjectBuilders } from './tests/builder/surveyBuilder'\nexport { RecordBuilder, RecordNodeBuilders } from './tests/builder/recordBuilder'\n\nexport {\n Arrays,\n DateFormats,\n Dates,\n FileNames,\n FileProcessor,\n Numbers,\n Objects,\n Promises,\n Queue,\n RetryProcessor,\n Strings,\n UnitOfTime,\n UUIDs,\n Versions,\n} from './utils'\n\nexport type { FileProcessorConstructorArgs, MutationOptions, ParsedVersion } from './utils'\n\nexport {\n FieldValidators,\n ValidationFactory,\n ValidationResultFactory,\n ValidationResults,\n Validations,\n ValidationSeverity,\n Validator,\n ValidatorErrorKeys,\n} from './validation'\nexport type {\n DissocFieldValidationOptions,\n FieldValidator,\n Validation,\n ValidationFields,\n ValidationResult,\n ValidationCounts,\n} from './validation'\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export type { Chain, ChainProps, ChainService, ChainNodeDef, ChainNodeDefProps,
|
|
|
9
9
|
export { TraverseMethod } from './common';
|
|
10
10
|
export type { ArenaObject, ArenaService, Dictionary, Factory, I18n } from './common';
|
|
11
11
|
export type { FlatDataExportOptions, ArenaExportInfoFactoryParams, ArenaExportInfo } from './dataExport';
|
|
12
|
-
export { FlatDataExportDefaultOptions, FlatDataExportOption, FlatDataFiles, FlatDataExportModel, FlatDataExportColumnDataType, ArenaExportInfoFactory, ArenaExportType, UniqueFileNamesGenerator, } from './dataExport';
|
|
12
|
+
export { FlatDataExportDefaultOptions, FlatDataExportOption, FlatDataFiles, FlatDataExportModel, FlatDataExportColumnDataType, ArenaExportFile, ArenaExportInfoFactory, ArenaExportType, UniqueFileNamesGenerator, } from './dataExport';
|
|
13
13
|
export { DataQueryMode, DataQuerySummaries } from './dataQuery';
|
|
14
14
|
export type { DataQuery, DataQuerySummary, DataQuerySummaryProps } from './dataQuery';
|
|
15
15
|
export { SystemError, SystemErrorKeys } from './error';
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.ValidatorErrorKeys = exports.Validator = exports.ValidationSeverity = exports.Validations = exports.ValidationResults = exports.ValidationResultFactory = exports.ValidationFactory = exports.FieldValidators = exports.Versions = exports.UUIDs = exports.UnitOfTime = exports.Strings = exports.RetryProcessor = exports.Queue = exports.Promises = exports.Objects = exports.Numbers = exports.FileProcessor = exports.FileNames = exports.Dates = exports.DateFormats = exports.Arrays = exports.RecordNodeBuilders = exports.RecordBuilder = exports.SurveyObjectBuilders = exports.SurveyBuilder = exports.VernacularNameFactory = exports.TaxonGenerator = exports.TaxonFactory = exports.TaxonomyFactory = void 0;
|
|
3
|
+
exports.Messages = exports.MessageTargetUserType = exports.MessageStatus = exports.MessagePropsKey = exports.MessageNotificationType = exports.LanguagesISO639part2 = exports.Languages = exports.LanguageCode = exports.JobStatus = exports.JobEventType = exports.JobBase = exports.Points = exports.PointFactory = exports.ExtraPropsDataGenerator = exports.ExtraPropDataType = exports.JavascriptExpressionParser = exports.JavascriptExpressionEvaluator = exports.ExpressionVariable = exports.ExpressionNodeEvaluator = exports.ExpressionNodeType = exports.SystemErrorKeys = exports.SystemError = exports.DataQuerySummaries = exports.DataQueryMode = exports.UniqueFileNamesGenerator = exports.ArenaExportType = exports.ArenaExportInfoFactory = exports.ArenaExportFile = exports.FlatDataExportColumnDataType = exports.FlatDataExportModel = exports.FlatDataFiles = exports.FlatDataExportOption = exports.FlatDataExportDefaultOptions = exports.TraverseMethod = exports.ChainNodeDefFactory = exports.ChainStatusExec = exports.ChainFactory = exports.CategoryItems = exports.Categories = exports.CategoryLevelFactory = exports.CategoryItemFactory = exports.CategoryImportColumnType = exports.CategoryFactory = exports.Users = exports.UserFactory = exports.UserTitle = exports.Permission = exports.UserStatus = exports.AuthGroupName = exports.Authorizer = void 0;
|
|
4
|
+
exports.Taxa = exports.defaultCycle = exports.surveySecurityDefaults = exports.surveyDocImagePropKeys = exports.Surveys = exports.SurveySecurityProp = exports.SurveyRefDataFactory = exports.SurveyFileType = exports.SurveyFileFactory = exports.SurveyFactory = exports.SurveyDependencyType = exports.SurveyDocPlace = exports.SurveyDocImageFactory = exports.SurveyDocImages = exports.NodeDefsFixer = exports.SRSFactory = exports.DEFAULT_SRS_INDEX = exports.DEFAULT_SRS = exports.ServiceType = exports.ServiceRegistry = exports.RecordValidations = exports.RecordValidator = exports.RecordUpdateResult = exports.RecordUpdater = exports.RecordPrettyPrinter = exports.RecordNodesUpdater = exports.RecordExpressionEvaluator = exports.RECORD_STEP_DEFAULT = exports.Records = exports.RecordFixer = exports.RecordFactory = exports.RecordCloner = exports.NodePointers = exports.NodeDefExpressionValidator = exports.NodeDefExpressionEvaluator = exports.FormHeaderColor = exports.NodeDefTextRenderType = exports.NodeDefTextInputType = exports.NodeDefFileType = exports.NodeDefEntityRenderType = exports.NodeDefs = exports.NodeDefFactory = exports.NodeDefType = exports.NodeDefCountType = exports.NodeValues = exports.NodeValueFormatter = exports.Nodes = exports.NodeMetaKeys = exports.NodeKeys = exports.NodeFactory = void 0;
|
|
5
|
+
exports.ValidatorErrorKeys = exports.Validator = exports.ValidationSeverity = exports.Validations = exports.ValidationResults = exports.ValidationResultFactory = exports.ValidationFactory = exports.FieldValidators = exports.Versions = exports.UUIDs = exports.UnitOfTime = exports.Strings = exports.RetryProcessor = exports.Queue = exports.Promises = exports.Objects = exports.Numbers = exports.FileProcessor = exports.FileNames = exports.Dates = exports.DateFormats = exports.Arrays = exports.RecordNodeBuilders = exports.RecordBuilder = exports.SurveyObjectBuilders = exports.SurveyBuilder = exports.VernacularNameFactory = exports.TaxonGenerator = exports.TaxonFactory = exports.TaxonomyFactory = exports.Taxonomies = void 0;
|
|
6
6
|
var auth_1 = require("./auth");
|
|
7
7
|
Object.defineProperty(exports, "Authorizer", { enumerable: true, get: function () { return auth_1.Authorizer; } });
|
|
8
8
|
Object.defineProperty(exports, "AuthGroupName", { enumerable: true, get: function () { return auth_1.AuthGroupName; } });
|
|
@@ -31,6 +31,7 @@ Object.defineProperty(exports, "FlatDataExportOption", { enumerable: true, get:
|
|
|
31
31
|
Object.defineProperty(exports, "FlatDataFiles", { enumerable: true, get: function () { return dataExport_1.FlatDataFiles; } });
|
|
32
32
|
Object.defineProperty(exports, "FlatDataExportModel", { enumerable: true, get: function () { return dataExport_1.FlatDataExportModel; } });
|
|
33
33
|
Object.defineProperty(exports, "FlatDataExportColumnDataType", { enumerable: true, get: function () { return dataExport_1.FlatDataExportColumnDataType; } });
|
|
34
|
+
Object.defineProperty(exports, "ArenaExportFile", { enumerable: true, get: function () { return dataExport_1.ArenaExportFile; } });
|
|
34
35
|
Object.defineProperty(exports, "ArenaExportInfoFactory", { enumerable: true, get: function () { return dataExport_1.ArenaExportInfoFactory; } });
|
|
35
36
|
Object.defineProperty(exports, "ArenaExportType", { enumerable: true, get: function () { return dataExport_1.ArenaExportType; } });
|
|
36
37
|
Object.defineProperty(exports, "UniqueFileNamesGenerator", { enumerable: true, get: function () { return dataExport_1.UniqueFileNamesGenerator; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAEA,+BAAyG;AAAhG,kGAAA,UAAU,OAAA;AAAE,qGAAA,aAAa,OAAA;AAAE,kGAAA,UAAU,OAAA;AAAE,kGAAA,UAAU,OAAA;AAAE,iGAAA,SAAS,OAAA;AAAE,mGAAA,WAAW,OAAA;AAAE,6FAAA,KAAK,OAAA;AAwBzF,uCAAiH;AAAxG,2GAAA,eAAe,OAAA;AAAE,oHAAA,wBAAwB,OAAA;AAAE,+GAAA,mBAAmB,OAAA;AAAE,gHAAA,oBAAoB,OAAA;AAe7F,uCAAsD;AAA7C,sGAAA,UAAU,OAAA;AAAE,yGAAA,aAAa,OAAA;AAElC,iCAA4E;AAAnE,qGAAA,YAAY,OAAA;AAAE,wGAAA,eAAe,OAAA;AAAE,4GAAA,mBAAmB,OAAA;AAY3D,mCAAyC;AAAhC,wGAAA,cAAc,OAAA;AAIvB,2CASqB;AARnB,0HAAA,4BAA4B,OAAA;AAC5B,kHAAA,oBAAoB,OAAA;AACpB,2GAAA,aAAa,OAAA;AACb,iHAAA,mBAAmB,OAAA;AACnB,0HAAA,4BAA4B,OAAA;AAC5B,oH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AA;AAC5C,+DAAiF;AAAxE,8GAAA,aAAa,OAAA;AAAE,mHAAA,kBAAkB,OAAA;AAE1C,iCAegB;AAdd,+FAAA,MAAM,OAAA;AACN,oGAAA,WAAW,OAAA;AACX,8FAAA,KAAK,OAAA;AACL,kGAAA,SAAS,OAAA;AACT,sGAAA,aAAa,OAAA;AACb,gGAAA,OAAO,OAAA;AACP,gGAAA,OAAO,OAAA;AACP,iGAAA,QAAQ,OAAA;AACR,8FAAA,KAAK,OAAA;AACL,uGAAA,cAAc,OAAA;AACd,gGAAA,OAAO,OAAA;AACP,mGAAA,UAAU,OAAA;AACV,8FAAA,KAAK,OAAA;AACL,iGAAA,QAAQ,OAAA;AAKV,2CASqB;AARnB,6GAAA,eAAe,OAAA;AACf,+GAAA,iBAAiB,OAAA;AACjB,qHAAA,uBAAuB,OAAA;AACvB,+GAAA,iBAAiB,OAAA;AACjB,yGAAA,WAAW,OAAA;AACX,gHAAA,kBAAkB,OAAA;AAClB,uGAAA,SAAS,OAAA;AACT,gHAAA,kBAAkB,OAAA","sourcesContent":["export type { AppInfo } from './app'\n\nexport { Authorizer, AuthGroupName, UserStatus, Permission, UserTitle, UserFactory, Users } from './auth'\nexport type {\n AuthGroup,\n User,\n UserAuthGroup,\n UserAuthGroupProps,\n AuthToken,\n UserAuthTokenPayload,\n UserAuthTokenService,\n UserPrefs,\n UserPrefSurveys,\n UserProps,\n UserAuthRefreshToken,\n UserAuthRefreshTokenProps,\n UserAuthRefreshTokenPayload,\n UserService,\n UserTokenPayload,\n DownloadAuthTokenPayload,\n UserGroup,\n UserGroupProps,\n UserGroupQualifier,\n UserInvitation,\n} from './auth'\n\nexport { CategoryFactory, CategoryImportColumnType, CategoryItemFactory, CategoryLevelFactory } from './category'\nexport type {\n CategoryItemProps,\n Category,\n CategoryItem,\n CategoryLevel,\n CategoryLevelProps,\n CategoryImportSummary,\n CategoryImportSummaryColumn,\n CategoryItemService,\n CategoryLevelService,\n CategoryProps,\n CategoryService,\n} from './category'\n\nexport { Categories, CategoryItems } from './category'\n\nexport { ChainFactory, ChainStatusExec, ChainNodeDefFactory } from './chain'\nexport type {\n Chain,\n ChainProps,\n ChainService,\n ChainNodeDef,\n ChainNodeDefProps,\n ChainNodeDefService,\n ChainNodeDefAggregate,\n ChainNodeDefAggregateProps,\n} from './chain'\n\nexport { TraverseMethod } from './common'\nexport type { ArenaObject, ArenaService, Dictionary, Factory, I18n } from './common'\n\nexport type { FlatDataExportOptions, ArenaExportInfoFactoryParams, ArenaExportInfo } from './dataExport'\nexport {\n FlatDataExportDefaultOptions,\n FlatDataExportOption,\n FlatDataFiles,\n FlatDataExportModel,\n FlatDataExportColumnDataType,\n ArenaExportInfoFactory,\n ArenaExportType,\n UniqueFileNamesGenerator,\n} from './dataExport'\n\nexport { DataQueryMode, DataQuerySummaries } from './dataQuery'\nexport type { DataQuery, DataQuerySummary, DataQuerySummaryProps } from './dataQuery'\n\nexport { SystemError, SystemErrorKeys } from './error'\n\nexport {\n ExpressionNodeType,\n ExpressionNodeEvaluator,\n ExpressionVariable,\n JavascriptExpressionEvaluator,\n JavascriptExpressionParser,\n} from './expression'\nexport type {\n ArrayExpression,\n BinaryExpression,\n CallExpression,\n CompoundExpression,\n ConditionalExpression,\n ExpressionContext,\n ExpressionEvaluator,\n ExpressionFunction,\n ExpressionFunctions,\n AnyExpressionNode,\n ExpressionNode,\n ExpressionNodeEvaluatorConstructor,\n MemberExpression,\n IdentifierExpression,\n LiteralExpression,\n SequenceExpression,\n ThisExpression,\n UnaryExpression,\n} from './expression'\n\nexport { ExtraPropDataType, ExtraPropsDataGenerator } from './extraProp'\nexport type { ExtraPropDef, ExtraPropDefs } from './extraProp'\n\nexport { PointFactory, Points } from './geo'\nexport type { AreaOfInterest, Point } from './geo'\n\nexport { JobBase, JobEventType, JobStatus } from './job'\nexport type { Job, JobContext, JobEvent, JobSerialized, JobTxClient } from './job'\n\nexport { LanguageCode, Languages, LanguagesISO639part2 } from './language'\nexport type { Labels } from './language'\n\nexport type { Logger } from './logger'\n\nexport type { Message } from './message'\nexport { MessageNotificationType, MessagePropsKey, MessageStatus, MessageTargetUserType, Messages } from './message'\n\nexport { NodeFactory, NodeKeys, NodeMetaKeys, Nodes, NodeValueFormatter, NodeValues } from './node'\nexport type {\n ArenaRecordNode,\n Node,\n NodeMeta,\n NodePointer,\n NodeRefData,\n NodeService,\n NodesMap,\n NodeValueCode,\n NodeValueCoordinate,\n NodeValueFile,\n NodeValueTaxon,\n} from './node'\n\nexport {\n NodeDefCountType,\n NodeDefType,\n NodeDefFactory,\n NodeDefs,\n NodeDefEntityRenderType,\n NodeDefFileType,\n NodeDefTextInputType,\n NodeDefTextRenderType,\n FormHeaderColor,\n} from './nodeDef'\n\nexport { NodeDefExpressionEvaluator, NodeDefExpressionValidator } from './nodeDefExpressionEvaluator'\nexport type { CategoryItemProvider, TaxonProvider } from './nodeDefExpressionEvaluator'\n\nexport type {\n NodeDef,\n NodeDefLayout,\n NodeDefMeta,\n NodeDefProps,\n NodeDefPropsWithLayout,\n NodeDefBoolean,\n NodeDefBooleanProps,\n NodeDefCode,\n NodeDefCodeLayout,\n NodeDefCodeProps,\n NodeDefCoordinate,\n NodeDefCoordinateProps,\n NodeDefDate,\n NodeDefDecimal,\n NodeDefDecimalProps,\n NodeDefEntity,\n NodeDefEntityChildPosition,\n NodeDefEntityLayout,\n NodeDefEntityProps,\n NodeDefPrintOrientation,\n NodeDefFile,\n NodeDefFileProps,\n NodeDefGeo,\n NodeDefGeoProps,\n NodeDefFormHeader,\n NodeDefFormHeaderProps,\n NodeDefInteger,\n NodeDefPropsAdvanced,\n NodeDefTaxon,\n NodeDefTaxonProps,\n NodeDefText,\n NodeDefTextProps,\n NodeDefTextLayout,\n NodeDefTime,\n NodeDefTimeProps,\n NodeDefExpression,\n NodeDefMap,\n NodeDefService,\n NodeDefValidations,\n} from './nodeDef'\n\nexport {\n NodePointers,\n RecordCloner,\n RecordFactory,\n RecordFixer,\n Records,\n RECORD_STEP_DEFAULT,\n RecordExpressionEvaluator,\n RecordNodesUpdater,\n RecordPrettyPrinter,\n RecordUpdater,\n RecordUpdateResult,\n RecordValidator,\n RecordValidations,\n} from './record'\nexport type {\n AttributeValidatorParams,\n AttributesValidatorParams,\n NodeCreateParams,\n NodesUpdateParams,\n ArenaRecord,\n Record,\n RecordExpressionContext,\n RecordExpressionEvaluationContext,\n RecordService,\n RecordUpdateOptions,\n RecordValidatorParams,\n SortedAttributesValidatorParams,\n} from './record'\n\nexport { ServiceRegistry, ServiceType } from './registry'\nexport type { ServiceTypeMap } from './registry'\n\nexport { DEFAULT_SRS, DEFAULT_SRS_INDEX, SRSFactory } from './srs'\nexport type { SRS, SRSIndex } from './srs'\n\nexport {\n NodeDefsFixer,\n SurveyDocImages,\n SurveyDocImageFactory,\n SurveyDocPlace,\n SurveyDependencyType,\n SurveyFactory,\n SurveyFileFactory,\n SurveyFileType,\n SurveyRefDataFactory,\n SurveySecurityProp,\n Surveys,\n surveyDocImagePropKeys,\n surveySecurityDefaults,\n defaultCycle,\n} from './survey'\nexport type {\n Survey,\n SurveyCycle,\n SurveyDependency,\n SurveyDependencyGraph,\n SurveyDocImage,\n SurveyDocImageFactoryParams,\n SurveyDocImageProps,\n SurveyFile,\n SurveyFileFactoryParams,\n SurveyFileProps,\n SurveyProps,\n SurveyRefData,\n SurveySecurity,\n SurveyService,\n} from './survey'\n\nexport { Taxa, Taxonomies, TaxonomyFactory, TaxonFactory, TaxonGenerator, VernacularNameFactory } from './taxonomy'\nexport type {\n VernacularNameParams,\n TaxonomyFactoryParams,\n TaxonFactoryParams,\n Taxonomy,\n TaxonomyService,\n VernacularNameProps,\n VernacularName,\n TaxonProps,\n Taxon,\n TaxonomyProps,\n TaxonService,\n} from './taxonomy'\n\nexport { SurveyBuilder, SurveyObjectBuilders } from './tests/builder/surveyBuilder'\nexport { RecordBuilder, RecordNodeBuilders } from './tests/builder/recordBuilder'\n\nexport {\n Arrays,\n DateFormats,\n Dates,\n FileNames,\n FileProcessor,\n Numbers,\n Objects,\n Promises,\n Queue,\n RetryProcessor,\n Strings,\n UnitOfTime,\n UUIDs,\n Versions,\n} from './utils'\n\nexport type { FileProcessorConstructorArgs, MutationOptions, ParsedVersion } from './utils'\n\nexport {\n FieldValidators,\n ValidationFactory,\n ValidationResultFactory,\n ValidationResults,\n Validations,\n ValidationSeverity,\n Validator,\n ValidatorErrorKeys,\n} from './validation'\nexport type {\n DissocFieldValidationOptions,\n FieldValidator,\n Validation,\n ValidationFields,\n ValidationResult,\n ValidationCounts,\n} from './validation'\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAEA,+BAAyG;AAAhG,kGAAA,UAAU,OAAA;AAAE,qGAAA,aAAa,OAAA;AAAE,kGAAA,UAAU,OAAA;AAAE,kGAAA,UAAU,OAAA;AAAE,iGAAA,SAAS,OAAA;AAAE,mGAAA,WAAW,OAAA;AAAE,6FAAA,KAAK,OAAA;AAwBzF,uCAAiH;AAAxG,2GAAA,eAAe,OAAA;AAAE,oHAAA,wBAAwB,OAAA;AAAE,+GAAA,mBAAmB,OAAA;AAAE,gHAAA,oBAAoB,OAAA;AAe7F,uCAAsD;AAA7C,sGAAA,UAAU,OAAA;AAAE,yGAAA,aAAa,OAAA;AAElC,iCAA4E;AAAnE,qGAAA,YAAY,OAAA;AAAE,wGAAA,eAAe,OAAA;AAAE,4GAAA,mBAAmB,OAAA;AAY3D,mCAAyC;AAAhC,wGAAA,cAAc,OAAA;AAIvB,2CAUqB;AATnB,0HAAA,4BAA4B,OAAA;AAC5B,kHAAA,oBAAoB,OAAA;AACpB,2GAAA,aAAa,OAAA;AACb,iHAAA,mBAAmB,OAAA;AACnB,0HAAA,4BAA4B,OAAA;AAC5B,6GAAA,eAAe,OAAA;AACf,oHAAA,sBAAsB,OAAA;AACtB,6GAAA,eAAe,OAAA;AACf,sHAAA,wBAAwB,OAAA;AAG1B,yCAA+D;AAAtD,0GAAA,aAA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M,OAAA;AACN,oGAAA,WAAW,OAAA;AACX,8FAAA,KAAK,OAAA;AACL,kGAAA,SAAS,OAAA;AACT,sGAAA,aAAa,OAAA;AACb,gGAAA,OAAO,OAAA;AACP,gGAAA,OAAO,OAAA;AACP,iGAAA,QAAQ,OAAA;AACR,8FAAA,KAAK,OAAA;AACL,uGAAA,cAAc,OAAA;AACd,gGAAA,OAAO,OAAA;AACP,mGAAA,UAAU,OAAA;AACV,8FAAA,KAAK,OAAA;AACL,iGAAA,QAAQ,OAAA;AAKV,2CASqB;AARnB,6GAAA,eAAe,OAAA;AACf,+GAAA,iBAAiB,OAAA;AACjB,qHAAA,uBAAuB,OAAA;AACvB,+GAAA,iBAAiB,OAAA;AACjB,yGAAA,WAAW,OAAA;AACX,gHAAA,kBAAkB,OAAA;AAClB,uGAAA,SAAS,OAAA;AACT,gHAAA,kBAAkB,OAAA","sourcesContent":["export type { AppInfo } from './app'\n\nexport { Authorizer, AuthGroupName, UserStatus, Permission, UserTitle, UserFactory, Users } from './auth'\nexport type {\n AuthGroup,\n User,\n UserAuthGroup,\n UserAuthGroupProps,\n AuthToken,\n UserAuthTokenPayload,\n UserAuthTokenService,\n UserPrefs,\n UserPrefSurveys,\n UserProps,\n UserAuthRefreshToken,\n UserAuthRefreshTokenProps,\n UserAuthRefreshTokenPayload,\n UserService,\n UserTokenPayload,\n DownloadAuthTokenPayload,\n UserGroup,\n UserGroupProps,\n UserGroupQualifier,\n UserInvitation,\n} from './auth'\n\nexport { CategoryFactory, CategoryImportColumnType, CategoryItemFactory, CategoryLevelFactory } from './category'\nexport type {\n CategoryItemProps,\n Category,\n CategoryItem,\n CategoryLevel,\n CategoryLevelProps,\n CategoryImportSummary,\n CategoryImportSummaryColumn,\n CategoryItemService,\n CategoryLevelService,\n CategoryProps,\n CategoryService,\n} from './category'\n\nexport { Categories, CategoryItems } from './category'\n\nexport { ChainFactory, ChainStatusExec, ChainNodeDefFactory } from './chain'\nexport type {\n Chain,\n ChainProps,\n ChainService,\n ChainNodeDef,\n ChainNodeDefProps,\n ChainNodeDefService,\n ChainNodeDefAggregate,\n ChainNodeDefAggregateProps,\n} from './chain'\n\nexport { TraverseMethod } from './common'\nexport type { ArenaObject, ArenaService, Dictionary, Factory, I18n } from './common'\n\nexport type { FlatDataExportOptions, ArenaExportInfoFactoryParams, ArenaExportInfo } from './dataExport'\nexport {\n FlatDataExportDefaultOptions,\n FlatDataExportOption,\n FlatDataFiles,\n FlatDataExportModel,\n FlatDataExportColumnDataType,\n ArenaExportFile,\n ArenaExportInfoFactory,\n ArenaExportType,\n UniqueFileNamesGenerator,\n} from './dataExport'\n\nexport { DataQueryMode, DataQuerySummaries } from './dataQuery'\nexport type { DataQuery, DataQuerySummary, DataQuerySummaryProps } from './dataQuery'\n\nexport { SystemError, SystemErrorKeys } from './error'\n\nexport {\n ExpressionNodeType,\n ExpressionNodeEvaluator,\n ExpressionVariable,\n JavascriptExpressionEvaluator,\n JavascriptExpressionParser,\n} from './expression'\nexport type {\n ArrayExpression,\n BinaryExpression,\n CallExpression,\n CompoundExpression,\n ConditionalExpression,\n ExpressionContext,\n ExpressionEvaluator,\n ExpressionFunction,\n ExpressionFunctions,\n AnyExpressionNode,\n ExpressionNode,\n ExpressionNodeEvaluatorConstructor,\n MemberExpression,\n IdentifierExpression,\n LiteralExpression,\n SequenceExpression,\n ThisExpression,\n UnaryExpression,\n} from './expression'\n\nexport { ExtraPropDataType, ExtraPropsDataGenerator } from './extraProp'\nexport type { ExtraPropDef, ExtraPropDefs } from './extraProp'\n\nexport { PointFactory, Points } from './geo'\nexport type { AreaOfInterest, Point } from './geo'\n\nexport { JobBase, JobEventType, JobStatus } from './job'\nexport type { Job, JobContext, JobEvent, JobSerialized, JobTxClient } from './job'\n\nexport { LanguageCode, Languages, LanguagesISO639part2 } from './language'\nexport type { Labels } from './language'\n\nexport type { Logger } from './logger'\n\nexport type { Message } from './message'\nexport { MessageNotificationType, MessagePropsKey, MessageStatus, MessageTargetUserType, Messages } from './message'\n\nexport { NodeFactory, NodeKeys, NodeMetaKeys, Nodes, NodeValueFormatter, NodeValues } from './node'\nexport type {\n ArenaRecordNode,\n Node,\n NodeMeta,\n NodePointer,\n NodeRefData,\n NodeService,\n NodesMap,\n NodeValueCode,\n NodeValueCoordinate,\n NodeValueFile,\n NodeValueTaxon,\n} from './node'\n\nexport {\n NodeDefCountType,\n NodeDefType,\n NodeDefFactory,\n NodeDefs,\n NodeDefEntityRenderType,\n NodeDefFileType,\n NodeDefTextInputType,\n NodeDefTextRenderType,\n FormHeaderColor,\n} from './nodeDef'\n\nexport { NodeDefExpressionEvaluator, NodeDefExpressionValidator } from './nodeDefExpressionEvaluator'\nexport type { CategoryItemProvider, TaxonProvider } from './nodeDefExpressionEvaluator'\n\nexport type {\n NodeDef,\n NodeDefLayout,\n NodeDefMeta,\n NodeDefProps,\n NodeDefPropsWithLayout,\n NodeDefBoolean,\n NodeDefBooleanProps,\n NodeDefCode,\n NodeDefCodeLayout,\n NodeDefCodeProps,\n NodeDefCoordinate,\n NodeDefCoordinateProps,\n NodeDefDate,\n NodeDefDecimal,\n NodeDefDecimalProps,\n NodeDefEntity,\n NodeDefEntityChildPosition,\n NodeDefEntityLayout,\n NodeDefEntityProps,\n NodeDefPrintOrientation,\n NodeDefFile,\n NodeDefFileProps,\n NodeDefGeo,\n NodeDefGeoProps,\n NodeDefFormHeader,\n NodeDefFormHeaderProps,\n NodeDefInteger,\n NodeDefPropsAdvanced,\n NodeDefTaxon,\n NodeDefTaxonProps,\n NodeDefText,\n NodeDefTextProps,\n NodeDefTextLayout,\n NodeDefTime,\n NodeDefTimeProps,\n NodeDefExpression,\n NodeDefMap,\n NodeDefService,\n NodeDefValidations,\n} from './nodeDef'\n\nexport {\n NodePointers,\n RecordCloner,\n RecordFactory,\n RecordFixer,\n Records,\n RECORD_STEP_DEFAULT,\n RecordExpressionEvaluator,\n RecordNodesUpdater,\n RecordPrettyPrinter,\n RecordUpdater,\n RecordUpdateResult,\n RecordValidator,\n RecordValidations,\n} from './record'\nexport type {\n AttributeValidatorParams,\n AttributesValidatorParams,\n NodeCreateParams,\n NodesUpdateParams,\n ArenaRecord,\n Record,\n RecordExpressionContext,\n RecordExpressionEvaluationContext,\n RecordService,\n RecordUpdateOptions,\n RecordValidatorParams,\n SortedAttributesValidatorParams,\n} from './record'\n\nexport { ServiceRegistry, ServiceType } from './registry'\nexport type { ServiceTypeMap } from './registry'\n\nexport { DEFAULT_SRS, DEFAULT_SRS_INDEX, SRSFactory } from './srs'\nexport type { SRS, SRSIndex } from './srs'\n\nexport {\n NodeDefsFixer,\n SurveyDocImages,\n SurveyDocImageFactory,\n SurveyDocPlace,\n SurveyDependencyType,\n SurveyFactory,\n SurveyFileFactory,\n SurveyFileType,\n SurveyRefDataFactory,\n SurveySecurityProp,\n Surveys,\n surveyDocImagePropKeys,\n surveySecurityDefaults,\n defaultCycle,\n} from './survey'\nexport type {\n Survey,\n SurveyCycle,\n SurveyDependency,\n SurveyDependencyGraph,\n SurveyDocImage,\n SurveyDocImageFactoryParams,\n SurveyDocImageProps,\n SurveyFile,\n SurveyFileFactoryParams,\n SurveyFileProps,\n SurveyProps,\n SurveyRefData,\n SurveySecurity,\n SurveyService,\n} from './survey'\n\nexport { Taxa, Taxonomies, TaxonomyFactory, TaxonFactory, TaxonGenerator, VernacularNameFactory } from './taxonomy'\nexport type {\n VernacularNameParams,\n TaxonomyFactoryParams,\n TaxonFactoryParams,\n Taxonomy,\n TaxonomyService,\n VernacularNameProps,\n VernacularName,\n TaxonProps,\n Taxon,\n TaxonomyProps,\n TaxonService,\n} from './taxonomy'\n\nexport { SurveyBuilder, SurveyObjectBuilders } from './tests/builder/surveyBuilder'\nexport { RecordBuilder, RecordNodeBuilders } from './tests/builder/recordBuilder'\n\nexport {\n Arrays,\n DateFormats,\n Dates,\n FileNames,\n FileProcessor,\n Numbers,\n Objects,\n Promises,\n Queue,\n RetryProcessor,\n Strings,\n UnitOfTime,\n UUIDs,\n Versions,\n} from './utils'\n\nexport type { FileProcessorConstructorArgs, MutationOptions, ParsedVersion } from './utils'\n\nexport {\n FieldValidators,\n ValidationFactory,\n ValidationResultFactory,\n ValidationResults,\n Validations,\n ValidationSeverity,\n Validator,\n ValidatorErrorKeys,\n} from './validation'\nexport type {\n DissocFieldValidationOptions,\n FieldValidator,\n Validation,\n ValidationFields,\n ValidationResult,\n ValidationCounts,\n} from './validation'\n"]}
|