document-model 2.14.0 → 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/browser/cjs/document-model.js +2 -2
- package/dist/browser/cjs/document.js +3 -3
- package/dist/browser/cjs/index.js +2 -2
- package/dist/browser/cjs/internal/{creators-c2maywyy.js → creators-DJg3Kd1P.js} +353 -2
- package/dist/browser/cjs/internal/creators-DJg3Kd1P.js.map +1 -0
- package/dist/browser/cjs/internal/{index-DeM7OezK.js → index-CGExio27.js} +3 -3
- package/dist/browser/cjs/internal/{index-DeM7OezK.js.map → index-CGExio27.js.map} +1 -1
- package/dist/browser/cjs/internal/{index-DDUYrJUg.js → index-CQg4iLBq.js} +4 -4
- package/dist/browser/cjs/internal/index-CQg4iLBq.js.map +1 -0
- package/dist/{node/cjs/internal/index-Cdxqd-qQ.js → browser/cjs/internal/index-DcdJY5J3.js} +2 -2
- package/dist/browser/cjs/internal/index-DcdJY5J3.js.map +1 -0
- package/dist/browser/cjs/internal/{object-WukT1Feq.js → object-C3OfcOUa.js} +2 -2
- package/dist/browser/cjs/internal/{object-WukT1Feq.js.map → object-C3OfcOUa.js.map} +1 -1
- package/dist/browser/cjs/utils.js +1 -1
- package/dist/browser/es/document-model.js +2 -2
- package/dist/browser/es/document.js +3 -3
- package/dist/browser/es/index.js +2 -2
- package/dist/browser/es/internal/{creators-CkhiX4CP.js → creators-Dir4K_-h.js} +353 -2
- package/dist/browser/es/internal/creators-Dir4K_-h.js.map +1 -0
- package/dist/browser/es/internal/{index-CHpkSkeZ.js → index-BxCiP58y.js} +2 -2
- package/dist/browser/es/internal/index-BxCiP58y.js.map +1 -0
- package/dist/browser/es/internal/{index-BRVlDkPn.js → index-HlkIVQZ6.js} +3 -3
- package/dist/browser/es/internal/{index-BRVlDkPn.js.map → index-HlkIVQZ6.js.map} +1 -1
- package/dist/browser/es/internal/{index-uWY5kwkt.js → index-qYp7hG3r.js} +4 -4
- package/dist/browser/es/internal/index-qYp7hG3r.js.map +1 -0
- package/dist/browser/es/internal/{object-CJHsId9H.js → object-CzFSgK3q.js} +2 -2
- package/dist/browser/es/internal/{object-CJHsId9H.js.map → object-CzFSgK3q.js.map} +1 -1
- package/dist/browser/es/utils.js +1 -1
- package/dist/browser/src/document/schema/zod.d.ts +9 -27
- package/dist/browser/src/document/schema/zod.d.ts.map +1 -1
- package/dist/node/cjs/document-model.js +2 -2
- package/dist/node/cjs/document.js +3 -3
- package/dist/node/cjs/index.js +2 -2
- package/dist/node/cjs/internal/{creators-B5g3rJKI.js → creators-ZpkFlacS.js} +353 -2
- package/dist/node/cjs/internal/creators-ZpkFlacS.js.map +1 -0
- package/dist/{browser/cjs/internal/index-CTDPLYkV.js → node/cjs/internal/index-B9N2GsMZ.js} +2 -2
- package/dist/node/cjs/internal/index-B9N2GsMZ.js.map +1 -0
- package/dist/node/cjs/internal/{index-DHkzUhZg.js → index-ClITlWIV.js} +4 -4
- package/dist/node/cjs/internal/index-ClITlWIV.js.map +1 -0
- package/dist/node/cjs/internal/{index-CYhNqyfA.js → index-DVgdtYs7.js} +3 -3
- package/dist/node/cjs/internal/{index-CYhNqyfA.js.map → index-DVgdtYs7.js.map} +1 -1
- package/dist/node/cjs/internal/{object-CpAsa3Oe.js → object-DVKEoARn.js} +2 -2
- package/dist/node/cjs/internal/{object-CpAsa3Oe.js.map → object-DVKEoARn.js.map} +1 -1
- package/dist/node/cjs/utils.js +1 -1
- package/dist/node/es/document-model.js +2 -2
- package/dist/node/es/document.js +3 -3
- package/dist/node/es/index.js +2 -2
- package/dist/node/es/internal/{creators-B6tCK8Ir.js → creators-0lHfLHX0.js} +353 -2
- package/dist/node/es/internal/creators-0lHfLHX0.js.map +1 -0
- package/dist/node/es/internal/{index-CJxdcyKO.js → index-BOhJLvSm.js} +2 -2
- package/dist/node/es/internal/index-BOhJLvSm.js.map +1 -0
- package/dist/node/es/internal/{index-dVqoH-Pd.js → index-CxWihLAA.js} +3 -3
- package/dist/node/es/internal/{index-dVqoH-Pd.js.map → index-CxWihLAA.js.map} +1 -1
- package/dist/node/es/internal/{index-mUxH6TbI.js → index-bxdb71Hw.js} +4 -4
- package/dist/node/es/internal/index-bxdb71Hw.js.map +1 -0
- package/dist/node/es/internal/{object-Bj_Xyrvk.js → object-Bl-LmXHF.js} +2 -2
- package/dist/node/es/internal/{object-Bj_Xyrvk.js.map → object-Bl-LmXHF.js.map} +1 -1
- package/dist/node/es/utils.js +1 -1
- package/dist/node/src/document/schema/zod.d.ts +9 -27
- package/dist/node/src/document/schema/zod.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/browser/cjs/internal/creators-c2maywyy.js.map +0 -1
- package/dist/browser/cjs/internal/index-CTDPLYkV.js.map +0 -1
- package/dist/browser/cjs/internal/index-DDUYrJUg.js.map +0 -1
- package/dist/browser/es/internal/creators-CkhiX4CP.js.map +0 -1
- package/dist/browser/es/internal/index-CHpkSkeZ.js.map +0 -1
- package/dist/browser/es/internal/index-uWY5kwkt.js.map +0 -1
- package/dist/node/cjs/internal/creators-B5g3rJKI.js.map +0 -1
- package/dist/node/cjs/internal/index-Cdxqd-qQ.js.map +0 -1
- package/dist/node/cjs/internal/index-DHkzUhZg.js.map +0 -1
- package/dist/node/es/internal/creators-B6tCK8Ir.js.map +0 -1
- package/dist/node/es/internal/index-CJxdcyKO.js.map +0 -1
- package/dist/node/es/internal/index-mUxH6TbI.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const creators = require("./creators-
|
|
3
|
-
const object = require("./object-
|
|
4
|
-
const utils = require("./index-
|
|
2
|
+
const creators = require("./creators-DJg3Kd1P.js");
|
|
3
|
+
const object = require("./object-C3OfcOUa.js");
|
|
4
|
+
const utils = require("./index-DcdJY5J3.js");
|
|
5
5
|
const Document = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6
6
|
__proto__: null,
|
|
7
7
|
BaseDocument: object.BaseDocument,
|
|
@@ -16,4 +16,4 @@ const Document = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
|
|
|
16
16
|
z: creators.zod
|
|
17
17
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
18
18
|
exports.Document = Document;
|
|
19
|
-
//# sourceMappingURL=index-
|
|
19
|
+
//# sourceMappingURL=index-CQg4iLBq.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-CQg4iLBq.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const creators = require("./creators-
|
|
2
|
+
const creators = require("./creators-DJg3Kd1P.js");
|
|
3
3
|
const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
4
|
__proto__: null,
|
|
5
5
|
InvalidActionInputError: creators.InvalidActionInputError,
|
|
@@ -44,4 +44,4 @@ const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
|
|
|
44
44
|
verifyOperationSignature: creators.verifyOperationSignature
|
|
45
45
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
46
46
|
exports.index = index;
|
|
47
|
-
//# sourceMappingURL=index-
|
|
47
|
+
//# sourceMappingURL=index-DcdJY5J3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-DcdJY5J3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,7 +3,7 @@ var __defProp = Object.defineProperty;
|
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
5
|
require("mutative");
|
|
6
|
-
const creators = require("./creators-
|
|
6
|
+
const creators = require("./creators-DJg3Kd1P.js");
|
|
7
7
|
class BaseDocument {
|
|
8
8
|
/**
|
|
9
9
|
* Constructs a BaseDocument instance with an initial state.
|
|
@@ -180,4 +180,4 @@ function applyMixins(derivedCtor, constructors) {
|
|
|
180
180
|
}
|
|
181
181
|
exports.BaseDocument = BaseDocument;
|
|
182
182
|
exports.applyMixins = applyMixins;
|
|
183
|
-
//# sourceMappingURL=object-
|
|
183
|
+
//# sourceMappingURL=object-C3OfcOUa.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"object-
|
|
1
|
+
{"version":3,"file":"object-C3OfcOUa.js","sources":["../../../../src/document/object.ts"],"sourcesContent":["import { loadState, prune, redo, setName, undo } from \"./actions\";\nimport type { BaseAction } from \"./actions/types\";\nimport type { SignalDispatch } from \"./signal\";\nimport type {\n Action,\n AttachmentRef,\n Document,\n ExtendedState,\n OperationScope,\n Reducer,\n ReducerOptions,\n} from \"./types\";\nimport { loadFromFile, readOnly, saveToFile } from \"./utils\";\n\n/**\n * This is an abstract class representing a document and provides methods\n * for creating and manipulating documents.\n * @typeparam T - The type of data stored in the document.\n * @typeparam A - The type of action the document can take.\n */\nexport abstract class BaseDocument<T, A extends Action, L = unknown> {\n protected _document: Document<T, A, L>;\n private _reducer: Reducer<T, A, L>;\n private _signalDispatch?: SignalDispatch;\n\n /**\n * Constructs a BaseDocument instance with an initial state.\n * @param reducer - The reducer function that updates the state.\n * @param document - The initial state of the document.\n */\n constructor(\n reducer: Reducer<T, A, L>,\n document: Document<T, A, L>,\n signalDispatch?: SignalDispatch,\n ) {\n this._reducer = reducer;\n this._document = document;\n this._signalDispatch = signalDispatch;\n }\n\n /**\n * Dispatches an action to update the state of the document.\n * @param action - The action to dispatch.\n * @returns The Document instance.\n */\n protected dispatch(action: A | BaseAction, options?: ReducerOptions) {\n this._document = this._reducer(\n this._document,\n action,\n this._signalDispatch,\n options,\n );\n return this;\n }\n\n /**\n * Saves the state of the document to a file.\n * @param path - The file path where the state should be saved.\n * @param extension - The file extension to use when saving the state.\n * @returns The file path where the state was saved.\n */\n protected saveToFile(path: string, extension: string, name?: string) {\n return saveToFile(this._document, path, extension, name);\n }\n\n /**\n * Loads the state of the document from a file.\n * @param path - The file path where the state is stored.\n */\n async loadFromFile(path: string) {\n this._document = await loadFromFile<T, A, L>(path, this._reducer);\n }\n\n /**\n * Loads the state of the document from a file and returns it.\n * @param path - The file path where the state is stored.\n * @param reducer - The reducer function that updates the state.\n * @returns The state of the document.\n */\n protected static async stateFromFile<T, A extends Action, L>(\n path: string,\n reducer: Reducer<T, A, L>,\n ) {\n const state = await loadFromFile<T, A, L>(path, reducer);\n return state;\n }\n\n /**\n * Gets the current state of the document.\n */\n get state() {\n return readOnly(this._document.state);\n }\n\n /**\n * Gets the list of operations performed on the document.\n */\n get operations() {\n return readOnly(this._document.operations);\n }\n\n /**\n * Gets the name of the document.\n */\n get name() {\n return this._document.name;\n }\n\n /**\n * Gets the type of document.\n */\n get documentType() {\n return this._document.documentType;\n }\n\n /**\n * Gets the timestamp of the date the document was created.\n */\n get created() {\n return this._document.created;\n }\n\n /**\n * Gets the timestamp of the date the document was last modified.\n */\n get lastModified() {\n return this._document.lastModified;\n }\n\n /**\n * Gets the global revision number of the document.\n */\n get revision() {\n return this._document.revision.global;\n }\n\n getRevision(scope: OperationScope) {\n return this._document.revision[scope];\n }\n\n /**\n * Gets the initial state of the document.\n */\n get initialState() {\n return readOnly(this._document.initialState);\n }\n\n /**\n * Returns the current document as an object\n */\n public toDocument() {\n return readOnly(this._document);\n }\n\n /**\n * Gets the attachment associated with the given key.\n * @param attachment - The key of the attachment to retrieve.\n */\n public getAttachment(attachment: AttachmentRef) {\n return this._document.attachments[attachment];\n }\n\n /**\n * Sets the name of the document.\n * @param name - The new name of the document.\n */\n public setName(name: string) {\n this.dispatch(setName(name));\n return this;\n }\n\n /**\n * Reverts a number of actions from the document.\n * @param count - The number of actions to revert.\n */\n public undo(count: number) {\n this.dispatch(undo(count));\n return this;\n }\n\n /**\n * Reapplies a number of actions to the document.\n * @param count - The number of actions to reapply.\n */\n public redo(count: number) {\n this.dispatch(redo(count));\n return this;\n }\n /**\n * Removes a range of operations from the document.\n * @param start - The starting index of the range to remove.\n * @param end - The ending index of the range to remove.\n */\n public prune(start?: number | undefined, end?: number | undefined) {\n this.dispatch(prune(start, end));\n return this;\n }\n\n /**\n * Loads a document state and a set of operations.\n * @param state - The state to load.\n * @param operations - The operations to apply to the document.\n */\n public loadState(\n state: Pick<ExtendedState<T, L>, \"state\" | \"name\">,\n operations: number,\n ) {\n this.dispatch(loadState(state, operations));\n return this;\n }\n}\n/**\n * Applies multiple mixins to a base class.\n * Used to have separate mixins to group methods by actions.\n *\n * @remarks\n * {@link https://www.typescriptlang.org/docs/handbook/mixins.html#alternative-pattern}\n *\n * @param derivedCtor - The class to apply the mixins to.\n * @param constructors - The constructors of the mixins.\n */\n\nexport function applyMixins(derivedCtor: any, constructors: any[]) {\n constructors.forEach((baseCtor) => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n Object.getOwnPropertyNames(baseCtor.prototype).forEach((name) => {\n Object.defineProperty(\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n derivedCtor.prototype,\n name,\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access\n Object.getOwnPropertyDescriptor(baseCtor.prototype, name) ||\n Object.create(null),\n );\n });\n });\n}\n"],"names":["saveToFile","loadFromFile","readOnly","setName","undo","redo","prune","loadState"],"mappings":"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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const creators = require("./internal/creators-
|
|
3
|
+
const creators = require("./internal/creators-DJg3Kd1P.js");
|
|
4
4
|
exports.InvalidActionInputError = creators.InvalidActionInputError;
|
|
5
5
|
exports.InvalidActionInputZodError = creators.InvalidActionInputZodError;
|
|
6
6
|
exports.ab2hex = creators.ab2hex;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./internal/creators-
|
|
1
|
+
import "./internal/creators-Dir4K_-h.js";
|
|
2
2
|
import "mutative";
|
|
3
3
|
import "zod";
|
|
4
4
|
import "jszip";
|
|
5
|
-
import { b, a, c, d, m, r, u, v, g, h, f, e, z } from "./internal/index-
|
|
5
|
+
import { b, a, c, d, m, r, u, v, g, h, f, e, z } from "./internal/index-HlkIVQZ6.js";
|
|
6
6
|
export {
|
|
7
7
|
b as Document,
|
|
8
8
|
a as DocumentModel,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B, g, m, p, u, h, z } from "./internal/creators-
|
|
2
|
-
import { B as B2, a } from "./internal/object-
|
|
3
|
-
import { i } from "./internal/index-
|
|
1
|
+
import { B, g, m, p, u, h, z } from "./internal/creators-Dir4K_-h.js";
|
|
2
|
+
import { B as B2, a } from "./internal/object-CzFSgK3q.js";
|
|
3
|
+
import { i } from "./internal/index-BxCiP58y.js";
|
|
4
4
|
export {
|
|
5
5
|
B2 as BaseDocument,
|
|
6
6
|
B as actions,
|
package/dist/browser/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as Document } from "./internal/index-
|
|
2
|
-
import { D as DocumentModel } from "./internal/index-
|
|
1
|
+
import { D as Document } from "./internal/index-qYp7hG3r.js";
|
|
2
|
+
import { D as DocumentModel } from "./internal/index-HlkIVQZ6.js";
|
|
3
3
|
const DocumentModels = {
|
|
4
4
|
"powerhouse/document": Document,
|
|
5
5
|
"powerhouse/document-model": DocumentModel
|
|
@@ -1121,7 +1121,358 @@ class InvalidActionInputZodError extends InvalidActionInputError {
|
|
|
1121
1121
|
this.name = "InvalidActionInputZodError";
|
|
1122
1122
|
}
|
|
1123
1123
|
}
|
|
1124
|
-
const types = { "application/andrew-inset": ["ez"], "application/appinstaller": ["appinstaller"], "application/applixware": ["aw"], "application/appx": ["appx"], "application/appxbundle": ["appxbundle"], "application/atom+xml": ["atom"], "application/atomcat+xml": ["atomcat"], "application/atomdeleted+xml": ["atomdeleted"], "application/atomsvc+xml": ["atomsvc"], "application/atsc-dwd+xml": ["dwd"], "application/atsc-held+xml": ["held"], "application/atsc-rsat+xml": ["rsat"], "application/automationml-aml+xml": ["aml"], "application/automationml-amlx+zip": ["amlx"], "application/bdoc": ["bdoc"], "application/calendar+xml": ["xcs"], "application/ccxml+xml": ["ccxml"], "application/cdfx+xml": ["cdfx"], "application/cdmi-capability": ["cdmia"], "application/cdmi-container": ["cdmic"], "application/cdmi-domain": ["cdmid"], "application/cdmi-object": ["cdmio"], "application/cdmi-queue": ["cdmiq"], "application/cpl+xml": ["cpl"], "application/cu-seeme": ["cu"], "application/cwl": ["cwl"], "application/dash+xml": ["mpd"], "application/dash-patch+xml": ["mpp"], "application/davmount+xml": ["davmount"], "application/docbook+xml": ["dbk"], "application/dssc+der": ["dssc"], "application/dssc+xml": ["xdssc"], "application/ecmascript": ["ecma"], "application/emma+xml": ["emma"], "application/emotionml+xml": ["emotionml"], "application/epub+zip": ["epub"], "application/exi": ["exi"], "application/express": ["exp"], "application/fdf": ["fdf"], "application/fdt+xml": ["fdt"], "application/font-tdpfr": ["pfr"], "application/geo+json": ["geojson"], "application/gml+xml": ["gml"], "application/gpx+xml": ["gpx"], "application/gxf": ["gxf"], "application/gzip": ["gz"], "application/hjson": ["hjson"], "application/hyperstudio": ["stk"], "application/inkml+xml": ["ink", "inkml"], "application/ipfix": ["ipfix"], "application/its+xml": ["its"], "application/java-archive": ["jar", "war", "ear"], "application/java-serialized-object": ["ser"], "application/java-vm": ["class"], "application/javascript": ["*js"], "application/json": ["json", "map"], "application/json5": ["json5"], "application/jsonml+json": ["jsonml"], "application/ld+json": ["jsonld"], "application/lgr+xml": ["lgr"], "application/lost+xml": ["lostxml"], "application/mac-binhex40": ["hqx"], "application/mac-compactpro": ["cpt"], "application/mads+xml": ["mads"], "application/manifest+json": ["webmanifest"], "application/marc": ["mrc"], "application/marcxml+xml": ["mrcx"], "application/mathematica": ["ma", "nb", "mb"], "application/mathml+xml": ["mathml"], "application/mbox": ["mbox"], "application/media-policy-dataset+xml": ["mpf"], "application/mediaservercontrol+xml": ["mscml"], "application/metalink+xml": ["metalink"], "application/metalink4+xml": ["meta4"], "application/mets+xml": ["mets"], "application/mmt-aei+xml": ["maei"], "application/mmt-usd+xml": ["musd"], "application/mods+xml": ["mods"], "application/mp21": ["m21", "mp21"], "application/mp4": ["*mp4", "*mpg4", "mp4s", "m4p"], "application/msix": ["msix"], "application/msixbundle": ["msixbundle"], "application/msword": ["doc", "dot"], "application/mxf": ["mxf"], "application/n-quads": ["nq"], "application/n-triples": ["nt"], "application/node": ["cjs"], "application/octet-stream": ["bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer"], "application/oda": ["oda"], "application/oebps-package+xml": ["opf"], "application/ogg": ["ogx"], "application/omdoc+xml": ["omdoc"], "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"], "application/oxps": ["oxps"], "application/p2p-overlay+xml": ["relo"], "application/patch-ops-error+xml": ["xer"], "application/pdf": ["pdf"], "application/pgp-encrypted": ["pgp"], "application/pgp-keys": ["asc"], "application/pgp-signature": ["sig", "*asc"], "application/pics-rules": ["prf"], "application/pkcs10": ["p10"], "application/pkcs7-mime": ["p7m", "p7c"], "application/pkcs7-signature": ["p7s"], "application/pkcs8": ["p8"], "application/pkix-attr-cert": ["ac"], "application/pkix-cert": ["cer"], "application/pkix-crl": ["crl"], "application/pkix-pkipath": ["pkipath"], "application/pkixcmp": ["pki"], "application/pls+xml": ["pls"], "application/postscript": ["ai", "eps", "ps"], "application/provenance+xml": ["provx"], "application/pskc+xml": ["pskcxml"], "application/raml+yaml": ["raml"], "application/rdf+xml": ["rdf", "owl"], "application/reginfo+xml": ["rif"], "application/relax-ng-compact-syntax": ["rnc"], "application/resource-lists+xml": ["rl"], "application/resource-lists-diff+xml": ["rld"], "application/rls-services+xml": ["rs"], "application/route-apd+xml": ["rapd"], "application/route-s-tsid+xml": ["sls"], "application/route-usd+xml": ["rusd"], "application/rpki-ghostbusters": ["gbr"], "application/rpki-manifest": ["mft"], "application/rpki-roa": ["roa"], "application/rsd+xml": ["rsd"], "application/rss+xml": ["rss"], "application/rtf": ["rtf"], "application/sbml+xml": ["sbml"], "application/scvp-cv-request": ["scq"], "application/scvp-cv-response": ["scs"], "application/scvp-vp-request": ["spq"], "application/scvp-vp-response": ["spp"], "application/sdp": ["sdp"], "application/senml+xml": ["senmlx"], "application/sensml+xml": ["sensmlx"], "application/set-payment-initiation": ["setpay"], "application/set-registration-initiation": ["setreg"], "application/shf+xml": ["shf"], "application/sieve": ["siv", "sieve"], "application/smil+xml": ["smi", "smil"], "application/sparql-query": ["rq"], "application/sparql-results+xml": ["srx"], "application/sql": ["sql"], "application/srgs": ["gram"], "application/srgs+xml": ["grxml"], "application/sru+xml": ["sru"], "application/ssdl+xml": ["ssdl"], "application/ssml+xml": ["ssml"], "application/swid+xml": ["swidtag"], "application/tei+xml": ["tei", "teicorpus"], "application/thraud+xml": ["tfi"], "application/timestamped-data": ["tsd"], "application/toml": ["toml"], "application/trig": ["trig"], "application/ttml+xml": ["ttml"], "application/ubjson": ["ubj"], "application/urc-ressheet+xml": ["rsheet"], "application/urc-targetdesc+xml": ["td"], "application/voicexml+xml": ["vxml"], "application/wasm": ["wasm"], "application/watcherinfo+xml": ["wif"], "application/widget": ["wgt"], "application/winhlp": ["hlp"], "application/wsdl+xml": ["wsdl"], "application/wspolicy+xml": ["wspolicy"], "application/xaml+xml": ["xaml"], "application/xcap-att+xml": ["xav"], "application/xcap-caps+xml": ["xca"], "application/xcap-diff+xml": ["xdf"], "application/xcap-el+xml": ["xel"], "application/xcap-ns+xml": ["xns"], "application/xenc+xml": ["xenc"], "application/xfdf": ["xfdf"], "application/xhtml+xml": ["xhtml", "xht"], "application/xliff+xml": ["xlf"], "application/xml": ["xml", "xsl", "xsd", "rng"], "application/xml-dtd": ["dtd"], "application/xop+xml": ["xop"], "application/xproc+xml": ["xpl"], "application/xslt+xml": ["*xsl", "xslt"], "application/xspf+xml": ["xspf"], "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"], "application/yang": ["yang"], "application/yin+xml": ["yin"], "application/zip": ["zip"], "audio/3gpp": ["*3gpp"], "audio/aac": ["adts", "aac"], "audio/adpcm": ["adp"], "audio/amr": ["amr"], "audio/basic": ["au", "snd"], "audio/midi": ["mid", "midi", "kar", "rmi"], "audio/mobile-xmf": ["mxmf"], "audio/mp3": ["*mp3"], "audio/mp4": ["m4a", "mp4a"], "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"], "audio/ogg": ["oga", "ogg", "spx", "opus"], "audio/s3m": ["s3m"], "audio/silk": ["sil"], "audio/wav": ["wav"], "audio/wave": ["*wav"], "audio/webm": ["weba"], "audio/xm": ["xm"], "font/collection": ["ttc"], "font/otf": ["otf"], "font/ttf": ["ttf"], "font/woff": ["woff"], "font/woff2": ["woff2"], "image/aces": ["exr"], "image/apng": ["apng"], "image/avci": ["avci"], "image/avcs": ["avcs"], "image/avif": ["avif"], "image/bmp": ["bmp", "dib"], "image/cgm": ["cgm"], "image/dicom-rle": ["drle"], "image/dpx": ["dpx"], "image/emf": ["emf"], "image/fits": ["fits"], "image/g3fax": ["g3"], "image/gif": ["gif"], "image/heic": ["heic"], "image/heic-sequence": ["heics"], "image/heif": ["heif"], "image/heif-sequence": ["heifs"], "image/hej2k": ["hej2"], "image/hsj2": ["hsj2"], "image/ief": ["ief"], "image/jls": ["jls"], "image/jp2": ["jp2", "jpg2"], "image/jpeg": ["jpeg", "jpg", "jpe"], "image/jph": ["jph"], "image/jphc": ["jhc"], "image/jpm": ["jpm", "jpgm"], "image/jpx": ["jpx", "jpf"], "image/jxr": ["jxr"], "image/jxra": ["jxra"], "image/jxrs": ["jxrs"], "image/jxs": ["jxs"], "image/jxsc": ["jxsc"], "image/jxsi": ["jxsi"], "image/jxss": ["jxss"], "image/ktx": ["ktx"], "image/ktx2": ["ktx2"], "image/png": ["png"], "image/sgi": ["sgi"], "image/svg+xml": ["svg", "svgz"], "image/t38": ["t38"], "image/tiff": ["tif", "tiff"], "image/tiff-fx": ["tfx"], "image/webp": ["webp"], "image/wmf": ["wmf"], "message/disposition-notification": ["disposition-notification"], "message/global": ["u8msg"], "message/global-delivery-status": ["u8dsn"], "message/global-disposition-notification": ["u8mdn"], "message/global-headers": ["u8hdr"], "message/rfc822": ["eml", "mime"], "model/3mf": ["3mf"], "model/gltf+json": ["gltf"], "model/gltf-binary": ["glb"], "model/iges": ["igs", "iges"], "model/jt": ["jt"], "model/mesh": ["msh", "mesh", "silo"], "model/mtl": ["mtl"], "model/obj": ["obj"], "model/prc": ["prc"], "model/step+xml": ["stpx"], "model/step+zip": ["stpz"], "model/step-xml+zip": ["stpxz"], "model/stl": ["stl"], "model/u3d": ["u3d"], "model/vrml": ["wrl", "vrml"], "model/x3d+binary": ["*x3db", "x3dbz"], "model/x3d+fastinfoset": ["x3db"], "model/x3d+vrml": ["*x3dv", "x3dvz"], "model/x3d+xml": ["x3d", "x3dz"], "model/x3d-vrml": ["x3dv"], "text/cache-manifest": ["appcache", "manifest"], "text/calendar": ["ics", "ifb"], "text/coffeescript": ["coffee", "litcoffee"], "text/css": ["css"], "text/csv": ["csv"], "text/html": ["html", "htm", "shtml"], "text/jade": ["jade"], "text/javascript": ["js", "mjs"], "text/jsx": ["jsx"], "text/less": ["less"], "text/markdown": ["md", "markdown"], "text/mathml": ["mml"], "text/mdx": ["mdx"], "text/n3": ["n3"], "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"], "text/richtext": ["rtx"], "text/rtf": ["*rtf"], "text/sgml": ["sgml", "sgm"], "text/shex": ["shex"], "text/slim": ["slim", "slm"], "text/spdx": ["spdx"], "text/stylus": ["stylus", "styl"], "text/tab-separated-values": ["tsv"], "text/troff": ["t", "tr", "roff", "man", "me", "ms"], "text/turtle": ["ttl"], "text/uri-list": ["uri", "uris", "urls"], "text/vcard": ["vcard"], "text/vtt": ["vtt"], "text/wgsl": ["wgsl"], "text/xml": ["*xml"], "text/yaml": ["yaml", "yml"], "video/3gpp": ["3gp", "3gpp"], "video/3gpp2": ["3g2"], "video/h261": ["h261"], "video/h263": ["h263"], "video/h264": ["h264"], "video/iso.segment": ["m4s"], "video/jpeg": ["jpgv"], "video/jpm": ["*jpm", "*jpgm"], "video/mj2": ["mj2", "mjp2"], "video/mp2t": ["ts"], "video/mp4": ["mp4", "mp4v", "mpg4"], "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"], "video/ogg": ["ogv"], "video/quicktime": ["qt", "mov"], "video/webm": ["webm"] };
|
|
1124
|
+
const types = {
|
|
1125
|
+
"application/andrew-inset": ["ez"],
|
|
1126
|
+
"application/appinstaller": ["appinstaller"],
|
|
1127
|
+
"application/applixware": ["aw"],
|
|
1128
|
+
"application/appx": ["appx"],
|
|
1129
|
+
"application/appxbundle": ["appxbundle"],
|
|
1130
|
+
"application/atom+xml": ["atom"],
|
|
1131
|
+
"application/atomcat+xml": ["atomcat"],
|
|
1132
|
+
"application/atomdeleted+xml": ["atomdeleted"],
|
|
1133
|
+
"application/atomsvc+xml": ["atomsvc"],
|
|
1134
|
+
"application/atsc-dwd+xml": ["dwd"],
|
|
1135
|
+
"application/atsc-held+xml": ["held"],
|
|
1136
|
+
"application/atsc-rsat+xml": ["rsat"],
|
|
1137
|
+
"application/automationml-aml+xml": ["aml"],
|
|
1138
|
+
"application/automationml-amlx+zip": ["amlx"],
|
|
1139
|
+
"application/bdoc": ["bdoc"],
|
|
1140
|
+
"application/calendar+xml": ["xcs"],
|
|
1141
|
+
"application/ccxml+xml": ["ccxml"],
|
|
1142
|
+
"application/cdfx+xml": ["cdfx"],
|
|
1143
|
+
"application/cdmi-capability": ["cdmia"],
|
|
1144
|
+
"application/cdmi-container": ["cdmic"],
|
|
1145
|
+
"application/cdmi-domain": ["cdmid"],
|
|
1146
|
+
"application/cdmi-object": ["cdmio"],
|
|
1147
|
+
"application/cdmi-queue": ["cdmiq"],
|
|
1148
|
+
"application/cpl+xml": ["cpl"],
|
|
1149
|
+
"application/cu-seeme": ["cu"],
|
|
1150
|
+
"application/cwl": ["cwl"],
|
|
1151
|
+
"application/dash+xml": ["mpd"],
|
|
1152
|
+
"application/dash-patch+xml": ["mpp"],
|
|
1153
|
+
"application/davmount+xml": ["davmount"],
|
|
1154
|
+
"application/docbook+xml": ["dbk"],
|
|
1155
|
+
"application/dssc+der": ["dssc"],
|
|
1156
|
+
"application/dssc+xml": ["xdssc"],
|
|
1157
|
+
"application/ecmascript": ["ecma"],
|
|
1158
|
+
"application/emma+xml": ["emma"],
|
|
1159
|
+
"application/emotionml+xml": ["emotionml"],
|
|
1160
|
+
"application/epub+zip": ["epub"],
|
|
1161
|
+
"application/exi": ["exi"],
|
|
1162
|
+
"application/express": ["exp"],
|
|
1163
|
+
"application/fdf": ["fdf"],
|
|
1164
|
+
"application/fdt+xml": ["fdt"],
|
|
1165
|
+
"application/font-tdpfr": ["pfr"],
|
|
1166
|
+
"application/geo+json": ["geojson"],
|
|
1167
|
+
"application/gml+xml": ["gml"],
|
|
1168
|
+
"application/gpx+xml": ["gpx"],
|
|
1169
|
+
"application/gxf": ["gxf"],
|
|
1170
|
+
"application/gzip": ["gz"],
|
|
1171
|
+
"application/hjson": ["hjson"],
|
|
1172
|
+
"application/hyperstudio": ["stk"],
|
|
1173
|
+
"application/inkml+xml": ["ink", "inkml"],
|
|
1174
|
+
"application/ipfix": ["ipfix"],
|
|
1175
|
+
"application/its+xml": ["its"],
|
|
1176
|
+
"application/java-archive": ["jar", "war", "ear"],
|
|
1177
|
+
"application/java-serialized-object": ["ser"],
|
|
1178
|
+
"application/java-vm": ["class"],
|
|
1179
|
+
"application/javascript": ["*js"],
|
|
1180
|
+
"application/json": ["json", "map"],
|
|
1181
|
+
"application/json5": ["json5"],
|
|
1182
|
+
"application/jsonml+json": ["jsonml"],
|
|
1183
|
+
"application/ld+json": ["jsonld"],
|
|
1184
|
+
"application/lgr+xml": ["lgr"],
|
|
1185
|
+
"application/lost+xml": ["lostxml"],
|
|
1186
|
+
"application/mac-binhex40": ["hqx"],
|
|
1187
|
+
"application/mac-compactpro": ["cpt"],
|
|
1188
|
+
"application/mads+xml": ["mads"],
|
|
1189
|
+
"application/manifest+json": ["webmanifest"],
|
|
1190
|
+
"application/marc": ["mrc"],
|
|
1191
|
+
"application/marcxml+xml": ["mrcx"],
|
|
1192
|
+
"application/mathematica": ["ma", "nb", "mb"],
|
|
1193
|
+
"application/mathml+xml": ["mathml"],
|
|
1194
|
+
"application/mbox": ["mbox"],
|
|
1195
|
+
"application/media-policy-dataset+xml": ["mpf"],
|
|
1196
|
+
"application/mediaservercontrol+xml": ["mscml"],
|
|
1197
|
+
"application/metalink+xml": ["metalink"],
|
|
1198
|
+
"application/metalink4+xml": ["meta4"],
|
|
1199
|
+
"application/mets+xml": ["mets"],
|
|
1200
|
+
"application/mmt-aei+xml": ["maei"],
|
|
1201
|
+
"application/mmt-usd+xml": ["musd"],
|
|
1202
|
+
"application/mods+xml": ["mods"],
|
|
1203
|
+
"application/mp21": ["m21", "mp21"],
|
|
1204
|
+
"application/mp4": ["*mp4", "*mpg4", "mp4s", "m4p"],
|
|
1205
|
+
"application/msix": ["msix"],
|
|
1206
|
+
"application/msixbundle": ["msixbundle"],
|
|
1207
|
+
"application/msword": ["doc", "dot"],
|
|
1208
|
+
"application/mxf": ["mxf"],
|
|
1209
|
+
"application/n-quads": ["nq"],
|
|
1210
|
+
"application/n-triples": ["nt"],
|
|
1211
|
+
"application/node": ["cjs"],
|
|
1212
|
+
"application/octet-stream": [
|
|
1213
|
+
"bin",
|
|
1214
|
+
"dms",
|
|
1215
|
+
"lrf",
|
|
1216
|
+
"mar",
|
|
1217
|
+
"so",
|
|
1218
|
+
"dist",
|
|
1219
|
+
"distz",
|
|
1220
|
+
"pkg",
|
|
1221
|
+
"bpk",
|
|
1222
|
+
"dump",
|
|
1223
|
+
"elc",
|
|
1224
|
+
"deploy",
|
|
1225
|
+
"exe",
|
|
1226
|
+
"dll",
|
|
1227
|
+
"deb",
|
|
1228
|
+
"dmg",
|
|
1229
|
+
"iso",
|
|
1230
|
+
"img",
|
|
1231
|
+
"msi",
|
|
1232
|
+
"msp",
|
|
1233
|
+
"msm",
|
|
1234
|
+
"buffer"
|
|
1235
|
+
],
|
|
1236
|
+
"application/oda": ["oda"],
|
|
1237
|
+
"application/oebps-package+xml": ["opf"],
|
|
1238
|
+
"application/ogg": ["ogx"],
|
|
1239
|
+
"application/omdoc+xml": ["omdoc"],
|
|
1240
|
+
"application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"],
|
|
1241
|
+
"application/oxps": ["oxps"],
|
|
1242
|
+
"application/p2p-overlay+xml": ["relo"],
|
|
1243
|
+
"application/patch-ops-error+xml": ["xer"],
|
|
1244
|
+
"application/pdf": ["pdf"],
|
|
1245
|
+
"application/pgp-encrypted": ["pgp"],
|
|
1246
|
+
"application/pgp-keys": ["asc"],
|
|
1247
|
+
"application/pgp-signature": ["sig", "*asc"],
|
|
1248
|
+
"application/pics-rules": ["prf"],
|
|
1249
|
+
"application/pkcs10": ["p10"],
|
|
1250
|
+
"application/pkcs7-mime": ["p7m", "p7c"],
|
|
1251
|
+
"application/pkcs7-signature": ["p7s"],
|
|
1252
|
+
"application/pkcs8": ["p8"],
|
|
1253
|
+
"application/pkix-attr-cert": ["ac"],
|
|
1254
|
+
"application/pkix-cert": ["cer"],
|
|
1255
|
+
"application/pkix-crl": ["crl"],
|
|
1256
|
+
"application/pkix-pkipath": ["pkipath"],
|
|
1257
|
+
"application/pkixcmp": ["pki"],
|
|
1258
|
+
"application/pls+xml": ["pls"],
|
|
1259
|
+
"application/postscript": ["ai", "eps", "ps"],
|
|
1260
|
+
"application/provenance+xml": ["provx"],
|
|
1261
|
+
"application/pskc+xml": ["pskcxml"],
|
|
1262
|
+
"application/raml+yaml": ["raml"],
|
|
1263
|
+
"application/rdf+xml": ["rdf", "owl"],
|
|
1264
|
+
"application/reginfo+xml": ["rif"],
|
|
1265
|
+
"application/relax-ng-compact-syntax": ["rnc"],
|
|
1266
|
+
"application/resource-lists+xml": ["rl"],
|
|
1267
|
+
"application/resource-lists-diff+xml": ["rld"],
|
|
1268
|
+
"application/rls-services+xml": ["rs"],
|
|
1269
|
+
"application/route-apd+xml": ["rapd"],
|
|
1270
|
+
"application/route-s-tsid+xml": ["sls"],
|
|
1271
|
+
"application/route-usd+xml": ["rusd"],
|
|
1272
|
+
"application/rpki-ghostbusters": ["gbr"],
|
|
1273
|
+
"application/rpki-manifest": ["mft"],
|
|
1274
|
+
"application/rpki-roa": ["roa"],
|
|
1275
|
+
"application/rsd+xml": ["rsd"],
|
|
1276
|
+
"application/rss+xml": ["rss"],
|
|
1277
|
+
"application/rtf": ["rtf"],
|
|
1278
|
+
"application/sbml+xml": ["sbml"],
|
|
1279
|
+
"application/scvp-cv-request": ["scq"],
|
|
1280
|
+
"application/scvp-cv-response": ["scs"],
|
|
1281
|
+
"application/scvp-vp-request": ["spq"],
|
|
1282
|
+
"application/scvp-vp-response": ["spp"],
|
|
1283
|
+
"application/sdp": ["sdp"],
|
|
1284
|
+
"application/senml+xml": ["senmlx"],
|
|
1285
|
+
"application/sensml+xml": ["sensmlx"],
|
|
1286
|
+
"application/set-payment-initiation": ["setpay"],
|
|
1287
|
+
"application/set-registration-initiation": ["setreg"],
|
|
1288
|
+
"application/shf+xml": ["shf"],
|
|
1289
|
+
"application/sieve": ["siv", "sieve"],
|
|
1290
|
+
"application/smil+xml": ["smi", "smil"],
|
|
1291
|
+
"application/sparql-query": ["rq"],
|
|
1292
|
+
"application/sparql-results+xml": ["srx"],
|
|
1293
|
+
"application/sql": ["sql"],
|
|
1294
|
+
"application/srgs": ["gram"],
|
|
1295
|
+
"application/srgs+xml": ["grxml"],
|
|
1296
|
+
"application/sru+xml": ["sru"],
|
|
1297
|
+
"application/ssdl+xml": ["ssdl"],
|
|
1298
|
+
"application/ssml+xml": ["ssml"],
|
|
1299
|
+
"application/swid+xml": ["swidtag"],
|
|
1300
|
+
"application/tei+xml": ["tei", "teicorpus"],
|
|
1301
|
+
"application/thraud+xml": ["tfi"],
|
|
1302
|
+
"application/timestamped-data": ["tsd"],
|
|
1303
|
+
"application/toml": ["toml"],
|
|
1304
|
+
"application/trig": ["trig"],
|
|
1305
|
+
"application/ttml+xml": ["ttml"],
|
|
1306
|
+
"application/ubjson": ["ubj"],
|
|
1307
|
+
"application/urc-ressheet+xml": ["rsheet"],
|
|
1308
|
+
"application/urc-targetdesc+xml": ["td"],
|
|
1309
|
+
"application/voicexml+xml": ["vxml"],
|
|
1310
|
+
"application/wasm": ["wasm"],
|
|
1311
|
+
"application/watcherinfo+xml": ["wif"],
|
|
1312
|
+
"application/widget": ["wgt"],
|
|
1313
|
+
"application/winhlp": ["hlp"],
|
|
1314
|
+
"application/wsdl+xml": ["wsdl"],
|
|
1315
|
+
"application/wspolicy+xml": ["wspolicy"],
|
|
1316
|
+
"application/xaml+xml": ["xaml"],
|
|
1317
|
+
"application/xcap-att+xml": ["xav"],
|
|
1318
|
+
"application/xcap-caps+xml": ["xca"],
|
|
1319
|
+
"application/xcap-diff+xml": ["xdf"],
|
|
1320
|
+
"application/xcap-el+xml": ["xel"],
|
|
1321
|
+
"application/xcap-ns+xml": ["xns"],
|
|
1322
|
+
"application/xenc+xml": ["xenc"],
|
|
1323
|
+
"application/xfdf": ["xfdf"],
|
|
1324
|
+
"application/xhtml+xml": ["xhtml", "xht"],
|
|
1325
|
+
"application/xliff+xml": ["xlf"],
|
|
1326
|
+
"application/xml": ["xml", "xsl", "xsd", "rng"],
|
|
1327
|
+
"application/xml-dtd": ["dtd"],
|
|
1328
|
+
"application/xop+xml": ["xop"],
|
|
1329
|
+
"application/xproc+xml": ["xpl"],
|
|
1330
|
+
"application/xslt+xml": ["*xsl", "xslt"],
|
|
1331
|
+
"application/xspf+xml": ["xspf"],
|
|
1332
|
+
"application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"],
|
|
1333
|
+
"application/yang": ["yang"],
|
|
1334
|
+
"application/yin+xml": ["yin"],
|
|
1335
|
+
"application/zip": ["zip"],
|
|
1336
|
+
"audio/3gpp": ["*3gpp"],
|
|
1337
|
+
"audio/aac": ["adts", "aac"],
|
|
1338
|
+
"audio/adpcm": ["adp"],
|
|
1339
|
+
"audio/amr": ["amr"],
|
|
1340
|
+
"audio/basic": ["au", "snd"],
|
|
1341
|
+
"audio/midi": ["mid", "midi", "kar", "rmi"],
|
|
1342
|
+
"audio/mobile-xmf": ["mxmf"],
|
|
1343
|
+
"audio/mp3": ["*mp3"],
|
|
1344
|
+
"audio/mp4": ["m4a", "mp4a"],
|
|
1345
|
+
"audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"],
|
|
1346
|
+
"audio/ogg": ["oga", "ogg", "spx", "opus"],
|
|
1347
|
+
"audio/s3m": ["s3m"],
|
|
1348
|
+
"audio/silk": ["sil"],
|
|
1349
|
+
"audio/wav": ["wav"],
|
|
1350
|
+
"audio/wave": ["*wav"],
|
|
1351
|
+
"audio/webm": ["weba"],
|
|
1352
|
+
"audio/xm": ["xm"],
|
|
1353
|
+
"font/collection": ["ttc"],
|
|
1354
|
+
"font/otf": ["otf"],
|
|
1355
|
+
"font/ttf": ["ttf"],
|
|
1356
|
+
"font/woff": ["woff"],
|
|
1357
|
+
"font/woff2": ["woff2"],
|
|
1358
|
+
"image/aces": ["exr"],
|
|
1359
|
+
"image/apng": ["apng"],
|
|
1360
|
+
"image/avci": ["avci"],
|
|
1361
|
+
"image/avcs": ["avcs"],
|
|
1362
|
+
"image/avif": ["avif"],
|
|
1363
|
+
"image/bmp": ["bmp", "dib"],
|
|
1364
|
+
"image/cgm": ["cgm"],
|
|
1365
|
+
"image/dicom-rle": ["drle"],
|
|
1366
|
+
"image/dpx": ["dpx"],
|
|
1367
|
+
"image/emf": ["emf"],
|
|
1368
|
+
"image/fits": ["fits"],
|
|
1369
|
+
"image/g3fax": ["g3"],
|
|
1370
|
+
"image/gif": ["gif"],
|
|
1371
|
+
"image/heic": ["heic"],
|
|
1372
|
+
"image/heic-sequence": ["heics"],
|
|
1373
|
+
"image/heif": ["heif"],
|
|
1374
|
+
"image/heif-sequence": ["heifs"],
|
|
1375
|
+
"image/hej2k": ["hej2"],
|
|
1376
|
+
"image/hsj2": ["hsj2"],
|
|
1377
|
+
"image/ief": ["ief"],
|
|
1378
|
+
"image/jls": ["jls"],
|
|
1379
|
+
"image/jp2": ["jp2", "jpg2"],
|
|
1380
|
+
"image/jpeg": ["jpeg", "jpg", "jpe"],
|
|
1381
|
+
"image/jph": ["jph"],
|
|
1382
|
+
"image/jphc": ["jhc"],
|
|
1383
|
+
"image/jpm": ["jpm", "jpgm"],
|
|
1384
|
+
"image/jpx": ["jpx", "jpf"],
|
|
1385
|
+
"image/jxl": ["jxl"],
|
|
1386
|
+
"image/jxr": ["jxr"],
|
|
1387
|
+
"image/jxra": ["jxra"],
|
|
1388
|
+
"image/jxrs": ["jxrs"],
|
|
1389
|
+
"image/jxs": ["jxs"],
|
|
1390
|
+
"image/jxsc": ["jxsc"],
|
|
1391
|
+
"image/jxsi": ["jxsi"],
|
|
1392
|
+
"image/jxss": ["jxss"],
|
|
1393
|
+
"image/ktx": ["ktx"],
|
|
1394
|
+
"image/ktx2": ["ktx2"],
|
|
1395
|
+
"image/png": ["png"],
|
|
1396
|
+
"image/sgi": ["sgi"],
|
|
1397
|
+
"image/svg+xml": ["svg", "svgz"],
|
|
1398
|
+
"image/t38": ["t38"],
|
|
1399
|
+
"image/tiff": ["tif", "tiff"],
|
|
1400
|
+
"image/tiff-fx": ["tfx"],
|
|
1401
|
+
"image/webp": ["webp"],
|
|
1402
|
+
"image/wmf": ["wmf"],
|
|
1403
|
+
"message/disposition-notification": ["disposition-notification"],
|
|
1404
|
+
"message/global": ["u8msg"],
|
|
1405
|
+
"message/global-delivery-status": ["u8dsn"],
|
|
1406
|
+
"message/global-disposition-notification": ["u8mdn"],
|
|
1407
|
+
"message/global-headers": ["u8hdr"],
|
|
1408
|
+
"message/rfc822": ["eml", "mime"],
|
|
1409
|
+
"model/3mf": ["3mf"],
|
|
1410
|
+
"model/gltf+json": ["gltf"],
|
|
1411
|
+
"model/gltf-binary": ["glb"],
|
|
1412
|
+
"model/iges": ["igs", "iges"],
|
|
1413
|
+
"model/jt": ["jt"],
|
|
1414
|
+
"model/mesh": ["msh", "mesh", "silo"],
|
|
1415
|
+
"model/mtl": ["mtl"],
|
|
1416
|
+
"model/obj": ["obj"],
|
|
1417
|
+
"model/prc": ["prc"],
|
|
1418
|
+
"model/step+xml": ["stpx"],
|
|
1419
|
+
"model/step+zip": ["stpz"],
|
|
1420
|
+
"model/step-xml+zip": ["stpxz"],
|
|
1421
|
+
"model/stl": ["stl"],
|
|
1422
|
+
"model/u3d": ["u3d"],
|
|
1423
|
+
"model/vrml": ["wrl", "vrml"],
|
|
1424
|
+
"model/x3d+binary": ["*x3db", "x3dbz"],
|
|
1425
|
+
"model/x3d+fastinfoset": ["x3db"],
|
|
1426
|
+
"model/x3d+vrml": ["*x3dv", "x3dvz"],
|
|
1427
|
+
"model/x3d+xml": ["x3d", "x3dz"],
|
|
1428
|
+
"model/x3d-vrml": ["x3dv"],
|
|
1429
|
+
"text/cache-manifest": ["appcache", "manifest"],
|
|
1430
|
+
"text/calendar": ["ics", "ifb"],
|
|
1431
|
+
"text/coffeescript": ["coffee", "litcoffee"],
|
|
1432
|
+
"text/css": ["css"],
|
|
1433
|
+
"text/csv": ["csv"],
|
|
1434
|
+
"text/html": ["html", "htm", "shtml"],
|
|
1435
|
+
"text/jade": ["jade"],
|
|
1436
|
+
"text/javascript": ["js", "mjs"],
|
|
1437
|
+
"text/jsx": ["jsx"],
|
|
1438
|
+
"text/less": ["less"],
|
|
1439
|
+
"text/markdown": ["md", "markdown"],
|
|
1440
|
+
"text/mathml": ["mml"],
|
|
1441
|
+
"text/mdx": ["mdx"],
|
|
1442
|
+
"text/n3": ["n3"],
|
|
1443
|
+
"text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"],
|
|
1444
|
+
"text/richtext": ["rtx"],
|
|
1445
|
+
"text/rtf": ["*rtf"],
|
|
1446
|
+
"text/sgml": ["sgml", "sgm"],
|
|
1447
|
+
"text/shex": ["shex"],
|
|
1448
|
+
"text/slim": ["slim", "slm"],
|
|
1449
|
+
"text/spdx": ["spdx"],
|
|
1450
|
+
"text/stylus": ["stylus", "styl"],
|
|
1451
|
+
"text/tab-separated-values": ["tsv"],
|
|
1452
|
+
"text/troff": ["t", "tr", "roff", "man", "me", "ms"],
|
|
1453
|
+
"text/turtle": ["ttl"],
|
|
1454
|
+
"text/uri-list": ["uri", "uris", "urls"],
|
|
1455
|
+
"text/vcard": ["vcard"],
|
|
1456
|
+
"text/vtt": ["vtt"],
|
|
1457
|
+
"text/wgsl": ["wgsl"],
|
|
1458
|
+
"text/xml": ["*xml"],
|
|
1459
|
+
"text/yaml": ["yaml", "yml"],
|
|
1460
|
+
"video/3gpp": ["3gp", "3gpp"],
|
|
1461
|
+
"video/3gpp2": ["3g2"],
|
|
1462
|
+
"video/h261": ["h261"],
|
|
1463
|
+
"video/h263": ["h263"],
|
|
1464
|
+
"video/h264": ["h264"],
|
|
1465
|
+
"video/iso.segment": ["m4s"],
|
|
1466
|
+
"video/jpeg": ["jpgv"],
|
|
1467
|
+
"video/jpm": ["*jpm", "*jpgm"],
|
|
1468
|
+
"video/mj2": ["mj2", "mjp2"],
|
|
1469
|
+
"video/mp2t": ["ts", "m2t", "m2ts", "mts"],
|
|
1470
|
+
"video/mp4": ["mp4", "mp4v", "mpg4"],
|
|
1471
|
+
"video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"],
|
|
1472
|
+
"video/ogg": ["ogv"],
|
|
1473
|
+
"video/quicktime": ["qt", "mov"],
|
|
1474
|
+
"video/webm": ["webm"]
|
|
1475
|
+
};
|
|
1125
1476
|
Object.freeze(types);
|
|
1126
1477
|
var __classPrivateFieldGet = function(receiver, state, kind, f) {
|
|
1127
1478
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
@@ -2548,4 +2899,4 @@ export {
|
|
|
2548
2899
|
buildOperationSignatureParams as y,
|
|
2549
2900
|
zod as z
|
|
2550
2901
|
};
|
|
2551
|
-
//# sourceMappingURL=creators-
|
|
2902
|
+
//# sourceMappingURL=creators-Dir4K_-h.js.map
|