@apps-in-toss/plugins 2.7.1 → 2.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/dist/index.cjs +10 -2
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +10 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -208,7 +208,7 @@ var require_package = __commonJS({
|
|
|
208
208
|
module2.exports = {
|
|
209
209
|
name: "@apps-in-toss/plugins",
|
|
210
210
|
type: "module",
|
|
211
|
-
version: "2.
|
|
211
|
+
version: "2.9.0",
|
|
212
212
|
description: "The plugins for Apps In Toss",
|
|
213
213
|
scripts: {
|
|
214
214
|
test: "vitest --run",
|
|
@@ -1098,7 +1098,7 @@ var validateAppInTossPluginOptions = (() => {
|
|
|
1098
1098
|
const _io5 = (input) => "photos" === input.name && ("read" === input.access || "write" === input.access);
|
|
1099
1099
|
const _io6 = (input) => "camera" === input.name && "access" === input.access;
|
|
1100
1100
|
const _io7 = (input) => "microphone" === input.name && "access" === input.access;
|
|
1101
|
-
const _io8 = (input) => (void 0 === input.withBackButton || "boolean" === typeof input.withBackButton) && (void 0 === input.withHomeButton || "boolean" === typeof input.withHomeButton) && (void 0 === input.initialAccessoryButton || "object" === typeof input.initialAccessoryButton && null !== input.initialAccessoryButton && _io9(input.initialAccessoryButton));
|
|
1101
|
+
const _io8 = (input) => (void 0 === input.withBackButton || "boolean" === typeof input.withBackButton) && (void 0 === input.withHomeButton || "boolean" === typeof input.withHomeButton) && (void 0 === input.transparentBackground || "boolean" === typeof input.transparentBackground) && (void 0 === input.theme || "light" === input.theme || "dark" === input.theme) && (void 0 === input.initialAccessoryButton || "object" === typeof input.initialAccessoryButton && null !== input.initialAccessoryButton && _io9(input.initialAccessoryButton));
|
|
1102
1102
|
const _io9 = (input) => "string" === typeof input.id && "string" === typeof input.title && ("object" === typeof input.icon && null !== input.icon && _iu1(input.icon));
|
|
1103
1103
|
const _io10 = (input) => "object" === typeof input.source && null !== input.source && _io11(input.source) && (null !== input.name && void 0 === input.name);
|
|
1104
1104
|
const _io11 = (input) => "string" === typeof input.uri;
|
|
@@ -1243,6 +1243,14 @@ var validateAppInTossPluginOptions = (() => {
|
|
|
1243
1243
|
path: _path + ".withHomeButton",
|
|
1244
1244
|
expected: "(boolean | undefined)",
|
|
1245
1245
|
value: input.withHomeButton
|
|
1246
|
+
}), void 0 === input.transparentBackground || "boolean" === typeof input.transparentBackground || _report(_exceptionable, {
|
|
1247
|
+
path: _path + ".transparentBackground",
|
|
1248
|
+
expected: "(boolean | undefined)",
|
|
1249
|
+
value: input.transparentBackground
|
|
1250
|
+
}), void 0 === input.theme || "light" === input.theme || "dark" === input.theme || _report(_exceptionable, {
|
|
1251
|
+
path: _path + ".theme",
|
|
1252
|
+
expected: '("dark" | "light" | undefined)',
|
|
1253
|
+
value: input.theme
|
|
1246
1254
|
}), void 0 === input.initialAccessoryButton || ("object" === typeof input.initialAccessoryButton && null !== input.initialAccessoryButton || _report(_exceptionable, {
|
|
1247
1255
|
path: _path + ".initialAccessoryButton",
|
|
1248
1256
|
expected: "(InitialAccessoryButton | undefined)",
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -206,7 +206,7 @@ var require_package = __commonJS({
|
|
|
206
206
|
module.exports = {
|
|
207
207
|
name: "@apps-in-toss/plugins",
|
|
208
208
|
type: "module",
|
|
209
|
-
version: "2.
|
|
209
|
+
version: "2.9.0",
|
|
210
210
|
description: "The plugins for Apps In Toss",
|
|
211
211
|
scripts: {
|
|
212
212
|
test: "vitest --run",
|
|
@@ -1072,7 +1072,7 @@ var validateAppInTossPluginOptions = (() => {
|
|
|
1072
1072
|
const _io5 = (input) => "photos" === input.name && ("read" === input.access || "write" === input.access);
|
|
1073
1073
|
const _io6 = (input) => "camera" === input.name && "access" === input.access;
|
|
1074
1074
|
const _io7 = (input) => "microphone" === input.name && "access" === input.access;
|
|
1075
|
-
const _io8 = (input) => (void 0 === input.withBackButton || "boolean" === typeof input.withBackButton) && (void 0 === input.withHomeButton || "boolean" === typeof input.withHomeButton) && (void 0 === input.initialAccessoryButton || "object" === typeof input.initialAccessoryButton && null !== input.initialAccessoryButton && _io9(input.initialAccessoryButton));
|
|
1075
|
+
const _io8 = (input) => (void 0 === input.withBackButton || "boolean" === typeof input.withBackButton) && (void 0 === input.withHomeButton || "boolean" === typeof input.withHomeButton) && (void 0 === input.transparentBackground || "boolean" === typeof input.transparentBackground) && (void 0 === input.theme || "light" === input.theme || "dark" === input.theme) && (void 0 === input.initialAccessoryButton || "object" === typeof input.initialAccessoryButton && null !== input.initialAccessoryButton && _io9(input.initialAccessoryButton));
|
|
1076
1076
|
const _io9 = (input) => "string" === typeof input.id && "string" === typeof input.title && ("object" === typeof input.icon && null !== input.icon && _iu1(input.icon));
|
|
1077
1077
|
const _io10 = (input) => "object" === typeof input.source && null !== input.source && _io11(input.source) && (null !== input.name && void 0 === input.name);
|
|
1078
1078
|
const _io11 = (input) => "string" === typeof input.uri;
|
|
@@ -1217,6 +1217,14 @@ var validateAppInTossPluginOptions = (() => {
|
|
|
1217
1217
|
path: _path + ".withHomeButton",
|
|
1218
1218
|
expected: "(boolean | undefined)",
|
|
1219
1219
|
value: input.withHomeButton
|
|
1220
|
+
}), void 0 === input.transparentBackground || "boolean" === typeof input.transparentBackground || _report(_exceptionable, {
|
|
1221
|
+
path: _path + ".transparentBackground",
|
|
1222
|
+
expected: "(boolean | undefined)",
|
|
1223
|
+
value: input.transparentBackground
|
|
1224
|
+
}), void 0 === input.theme || "light" === input.theme || "dark" === input.theme || _report(_exceptionable, {
|
|
1225
|
+
path: _path + ".theme",
|
|
1226
|
+
expected: '("dark" | "light" | undefined)',
|
|
1227
|
+
value: input.theme
|
|
1220
1228
|
}), void 0 === input.initialAccessoryButton || ("object" === typeof input.initialAccessoryButton && null !== input.initialAccessoryButton || _report(_exceptionable, {
|
|
1221
1229
|
path: _path + ".initialAccessoryButton",
|
|
1222
1230
|
expected: "(InitialAccessoryButton | undefined)",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apps-in-toss/plugins",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.9.0",
|
|
5
5
|
"description": "The plugins for Apps In Toss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "vitest --run",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@apps-in-toss/ait-format": "1.0.0",
|
|
42
|
-
"@apps-in-toss/plugin-compat": "2.
|
|
42
|
+
"@apps-in-toss/plugin-compat": "2.9.0",
|
|
43
43
|
"@granite-js/plugin-core": "1.0.20",
|
|
44
44
|
"@granite-js/plugin-micro-frontend": "1.0.20",
|
|
45
45
|
"@granite-js/plugin-sentry": "1.0.20",
|