@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.
- package/dist/.tsbuildinfo +1 -1
- package/dist/wwwroot/routes/social-mail/site/list/[type]/options.d.ts +6 -0
- package/dist/wwwroot/routes/social-mail/site/list/[type]/options.d.ts.map +1 -0
- package/dist/wwwroot/routes/social-mail/site/list/[type]/options.js +12 -0
- package/dist/wwwroot/routes/social-mail/site/list/[type]/options.js.map +1 -0
- package/package.json +1 -1
- package/src/wwwroot/routes/social-mail/site/list/[type]/options.tsx +15 -0
|
@@ -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
|
@@ -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
|
+
}
|