@difizen/libro-common 0.1.18 → 0.1.19
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/es/index.d.ts +1 -0
- package/es/index.d.ts.map +1 -1
- package/es/index.js +2 -1
- package/es/mime.d.ts +13 -0
- package/es/mime.d.ts.map +1 -0
- package/es/mime.js +12 -0
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/mime.ts +12 -0
package/es/index.d.ts
CHANGED
package/es/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
|
package/es/index.js
CHANGED
package/es/mime.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const MIME: {
|
|
2
|
+
readonly text: "text/plain";
|
|
3
|
+
readonly binary: "application/octet-stream";
|
|
4
|
+
readonly unknown: "application/unknown";
|
|
5
|
+
readonly markdown: "text/markdown";
|
|
6
|
+
readonly latex: "text/latex";
|
|
7
|
+
readonly uriList: "text/uri-list";
|
|
8
|
+
readonly json: "application/json";
|
|
9
|
+
readonly python: "text/x-python";
|
|
10
|
+
readonly prompt: "application/vnd.libro.prompt+json";
|
|
11
|
+
readonly odpssql: "application/vnd.libro.sql+json";
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=mime.d.ts.map
|
package/es/mime.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mime.d.ts","sourceRoot":"","sources":["../src/mime.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI;;;;;;;;;;;CAWP,CAAC"}
|
package/es/mime.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export var MIME = {
|
|
2
|
+
text: 'text/plain',
|
|
3
|
+
binary: 'application/octet-stream',
|
|
4
|
+
unknown: 'application/unknown',
|
|
5
|
+
markdown: 'text/markdown',
|
|
6
|
+
latex: 'text/latex',
|
|
7
|
+
uriList: 'text/uri-list',
|
|
8
|
+
json: 'application/json',
|
|
9
|
+
python: 'text/x-python',
|
|
10
|
+
prompt: 'application/vnd.libro.prompt+json',
|
|
11
|
+
odpssql: 'application/vnd.libro.sql+json'
|
|
12
|
+
};
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
package/src/mime.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const MIME = {
|
|
2
|
+
text: 'text/plain',
|
|
3
|
+
binary: 'application/octet-stream',
|
|
4
|
+
unknown: 'application/unknown',
|
|
5
|
+
markdown: 'text/markdown',
|
|
6
|
+
latex: 'text/latex',
|
|
7
|
+
uriList: 'text/uri-list',
|
|
8
|
+
json: 'application/json',
|
|
9
|
+
python: 'text/x-python',
|
|
10
|
+
prompt: 'application/vnd.libro.prompt+json',
|
|
11
|
+
odpssql: 'application/vnd.libro.sql+json',
|
|
12
|
+
} as const;
|