@social-mail/social-mail-web-server 1.16.147 → 1.16.149

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.
@@ -0,0 +1,6 @@
1
+ import Content from "@entity-access/server-pages/dist/Content.js";
2
+ import Page from "@entity-access/server-pages/dist/Page.js";
3
+ export default class extends Page {
4
+ run(): Promise<Content>;
5
+ }
6
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../../../src/wwwroot/routes/social-mail/site/list/[type]/options.tsx"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,6CAA6C,CAAC;AAClE,OAAO,IAAI,MAAM,0CAA0C,CAAC;AAG5D,MAAM,CAAC,OAAO,MAAO,SAAQ,IAAI;IAEvB,GAAG;CAQZ"}
@@ -0,0 +1,12 @@
1
+ import Content from "@entity-access/server-pages/dist/Content.js";
2
+ import Page from "@entity-access/server-pages/dist/Page.js";
3
+ import { CORS } from "../../../../../../common/CORS.js";
4
+ export default class extends Page {
5
+ async run() {
6
+ this.cacheControl = `public, max-age=86000`;
7
+ return Content.text("ok", {
8
+ headers: CORS.allowAll
9
+ });
10
+ }
11
+ }
12
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../../../../src/wwwroot/routes/social-mail/site/list/[type]/options.tsx"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,6CAA6C,CAAC;AAClE,OAAO,IAAI,MAAM,0CAA0C,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AAExD,MAAM,CAAC,OAAO,MAAO,SAAQ,IAAI;IAE7B,KAAK,CAAC,GAAG;QAEL,IAAI,CAAC,YAAY,GAAG,uBAAuB,CAAC;QAE5C,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE;YACtB,OAAO,EAAE,IAAI,CAAC,QAAQ;SACzB,CAAC,CAAC;IACP,CAAC;CACJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-web-server",
3
- "version": "1.16.147",
3
+ "version": "1.16.149",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -0,0 +1,15 @@
1
+ import Content from "@entity-access/server-pages/dist/Content.js";
2
+ import Page from "@entity-access/server-pages/dist/Page.js";
3
+ import { CORS } from "../../../../../../common/CORS.js";
4
+
5
+ export default class extends Page {
6
+
7
+ async run() {
8
+
9
+ this.cacheControl = `public, max-age=86000`;
10
+
11
+ return Content.text("ok", {
12
+ headers: CORS.allowAll
13
+ });
14
+ }
15
+ }