zenodo 1.0.2 → 3.0.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.
Files changed (89) hide show
  1. package/README.md +60 -0
  2. package/lib/Zenodo.d.ts +91 -0
  3. package/lib/Zenodo.d.ts.map +1 -0
  4. package/lib/Zenodo.js +186 -0
  5. package/lib/Zenodo.js.map +1 -0
  6. package/lib/ZenodoAuthenticationStates.d.ts +21 -0
  7. package/lib/ZenodoAuthenticationStates.d.ts.map +1 -0
  8. package/lib/ZenodoAuthenticationStates.js +20 -0
  9. package/lib/ZenodoAuthenticationStates.js.map +1 -0
  10. package/lib/ZenodoFile.d.ts +9 -0
  11. package/lib/ZenodoFile.d.ts.map +1 -0
  12. package/lib/ZenodoFile.js +22 -0
  13. package/lib/ZenodoFile.js.map +1 -0
  14. package/lib/depositions/Deposition.d.ts +98 -0
  15. package/lib/depositions/Deposition.d.ts.map +1 -0
  16. package/lib/depositions/Deposition.js +224 -0
  17. package/lib/depositions/Deposition.js.map +1 -0
  18. package/lib/depositions/ListDepositionsOptions.d.ts +34 -0
  19. package/lib/depositions/ListDepositionsOptions.d.ts.map +1 -0
  20. package/lib/depositions/ListDepositionsOptions.js +2 -0
  21. package/lib/depositions/ListDepositionsOptions.js.map +1 -0
  22. package/lib/depositions/Record.d.ts +10 -0
  23. package/lib/depositions/Record.d.ts.map +1 -0
  24. package/lib/depositions/Record.js +19 -0
  25. package/lib/depositions/Record.js.map +1 -0
  26. package/lib/fetchZenodo.d.ts +55 -0
  27. package/lib/fetchZenodo.d.ts.map +1 -0
  28. package/lib/fetchZenodo.js +233 -0
  29. package/lib/fetchZenodo.js.map +1 -0
  30. package/lib/index.d.ts +4 -0
  31. package/lib/index.d.ts.map +1 -0
  32. package/lib/index.js +4 -0
  33. package/lib/index.js.map +1 -0
  34. package/lib/responseStatuses.d.ts +8 -0
  35. package/lib/responseStatuses.d.ts.map +1 -0
  36. package/lib/responseStatuses.js +68 -0
  37. package/lib/responseStatuses.js.map +1 -0
  38. package/lib/utilities/ZenodoDepositionSchema.d.ts +473 -0
  39. package/lib/utilities/ZenodoDepositionSchema.d.ts.map +1 -0
  40. package/lib/utilities/ZenodoDepositionSchema.js +80 -0
  41. package/lib/utilities/ZenodoDepositionSchema.js.map +1 -0
  42. package/lib/utilities/ZenodoFileSchema.d.ts +39 -0
  43. package/lib/utilities/ZenodoFileSchema.d.ts.map +1 -0
  44. package/lib/utilities/ZenodoFileSchema.js +37 -0
  45. package/lib/utilities/ZenodoFileSchema.js.map +1 -0
  46. package/lib/utilities/ZenodoMetadataSchema.d.ts +400 -0
  47. package/lib/utilities/ZenodoMetadataSchema.d.ts.map +1 -0
  48. package/lib/utilities/ZenodoMetadataSchema.js +602 -0
  49. package/lib/utilities/ZenodoMetadataSchema.js.map +1 -0
  50. package/lib/utilities/ZenodoRecordSchema.d.ts +544 -0
  51. package/lib/utilities/ZenodoRecordSchema.d.ts.map +1 -0
  52. package/lib/utilities/ZenodoRecordSchema.js +70 -0
  53. package/lib/utilities/ZenodoRecordSchema.js.map +1 -0
  54. package/lib/utilities/ZenodoReviewSchema.d.ts +112 -0
  55. package/lib/utilities/ZenodoReviewSchema.d.ts.map +1 -0
  56. package/lib/utilities/ZenodoReviewSchema.js +80 -0
  57. package/lib/utilities/ZenodoReviewSchema.js.map +1 -0
  58. package/lib/utilities/licensesEnum.d.ts +4 -0
  59. package/lib/utilities/licensesEnum.d.ts.map +1 -0
  60. package/lib/utilities/licensesEnum.js +449 -0
  61. package/lib/utilities/licensesEnum.js.map +1 -0
  62. package/lib/utilities/schemaValidation.d.ts +50 -0
  63. package/lib/utilities/schemaValidation.d.ts.map +1 -0
  64. package/lib/utilities/schemaValidation.js +124 -0
  65. package/lib/utilities/schemaValidation.js.map +1 -0
  66. package/lib/utilities/zipFiles.d.ts +9 -0
  67. package/lib/utilities/zipFiles.d.ts.map +1 -0
  68. package/lib/utilities/zipFiles.js +28 -0
  69. package/lib/utilities/zipFiles.js.map +1 -0
  70. package/package.json +41 -8
  71. package/src/Zenodo.ts +238 -0
  72. package/src/ZenodoAuthenticationStates.ts +22 -0
  73. package/src/ZenodoFile.ts +26 -0
  74. package/src/depositions/Deposition.ts +272 -0
  75. package/src/depositions/ListDepositionsOptions.ts +38 -0
  76. package/src/depositions/Record.ts +25 -0
  77. package/src/fetchZenodo.ts +439 -0
  78. package/src/index.ts +5 -0
  79. package/src/responseStatuses.ts +85 -0
  80. package/src/utilities/ZenodoDepositionSchema.ts +90 -0
  81. package/src/utilities/ZenodoFileSchema.ts +40 -0
  82. package/src/utilities/ZenodoMetadataSchema.ts +608 -0
  83. package/src/utilities/ZenodoRecordSchema.ts +75 -0
  84. package/src/utilities/ZenodoReviewSchema.ts +84 -0
  85. package/src/utilities/licensesEnum.ts +448 -0
  86. package/src/utilities/schemaValidation.ts +150 -0
  87. package/src/utilities/zipFiles.ts +36 -0
  88. package/History.md +0 -73
  89. package/src/index.js +0 -171
