@protobase/schema 0.47.0 → 0.48.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.
@@ -0,0 +1,25 @@
1
+ //#region src/png-icons.d.ts
2
+ /**
3
+ * The PNG icons a project may put beside its `protobase.favicon.svg`, for platforms that take no SVG, each square at
4
+ * `size` pixels and answered on the app's own origin at `/<file>`: Android's 192 and 512 pixel icons, a 512 pixel
5
+ * maskable one whose mark keeps to the middle 80%, and the 180 pixel Apple touch icon an iPhone home screen shows.
6
+ */
7
+ export declare const pngIcons: {
8
+ readonly icon192: {
9
+ readonly file: "protobase.icon-192.png";
10
+ readonly size: 192;
11
+ };
12
+ readonly icon512: {
13
+ readonly file: "protobase.icon-512.png";
14
+ readonly size: 512;
15
+ };
16
+ readonly maskable: {
17
+ readonly file: "protobase.icon-maskable.png";
18
+ readonly size: 512;
19
+ };
20
+ readonly appleTouch: {
21
+ readonly file: "protobase.apple-touch-icon.png";
22
+ readonly size: 180;
23
+ };
24
+ };
25
+ //#endregion
@@ -0,0 +1,26 @@
1
+ //#region src/png-icons.ts
2
+ /**
3
+ * The PNG icons a project may put beside its `protobase.favicon.svg`, for platforms that take no SVG, each square at
4
+ * `size` pixels and answered on the app's own origin at `/<file>`: Android's 192 and 512 pixel icons, a 512 pixel
5
+ * maskable one whose mark keeps to the middle 80%, and the 180 pixel Apple touch icon an iPhone home screen shows.
6
+ */
7
+ const pngIcons = {
8
+ icon192: {
9
+ file: "protobase.icon-192.png",
10
+ size: 192
11
+ },
12
+ icon512: {
13
+ file: "protobase.icon-512.png",
14
+ size: 512
15
+ },
16
+ maskable: {
17
+ file: "protobase.icon-maskable.png",
18
+ size: 512
19
+ },
20
+ appleTouch: {
21
+ file: "protobase.apple-touch-icon.png",
22
+ size: 180
23
+ }
24
+ };
25
+ //#endregion
26
+ export { pngIcons };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@protobase/schema",
3
- "version": "0.47.0",
3
+ "version": "0.48.0",
4
4
  "description": "Resource, field, view and access definitions for Protobase configs.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -16,7 +16,8 @@
16
16
  },
17
17
  "exports": {
18
18
  ".": "./dist/index.js",
19
- "./internal": "./dist/internal.js"
19
+ "./internal": "./dist/internal.js",
20
+ "./png-icons": "./dist/png-icons.js"
20
21
  },
21
22
  "types": "./dist/index.d.ts",
22
23
  "files": [