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

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 CorsOptionsPage extends Page {
4
+ run(): Promise<Content>;
5
+ }
6
+ //# sourceMappingURL=CorsOptionsPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CorsOptionsPage.d.ts","sourceRoot":"","sources":["../../src/common/CorsOptionsPage.tsx"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,6CAA6C,CAAC;AAClE,OAAO,IAAI,MAAM,0CAA0C,CAAC;AAG5D,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,IAAI;IAEvC,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 "./CORS.js";
4
+ export default class CorsOptionsPage 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=CorsOptionsPage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CorsOptionsPage.js","sourceRoot":"","sources":["../../src/common/CorsOptionsPage.tsx"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,6CAA6C,CAAC;AAClE,OAAO,IAAI,MAAM,0CAA0C,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,IAAI;IAE7C,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"}
@@ -1,6 +1,3 @@
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
- }
1
+ import CorsOptionsPage from "../../../../../../common/CorsOptionsPage.js";
2
+ export default CorsOptionsPage;
6
3
  //# sourceMappingURL=options.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../../../src/wwwroot/routes/social-mail/site/list/[type]/options.tsx"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,6CAA6C,CAAC;AAC1E,eAAe,eAAe,CAAC"}
@@ -1,12 +1,3 @@
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
- }
1
+ import CorsOptionsPage from "../../../../../../common/CorsOptionsPage.js";
2
+ export default CorsOptionsPage;
12
3
  //# sourceMappingURL=options.js.map
@@ -1 +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"}
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../../../../src/wwwroot/routes/social-mail/site/list/[type]/options.tsx"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,6CAA6C,CAAC;AAC1E,eAAe,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-web-server",
3
- "version": "1.16.149",
3
+ "version": "1.16.151",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "@aws-sdk/client-s3": "^3.990.0",
24
24
  "@azure/storage-blob": "^12.31.0",
25
- "@entity-access/entity-access": "^1.2.32",
25
+ "@entity-access/entity-access": "^1.2.34",
26
26
  "@entity-access/server-pages": "^1.1.661",
27
27
  "@parse/node-apn": "^6.5.0",
28
28
  "@paypal/paypal-server-sdk": "^2.2.0",
@@ -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 "./CORS.js";
4
+
5
+ export default class CorsOptionsPage 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
+ }
@@ -1,15 +1,2 @@
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
- }
1
+ import CorsOptionsPage from "../../../../../../common/CorsOptionsPage.js";
2
+ export default CorsOptionsPage;