@@ -0,0 +1,70 @@
1
+ import { zenodoDepositionSchema } from "./ZenodoDepositionSchema.js";
2
+ const modifiedDepositionSchema = {
3
+ ...zenodoDepositionSchema,
4
+ additionalProperties: true, // Change this to match the record schema
5
+ properties: {
6
+ ...zenodoDepositionSchema.properties,
7
+ record_id: {
8
+ type: 'integer',
9
+ description: 'Record identifier. Present only for published depositions.',
10
+ },
11
+ },
12
+ };
13
+ export const zenodoRecordSchema = {
14
+ $schema: 'http://json-schema.org/draft-07/schema#',
15
+ title: 'ZenodoRecord',
16
+ allOf: [
17
+ modifiedDepositionSchema,
18
+ {
19
+ type: 'object',
20
+ required: [],
21
+ properties: {
22
+ recid: { type: 'string' },
23
+ updated: { type: 'string', format: 'date-time' },
24
+ revision: { type: 'number' },
25
+ swh: {
26
+ type: 'object',
27
+ additionalProperties: true, // structure is not known
28
+ },
29
+ owners: {
30
+ type: 'array',
31
+ items: {
32
+ type: 'object',
33
+ properties: {
34
+ id: { type: 'string' },
35
+ },
36
+ required: ['id'],
37
+ additionalProperties: false,
38
+ },
39
+ },
40
+ status: { type: 'string' },
41
+ stats: {
42
+ type: 'object',
43
+ properties: {
44
+ downloads: { type: 'number' },
45
+ unique_downloads: { type: 'number' },
46
+ views: { type: 'number' },
47
+ unique_views: { type: 'number' },
48
+ version_downloads: { type: 'number' },
49
+ version_unique_downloads: { type: 'number' },
50
+ version_views: { type: 'number' },
51
+ version_unique_views: { type: 'number' },
52
+ },
53
+ required: [
54
+ 'downloads',
55
+ 'unique_downloads',
56
+ 'views',
57
+ 'unique_views',
58
+ 'version_downloads',
59
+ 'version_unique_downloads',
60
+ 'version_views',
61
+ 'version_unique_views',
62
+ ],
63
+ additionalProperties: false,
64
+ },
65
+ },
66
+ additionalProperties: true,
67
+ },
68
+ ],
69
+ };
70
+ //# sourceMappingURL=ZenodoRecordSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZenodoRecordSchema.js","sourceRoot":"","sources":["../../src/utilities/ZenodoRecordSchema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,MAAM,wBAAwB,GAAG;IAC/B,GAAG,sBAAsB;IACzB,oBAAoB,EAAE,IAAI,EAAE,yCAAyC;IACrE,UAAU,EAAE;QACV,GAAG,sBAAsB,CAAC,UAAU;QACpC,SAAS,EAAE;YACT,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4DAA4D;SAC1E;KACF;CACO,CAAC;AAEX,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,OAAO,EAAE,yCAAyC;IAClD,KAAK,EAAE,cAAc;IACrB,KAAK,EAAE;QACL,wBAAwB;QACxB;YACE,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,EAAE;YACZ,UAAU,EAAE;gBACV,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACzB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE;gBAChD,QAAQ,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ema.org/draft-07/schema#";
4
+ readonly title: "ZenodoReview";
5
+ readonly type: "object";
6
+ readonly properties: {
7
+ readonly id: {
8
+ readonly type: "number";
9
+ };
10
+ readonly created: {
11
+ readonly type: "string";
12
+ readonly format: "date-time";
13
+ };
14
+ readonly updated: {
15
+ readonly type: "string";
16
+ readonly format: "date-time";
17
+ };
18
+ readonly links: {
19
+ readonly type: "object";
20
+ readonly properties: {
21
+ readonly actions: {
22
+ readonly type: "object";
23
+ readonly properties: {
24
+ readonly accept: {
25
+ readonly type: "string";
26
+ };
27
+ readonly decline: {
28
+ readonly type: "string";
29
+ };
30
+ readonly cancel: {
31
+ readonly type: "string";
32
+ };
33
+ readonly submit: {
34
+ readonly type: "string";
35
+ };
36
+ };
37
+ readonly additionalProperties: false;
38
+ };
39
+ readonly self: {
40
+ readonly type: "string";
41
+ };
42
+ readonly self_html: {
43
+ readonly type: "string";
44
+ };
45
+ readonly comments: {
46
+ readonly type: "string";
47
+ };
48
+ readonly timeline: {
49
+ readonly type: "string";
50
+ };
51
+ };
52
+ readonly required: readonly ["self", "self_html", "comments", "timeline"];
53
+ readonly additionalProperties: false;
54
+ };
55
+ readonly revision_id: {
56
+ readonly type: "number";
57
+ };
58
+ readonly type: {
59
+ readonly type: "string";
60
+ };
61
+ readonly status: {
62
+ readonly type: "string";
63
+ };
64
+ readonly is_closed: {
65
+ readonly type: "boolean";
66
+ };
67
+ readonly is_open: {
68
+ readonly type: "boolean";
69
+ };
70
+ readonly expires_at: {
71
+ readonly type: "string";
72
+ readonly format: "date-time";
73
+ };
74
+ readonly is_expired: {
75
+ readonly type: "boolean";
76
+ };
77
+ readonly created_by: {
78
+ readonly type: "object";
79
+ readonly properties: {
80
+ readonly user: {
81
+ readonly type: "string";
82
+ };
83
+ };
84
+ readonly required: readonly ["user"];
85
+ readonly additionalProperties: false;
86
+ };
87
+ readonly receiver: {
88
+ readonly type: "object";
89
+ readonly properties: {
90
+ readonly community: {
91
+ readonly type: "string";
92
+ };
93
+ };
94
+ readonly required: readonly ["community"];
95
+ readonly additionalProperties: false;
96
+ };
97
+ readonly topic: {
98
+ readonly type: "object";
99
+ readonly properties: {
100
+ readonly record: {
101
+ readonly type: "string";
102
+ };
103
+ };
104
+ readonly required: readonly ["record"];
105
+ readonly additionalProperties: false;
106
+ };
107
+ };
108
+ readonly required: readonly ["id", "created", "updated", "links", "revision_id", "type", "status", "is_closed", "is_open", "expires_at", "is_expired", "created_by", "receiver", "topic"];
109
+ readonly additionalProperties: false;
110
+ };
111
+ export type ZenodoReview = FromSchema<typeof ZenodoReviewSchema>;
112
+ //# sourceMappingURL=ZenodoReviewSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZenodoReviewSchema.d.ts","sourceRoot":"","sources":["../../src/utilities/ZenodoReviewSchema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8ErB,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -0,0 +1,80 @@
1
+ export const ZenodoReviewSchema = {
2
+ $schema: 'http://json-schema.org/draft-07/schema#',
3
+ title: 'ZenodoReview',
4
+ type: 'object',
5
+ properties: {
6
+ id: { type: 'number' },
7
+ created: { type: 'string', format: 'date-time' },
8
+ updated: { type: 'string', format: 'date-time' },
9
+ links: {
10
+ type: 'object',
11
+ properties: {
12
+ actions: {
13
+ type: 'object',
14
+ properties: {
15
+ accept: { type: 'string' },
16
+ decline: { type: 'string' },
17
+ cancel: { type: 'string' },
18
+ submit: { type: 'string' }, // Only appears in the record/review endpoint but is not accessible (probably a bug)
19
+ },
20
+ additionalProperties: false,
21
+ },
22
+ self: { type: 'string' },
23
+ self_html: { type: 'string' },
24
+ comments: { type: 'string' },
25
+ timeline: { type: 'string' },
26
+ },
27
+ required: ['self', 'self_html', 'comments', 'timeline'],
28
+ additionalProperties: false,
29
+ },
30
+ revision_id: { type: 'number' },
31
+ type: { type: 'string' },
32
+ status: { type: 'string' },
33
+ is_closed: { type: 'boolean' },
34
+ is_open: { type: 'boolean' },
35
+ expires_at: { type: 'string', format: 'date-time' },
36
+ is_expired: { type: 'boolean' },
37
+ created_by: {
38
+ type: 'object',
39
+ properties: {
40
+ user: { type: 'string' },
41
+ },
42
+ required: ['user'],
43
+ additionalProperties: false,
44
+ },
45
+ receiver: {
46
+ type: 'object',
47
+ properties: {
48
+ community: { type: 'string' },
49
+ },
50
+ required: ['community'],
51
+ additionalProperties: false,
52
+ },
53
+ topic: {
54
+ type: 'object',
55
+ properties: {
56
+ record: { type: 'string' },
57
+ },
58
+ required: ['record'],
59
+ additionalProperties: false,
60
+ },
61
+ },
62
+ required: [
63
+ 'id',
64
+ 'created',
65
+ 'updated',
66
+ 'links',
67
+ 'revision_id',
68
+ 'type',
69
+ 'status',
70
+ 'is_closed',
71
+ 'is_open',
72
+ 'expires_at',
73
+ 'is_expired',
74
+ 'created_by',
75
+ 'receiver',
76
+ 'topic',
77
+ ],
78
+ additionalProperties: false,
79
+ };
80
+ //# sourceMappingURL=ZenodoReviewSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZenodoReviewSchema.js","sourceRoot":"","sources":["../../src/utilities/ZenodoReviewSchema.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,OAAO,EAAE,yCAAyC;IAClD,KAAK,EAAE,cAAc;IACrB,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QACtB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE;QAChD,OAAO,EAAE,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E;aACzB;YACD,QAAQ,EAAE,CAAC,MAAM,CAAC;YAClB,oBAAoB,EAAE,KAAK;SAC5B;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;aAC9B;YACD,QAAQ,EAAE,CAAC,WAAW,CAAC;YACvB,oBAAoB,EAAE,KAAK;SAC5B;QACD,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;aAC3B;YACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;YACpB,oBAAoB,EAAE,KAAK;SAC5B;KACF;IACD,QAAQ,EAAE;QACR,IAAI;QACJ,SAAS;QACT,SAAS;QACT,OAAO;QACP,aAAa;QACb,MAAM;QACN,QAAQ;QACR,WAAW;QACX,SAAS;QACT,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,UAAU;QACV,OAAO;KACR;IACD,oBAAoB,EAAE,KAAK;CACnB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const licenseEnum: {
2
+ readonly enum: readonly ["glide", "amdplpa", "antlr-pd", "antlr-pd-fallback", "abstyles", "afl-1.1", "afl-1.2", "afl-2.0", "afl-2.1", "afl-3.0", "ampas", "apl-1.0", "adobe-glyph", "apafml", "adobe-2006", "agpl-1.0-only", "agpl-1.0-or-later", "afmparse", "against-drm", "aladdin", "adsl", "apache-1.0", "apache-1.1", "apache-2.0", "aml", "apsl-1.0", "apsl-1.1", "apsl-1.2", "apsl-2.0", "artistic-1.0", "artistic-1.0-perl", "artistic-1.0-cl8", "artistic-2.0", "aal", "bsd-1-clause", "bsd-2-clause", "bsd-2-clause-views", "bsd-3-clause", "bsd-3-clause-clear", "bsd-3-clause-no-nuclear-license", "bsd-3-clause-no-nuclear-license-2014", "bsd-3-clause-no-nuclear-warranty", "bsd-3-clause-open-mpi", "bsd-4-clause", "bsd-protection", "bsd-source-code", "0bsd", "bsd-3-clause-attribution", "bsd-2-clause-patent", "bsd-4-clause-uc", "bahyph", "barr", "beerware", "bittorrent-1.0", "bittorrent-1.1", "blueoak-1.0.0", "bsl-1.0", "borceux", "busl-1.1", "cern-ohl-p-2.0", "cern-ohl-s-2.0", "cern-ohl-w-2.0", "cern-ohl-1.1", "cern-ohl-1.2", "mit-cmu", "cnri-jython", "cnri-python", "cnri-python-gpl-compatible", "cua-opl-1.0", "caldera", "cecill-1.0", "cecill-1.1", "cecill-2.0", "cecill-2.1", "cecill-b", "cecill-c", "clartistic", "cpol-1.02", "cddl-1.0", "cddl-1.1", "cpal-1.0", "cpl-1.0", "cdla-permissive-1.0", "cdla-sharing-1.0", "catosl-1.1", "condor-1.1", "cc-by-1.0", "cc-by-2.0", "cc-by-2.5", "cc-by-3.0-at", "cc-by-3.0-us", "cc-by-3.0", "cc-by-4.0", "cc-by-nd-1.0", "cc-by-nd-2.0", "cc-by-nd-2.5", "cc-by-nd-3.0", "cc-by-nd-4.0", "cc-by-nc-1.0", "cc-by-nc-2.0", "cc-by-nc-2.5", "cc-by-nc-3.0", "cc-by-nc-4.0", "cc-by-nc-nd-1.0", "cc-by-nc-nd-2.0", "cc-by-nc-nd-2.5", "cc-by-nc-nd-3.0-igo", "cc-by-nc-nd-3.0", "cc-by-nc-nd-4.0", "cc-by-nc-sa-1.0", "cc-by-nc-sa-2.0", "cc-by-nc-sa-2.5", "cc-by-nc-sa-3.0", "cc-by-nc-sa-4.0", "cc-by-sa-1.0", "cc-by-sa-2.0-uk", "cc-by-sa-2.0", "cc-by-sa-2.5", "cc-by-sa-3.0", "cc-by-sa-4.0", "cc-by-sa-3.0-at", "cc-pddc", "cc0-1.0", "crossword", "cal-1.0", "cal-1.0-combined-work-exception", "crystalstacker", "cube", "doc", "dsdp", "dsl", "d-fsl-1.0", "wtfpl", "dotseqn", "epics", "eudatagrid", "epl-1.0", "epl-2.0", "ecl-1.0", "ecl-2.0", "efl-1.0", "efl-2.0", "mit-advertising", "entessa", "erlpl-1.1", "etalab-2.0", "eurofound", "eupl-1.0", "eupl-1.1", "eupl-1.2", "eurosym", "fsfap", "fsful", "fsfullr", "fair", "frameworx-1.0", "zenodo-freetoread-1.0", "freeimage", "ftl", "gl2ps", "agpl-3.0-only", "agpl-3.0-or-later", "gfdl-1.1-only", "gfdl-1.1-invariants-only", "gfdl-1.1-no-invariants-only", "gfdl-1.1-or-later", "gfdl-1.1-invariants-or-later", "gfdl-1.1-no-invariants-or-later", "gfdl-1.2-only", "gfdl-1.2-invariants-only", "gfdl-1.2-no-invariants-only", "gfdl-1.2-or-later", "gfdl-1.2-invariants-or-later", "gfdl-1.2-no-invariants-or-later", "gfdl-1.3-only", "gfdl-1.3-invariants-only", "gfdl-1.3-no-invariants-only", "gfdl-1.3-or-later", "gfdl-1.3-invariants-or-later", "gfdl-1.3-no-invariants-or-later", "gpl-1.0-only", "gpl-1.0-or-later", "gpl-2.0-only", "gpl-2.0-or-later", "gpl-3.0-only", "gpl-3.0-or-later", "lgpl-2.1-only", "lgpl-2.1-or-later", "lgpl-3.0-only", "lgpl-3.0-or-later", "lgpl-2.0-only", "lgpl-2.0-or-later", "geogratis", "giftware", "glulxe", "glwtpl", "htmltidy", "haskellreport", "hesa-withrights", "hippocratic-2.1", "hpnd", "hpnd-sell-variant", "ibm-pibs", "ipl-1.0", "icu", "ipa", "isc", "imagemagick", "imlib2", "ijg", "info-zip", "intel-acpi", "intel", "interbase-1.0", "user-jsim", "json", "jabber-osl", "jpnic", "jasper-2.0", "lppl-1.0", "lppl-1.1", "lppl-1.2", "lppl-1.3a", "lppl-1.3c", "latex2e", "bsd-3-clause-lbnl", "leptonica", "lgpllr", "lal-1.2", "lal-1.3", "liliq-p-1.1", "liliq-rplus-1.1", "liliq-r-1.1", "notspecified", "linux-openib", "localauth-withrights", "lucent-plan9", "lpl-1.0", "lpl-1.02", "mitnfa", "mit", "mit-0", "mit-open-group", "mitre", "makeindex", "mtll", "met-office-cp", "ms-pl", "ms-rl", "motosoto", "mpl-1.0", "mpl-1.1", "mpl-2.0", "mpl-2.0-no-copyleft-exception", "mulanpsl-1.0", "mulanpsl-2.0", "multics", "mup", "nasa-1.3", "nist-pd", "nist-pd-fallback", "nrl", "ntp", "ntp-0", "naumen", "nbpl-1.0", "net-snmp", "netcdf", "ngpl", "nosl", "npl-1.0", "npl-1.1", "newsletr", "geo-no-fee-unrestricted", "nlpl", "nokia", "ncgl-uk-2.0", "nposl-3.0", "nlod-1.0", "noweb", "oclc-2.0", "odbl-1.0", "pddl-1.0", "ogc-1.0", "oset-pl-2.1", "occt-pl", "odc-by-1.0", "ogl-canada-2.0", "ogl-uk-1.0", "ogl-uk-2.0", "ogl-uk-3.0", "ogtsl", "oldap-2.2.2", "oldap-1.1", "oldap-1.2", "oldap-1.3", "oldap-1.4", "oldap-2.0", "oldap-2.0.1", "oldap-2.1", "oldap-2.2", "oldap-2.2.1", "oldap-2.3", "oldap-2.4", "oldap-2.5", "oldap-2.6", "oldap-2.7", "oldap-2.8", "oml", "opl-1.0", "osl-1.0", "osl-1.1", "osl-2.0", "osl-2.1", "osl-3.0", "o-uda-1.0", "openssl", "other-at", "other-nc", "other-closed", "other-open", "other-pd", "php-3.0", "php-3.01", "libpng-2.0", "plexus", "polyform-noncommercial-1.0.0", "polyform-small-business-1.0.0", "postgresql", "python-2.0", "psf-2.0", "qpl-1.0", "qhull", "qtpl", "rsa-md", "rdisc", "rpsl-1.0", "rpl-1.1", "rpl-1.5", "rhecos-1.1", "rscpl", "ruby", "scea", "sgi-b-1.0", "sgi-b-1.1", "sgi-b-2.0", "ofl-1.0", "ofl-1.0-rfn", "ofl-1.0-no-rfn", "ofl-1.1", "ofl-1.1-rfn", "ofl-1.1-no-rfn", "snia", "blessing", "ssh-openssh", "ssh-short", "sax-pd", "saxpath", "swl", "smppl", "sendmail", "sendmail-8.23", "sspl-1.0", "simpl-2.0", "sleepycat", "shl-0.5", "shl-0.51", "spencer-86", "spencer-94", "spencer-99", "smlnj", "dli-model-use", "sugarcrm-1.1.3", "sissl", "sissl-1.2", "spl-1.0", "watcom-1.0", "tapr-ohl-1.0", "tcl", "tcp-wrappers", "tmate", "torque-1.1", "tu-berlin-1.0", "tu-berlin-2.0", "miros", "parity-6.0.0", "parity-7.0.0", "unlicense", "tosl", "ukclickusepsi", "ukcrown", "ukcrown-withrights", "ukpsi", "unicode-dfs-2015", "unicode-dfs-2016", "unicode-tou", "upl-1.0", "ncsa", "ucl-1.0", "vostrom", "vim", "vsl-1.0", "w3c-20150513", "w3c-19980720", "w3c", "wsuipa", "xnet", "x11", "xfree86-1.1", "xpp", "xskat", "xerox", "ypl-1.0", "ypl-1.1", "zed", "zend-2.0", "zimbra-1.3", "zimbra-1.4", "zpl-1.1", "zpl-2.0", "zpl-2.1", "bzip2-1.0.5", "bzip2-1.0.6", "copyleft-next-0.3.0", "copyleft-next-0.3.1", "curl", "diffmark", "dvipdfm", "egenix", "mit-enna", "mit-feh", "gsoap-1.3b", "gnuplot", "imatix", "libpng", "libselinux-1.0", "libtiff", "mpich2", "psfrag", "psutils", "wxwindows", "xinetd", "zlib", "zlib-acknowledgement"];
3
+ };
4
+ //# sourceMappingURL=licensesEnum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"licensesEnum.d.ts","sourceRoot":"","sources":["../../src/utilities/licensesEnum.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;CA+bd,CAAC"}