@company-semantics/contracts 62.8.0 → 62.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "62.8.0",
3
+ "version": "62.9.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,14 +31,14 @@ describe("ingestion registry", () => {
31
31
  it("derives INGEST_ACCEPT from every extension in registry order", () => {
32
32
  expect(INGEST_ACCEPT).toBe(acceptExtensions().join(","));
33
33
  expect(INGEST_ACCEPT).toBe(
34
- ".txt,.md,.html,.htm,.csv,.rtf,.docx,.doc,.pptx,.xlsx,.odt,.pdf,.png,.jpg,.jpeg,.webp,.gif,.heic,.svg,.drawio,.mp3,.m4a,.wav,.aac,.mp4,.m4v,.mov",
34
+ ".txt,.md,.html,.htm,.csv,.rtf,.docx,.doc,.pptx,.ppt,.xlsx,.xls,.odt,.ods,.odp,.epub,.pdf,.png,.jpg,.jpeg,.webp,.gif,.heic,.svg,.drawio,.mp3,.m4a,.wav,.aac,.mp4,.m4v,.mov",
35
35
  );
36
36
  });
37
37
 
38
38
  it("derives SUPPORTED_LABEL from the unique group labels", () => {
39
39
  expect(SUPPORTED_LABEL).toBe(`Supported: ${humanLabels().join(", ")}`);
40
40
  expect(SUPPORTED_LABEL).toBe(
41
- "Supported: Text, Markdown, HTML, CSV, RTF, Word, PowerPoint, Excel, OpenDocument, PDF, Image, Diagram, Audio, Video",
41
+ "Supported: Text, Markdown, HTML, CSV, RTF, Word, PowerPoint, Excel, OpenDocument, EPUB, PDF, Image, Diagram, Audio, Video",
42
42
  );
43
43
  });
44
44
  });
@@ -67,18 +67,48 @@ export const INGESTION_FORMATS: readonly IngestionFormat[] = [
67
67
  label: "PowerPoint",
68
68
  maxBytes: 50_000_000,
69
69
  },
70
+ {
71
+ mime: "application/vnd.ms-powerpoint",
72
+ extensions: [".ppt"],
73
+ label: "PowerPoint",
74
+ maxBytes: 50_000_000,
75
+ },
70
76
  {
71
77
  mime: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
72
78
  extensions: [".xlsx"],
73
79
  label: "Excel",
74
80
  maxBytes: 50_000_000,
75
81
  },
82
+ {
83
+ mime: "application/vnd.ms-excel",
84
+ extensions: [".xls"],
85
+ label: "Excel",
86
+ maxBytes: 50_000_000,
87
+ },
76
88
  {
77
89
  mime: "application/vnd.oasis.opendocument.text",
78
90
  extensions: [".odt"],
79
91
  label: "OpenDocument",
80
92
  maxBytes: 25_000_000,
81
93
  },
94
+ {
95
+ mime: "application/vnd.oasis.opendocument.spreadsheet",
96
+ extensions: [".ods"],
97
+ label: "OpenDocument",
98
+ maxBytes: 50_000_000,
99
+ },
100
+ {
101
+ mime: "application/vnd.oasis.opendocument.presentation",
102
+ extensions: [".odp"],
103
+ label: "OpenDocument",
104
+ maxBytes: 50_000_000,
105
+ },
106
+ {
107
+ mime: "application/epub+zip",
108
+ extensions: [".epub"],
109
+ label: "EPUB",
110
+ maxBytes: 25_000_000,
111
+ },
82
112
  {
83
113
  mime: "application/pdf",
84
114
  extensions: [".pdf"],