@apps-in-toss/plugins 1.6.1 → 1.6.2
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/CHANGELOG.md +8 -0
- package/dist/index.cjs +1 -6
- package/dist/index.d.cts +1 -7
- package/dist/index.d.ts +1 -7
- package/dist/index.js +1 -6
- package/dist/internal.cjs +1 -5
- package/dist/internal.js +1 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -631,7 +631,7 @@ var validateAppManifest = (() => {
|
|
|
631
631
|
})();
|
|
632
632
|
var validateAppInTossPluginOptions = (() => {
|
|
633
633
|
const _io0 = (input) => (void 0 === input.appType || "general" === input.appType || "game" === input.appType) && ("object" === typeof input.brand && null !== input.brand && _io1(input.brand)) && (Array.isArray(input.permissions) && input.permissions.every((elem) => "object" === typeof elem && null !== elem && _iu0(elem))) && (void 0 === input.navigationBar || "object" === typeof input.navigationBar && null !== input.navigationBar && false === Array.isArray(input.navigationBar) && _io7(input.navigationBar));
|
|
634
|
-
const _io1 = (input) => "string" === typeof input.displayName && "string" === typeof input.primaryColor && "string" === typeof input.icon
|
|
634
|
+
const _io1 = (input) => "string" === typeof input.displayName && "string" === typeof input.primaryColor && "string" === typeof input.icon;
|
|
635
635
|
const _io2 = (input) => "clipboard" === input.name && ("read" === input.access || "write" === input.access);
|
|
636
636
|
const _io3 = (input) => "geolocation" === input.name && "access" === input.access;
|
|
637
637
|
const _io4 = (input) => "contacts" === input.name && ("read" === input.access || "write" === input.access);
|
|
@@ -713,10 +713,6 @@ var validateAppInTossPluginOptions = (() => {
|
|
|
713
713
|
path: _path + ".icon",
|
|
714
714
|
expected: "string",
|
|
715
715
|
value: input.icon
|
|
716
|
-
}), "basic" === input.bridgeColorMode || "inverted" === input.bridgeColorMode || _report(_exceptionable, {
|
|
717
|
-
path: _path + ".bridgeColorMode",
|
|
718
|
-
expected: '("basic" | "inverted")',
|
|
719
|
-
value: input.bridgeColorMode
|
|
720
716
|
})].every((flag) => flag);
|
|
721
717
|
const _vo2 = (input, _path, _exceptionable = true) => ["clipboard" === input.name || _report(_exceptionable, {
|
|
722
718
|
path: _path + ".name",
|
|
@@ -1261,7 +1257,6 @@ function setupRuntimeSetupScript(config) {
|
|
|
1261
1257
|
{
|
|
1262
1258
|
appType: config.appType,
|
|
1263
1259
|
deploymentId: config.deploymentId,
|
|
1264
|
-
brandBridgeColorMode: config.brand.bridgeColorMode,
|
|
1265
1260
|
brandDisplayName: config.brand.displayName,
|
|
1266
1261
|
brandPrimaryColor: config.brand.primaryColor,
|
|
1267
1262
|
brandIcon: config.brand.icon,
|
package/dist/index.d.cts
CHANGED
|
@@ -54,7 +54,6 @@ interface AppsInTossPluginOptions {
|
|
|
54
54
|
displayName: string;
|
|
55
55
|
primaryColor: string;
|
|
56
56
|
icon: string;
|
|
57
|
-
bridgeColorMode: BridgeTheme;
|
|
58
57
|
};
|
|
59
58
|
permissions: AppManifest['permissions'];
|
|
60
59
|
navigationBar?: {
|
|
@@ -63,11 +62,6 @@ interface AppsInTossPluginOptions {
|
|
|
63
62
|
initialAccessoryButton?: InitialAccessoryButton;
|
|
64
63
|
};
|
|
65
64
|
}
|
|
66
|
-
/**
|
|
67
|
-
* - `basic`: 기본 테마 (흰 배경)
|
|
68
|
-
* - `inverted`: 반전 테마 (검은 배경)
|
|
69
|
-
*/
|
|
70
|
-
type BridgeTheme = 'basic' | 'inverted';
|
|
71
65
|
declare const validateAppInTossPluginOptions: ((input: unknown) => typia.IValidation<AppsInTossPluginOptions>) & _standard_schema_spec.StandardSchemaV1<unknown, AppsInTossPluginOptions>;
|
|
72
66
|
|
|
73
67
|
declare function withAppsInTossCommon(plugins: (GranitePluginCore | Promise<GranitePluginCore>)[], options: AppsInTossPluginOptions & {
|
|
@@ -161,4 +155,4 @@ declare function appsInTossPostNotice(): GranitePluginCore;
|
|
|
161
155
|
|
|
162
156
|
declare function requireMicroFrontendRuntime(): GranitePluginCore;
|
|
163
157
|
|
|
164
|
-
export { type AppManifest, type AppsInTossPluginOptions, type
|
|
158
|
+
export { type AppManifest, type AppsInTossPluginOptions, type BuildResult, type CreateArtifactOptions, type InitialAccessoryButton, type Permission, analytics, appsInToss, appsInTossAppJson, appsInTossCreateArtifact, appsInTossDevServer, appsInTossEsbuildConfig, appsInTossMetroConfig, appsInTossPostNotice, bedrockCompat, collectDependencyVersions, createArtifact, getRuntimeSetupScript, nativeModuleProxyContent, reactNativeModuleProxyContent, requireMicroFrontendRuntime, setupHostRuntimeSetupScript, setupRuntimeSetupScript, validateAppInTossPluginOptions, validateAppManifest, validateZip, withAppsInTossCommon };
|
package/dist/index.d.ts
CHANGED
|
@@ -54,7 +54,6 @@ interface AppsInTossPluginOptions {
|
|
|
54
54
|
displayName: string;
|
|
55
55
|
primaryColor: string;
|
|
56
56
|
icon: string;
|
|
57
|
-
bridgeColorMode: BridgeTheme;
|
|
58
57
|
};
|
|
59
58
|
permissions: AppManifest['permissions'];
|
|
60
59
|
navigationBar?: {
|
|
@@ -63,11 +62,6 @@ interface AppsInTossPluginOptions {
|
|
|
63
62
|
initialAccessoryButton?: InitialAccessoryButton;
|
|
64
63
|
};
|
|
65
64
|
}
|
|
66
|
-
/**
|
|
67
|
-
* - `basic`: 기본 테마 (흰 배경)
|
|
68
|
-
* - `inverted`: 반전 테마 (검은 배경)
|
|
69
|
-
*/
|
|
70
|
-
type BridgeTheme = 'basic' | 'inverted';
|
|
71
65
|
declare const validateAppInTossPluginOptions: ((input: unknown) => typia.IValidation<AppsInTossPluginOptions>) & _standard_schema_spec.StandardSchemaV1<unknown, AppsInTossPluginOptions>;
|
|
72
66
|
|
|
73
67
|
declare function withAppsInTossCommon(plugins: (GranitePluginCore | Promise<GranitePluginCore>)[], options: AppsInTossPluginOptions & {
|
|
@@ -161,4 +155,4 @@ declare function appsInTossPostNotice(): GranitePluginCore;
|
|
|
161
155
|
|
|
162
156
|
declare function requireMicroFrontendRuntime(): GranitePluginCore;
|
|
163
157
|
|
|
164
|
-
export { type AppManifest, type AppsInTossPluginOptions, type
|
|
158
|
+
export { type AppManifest, type AppsInTossPluginOptions, type BuildResult, type CreateArtifactOptions, type InitialAccessoryButton, type Permission, analytics, appsInToss, appsInTossAppJson, appsInTossCreateArtifact, appsInTossDevServer, appsInTossEsbuildConfig, appsInTossMetroConfig, appsInTossPostNotice, bedrockCompat, collectDependencyVersions, createArtifact, getRuntimeSetupScript, nativeModuleProxyContent, reactNativeModuleProxyContent, requireMicroFrontendRuntime, setupHostRuntimeSetupScript, setupRuntimeSetupScript, validateAppInTossPluginOptions, validateAppManifest, validateZip, withAppsInTossCommon };
|
package/dist/index.js
CHANGED
|
@@ -604,7 +604,7 @@ var validateAppManifest = (() => {
|
|
|
604
604
|
})();
|
|
605
605
|
var validateAppInTossPluginOptions = (() => {
|
|
606
606
|
const _io0 = (input) => (void 0 === input.appType || "general" === input.appType || "game" === input.appType) && ("object" === typeof input.brand && null !== input.brand && _io1(input.brand)) && (Array.isArray(input.permissions) && input.permissions.every((elem) => "object" === typeof elem && null !== elem && _iu0(elem))) && (void 0 === input.navigationBar || "object" === typeof input.navigationBar && null !== input.navigationBar && false === Array.isArray(input.navigationBar) && _io7(input.navigationBar));
|
|
607
|
-
const _io1 = (input) => "string" === typeof input.displayName && "string" === typeof input.primaryColor && "string" === typeof input.icon
|
|
607
|
+
const _io1 = (input) => "string" === typeof input.displayName && "string" === typeof input.primaryColor && "string" === typeof input.icon;
|
|
608
608
|
const _io2 = (input) => "clipboard" === input.name && ("read" === input.access || "write" === input.access);
|
|
609
609
|
const _io3 = (input) => "geolocation" === input.name && "access" === input.access;
|
|
610
610
|
const _io4 = (input) => "contacts" === input.name && ("read" === input.access || "write" === input.access);
|
|
@@ -686,10 +686,6 @@ var validateAppInTossPluginOptions = (() => {
|
|
|
686
686
|
path: _path + ".icon",
|
|
687
687
|
expected: "string",
|
|
688
688
|
value: input.icon
|
|
689
|
-
}), "basic" === input.bridgeColorMode || "inverted" === input.bridgeColorMode || _report(_exceptionable, {
|
|
690
|
-
path: _path + ".bridgeColorMode",
|
|
691
|
-
expected: '("basic" | "inverted")',
|
|
692
|
-
value: input.bridgeColorMode
|
|
693
689
|
})].every((flag) => flag);
|
|
694
690
|
const _vo2 = (input, _path, _exceptionable = true) => ["clipboard" === input.name || _report(_exceptionable, {
|
|
695
691
|
path: _path + ".name",
|
|
@@ -1234,7 +1230,6 @@ function setupRuntimeSetupScript(config) {
|
|
|
1234
1230
|
{
|
|
1235
1231
|
appType: config.appType,
|
|
1236
1232
|
deploymentId: config.deploymentId,
|
|
1237
|
-
brandBridgeColorMode: config.brand.bridgeColorMode,
|
|
1238
1233
|
brandDisplayName: config.brand.displayName,
|
|
1239
1234
|
brandPrimaryColor: config.brand.primaryColor,
|
|
1240
1235
|
brandIcon: config.brand.icon,
|
package/dist/internal.cjs
CHANGED
|
@@ -604,7 +604,7 @@ var validateAppManifest = (() => {
|
|
|
604
604
|
})();
|
|
605
605
|
var validateAppInTossPluginOptions = (() => {
|
|
606
606
|
const _io0 = (input) => (void 0 === input.appType || "general" === input.appType || "game" === input.appType) && ("object" === typeof input.brand && null !== input.brand && _io1(input.brand)) && (Array.isArray(input.permissions) && input.permissions.every((elem) => "object" === typeof elem && null !== elem && _iu0(elem))) && (void 0 === input.navigationBar || "object" === typeof input.navigationBar && null !== input.navigationBar && false === Array.isArray(input.navigationBar) && _io7(input.navigationBar));
|
|
607
|
-
const _io1 = (input) => "string" === typeof input.displayName && "string" === typeof input.primaryColor && "string" === typeof input.icon
|
|
607
|
+
const _io1 = (input) => "string" === typeof input.displayName && "string" === typeof input.primaryColor && "string" === typeof input.icon;
|
|
608
608
|
const _io2 = (input) => "clipboard" === input.name && ("read" === input.access || "write" === input.access);
|
|
609
609
|
const _io3 = (input) => "geolocation" === input.name && "access" === input.access;
|
|
610
610
|
const _io4 = (input) => "contacts" === input.name && ("read" === input.access || "write" === input.access);
|
|
@@ -686,10 +686,6 @@ var validateAppInTossPluginOptions = (() => {
|
|
|
686
686
|
path: _path + ".icon",
|
|
687
687
|
expected: "string",
|
|
688
688
|
value: input.icon
|
|
689
|
-
}), "basic" === input.bridgeColorMode || "inverted" === input.bridgeColorMode || _report(_exceptionable, {
|
|
690
|
-
path: _path + ".bridgeColorMode",
|
|
691
|
-
expected: '("basic" | "inverted")',
|
|
692
|
-
value: input.bridgeColorMode
|
|
693
689
|
})].every((flag) => flag);
|
|
694
690
|
const _vo2 = (input, _path, _exceptionable = true) => ["clipboard" === input.name || _report(_exceptionable, {
|
|
695
691
|
path: _path + ".name",
|
package/dist/internal.js
CHANGED
|
@@ -597,7 +597,7 @@ var validateAppManifest = (() => {
|
|
|
597
597
|
})();
|
|
598
598
|
var validateAppInTossPluginOptions = (() => {
|
|
599
599
|
const _io0 = (input) => (void 0 === input.appType || "general" === input.appType || "game" === input.appType) && ("object" === typeof input.brand && null !== input.brand && _io1(input.brand)) && (Array.isArray(input.permissions) && input.permissions.every((elem) => "object" === typeof elem && null !== elem && _iu0(elem))) && (void 0 === input.navigationBar || "object" === typeof input.navigationBar && null !== input.navigationBar && false === Array.isArray(input.navigationBar) && _io7(input.navigationBar));
|
|
600
|
-
const _io1 = (input) => "string" === typeof input.displayName && "string" === typeof input.primaryColor && "string" === typeof input.icon
|
|
600
|
+
const _io1 = (input) => "string" === typeof input.displayName && "string" === typeof input.primaryColor && "string" === typeof input.icon;
|
|
601
601
|
const _io2 = (input) => "clipboard" === input.name && ("read" === input.access || "write" === input.access);
|
|
602
602
|
const _io3 = (input) => "geolocation" === input.name && "access" === input.access;
|
|
603
603
|
const _io4 = (input) => "contacts" === input.name && ("read" === input.access || "write" === input.access);
|
|
@@ -679,10 +679,6 @@ var validateAppInTossPluginOptions = (() => {
|
|
|
679
679
|
path: _path + ".icon",
|
|
680
680
|
expected: "string",
|
|
681
681
|
value: input.icon
|
|
682
|
-
}), "basic" === input.bridgeColorMode || "inverted" === input.bridgeColorMode || _report(_exceptionable, {
|
|
683
|
-
path: _path + ".bridgeColorMode",
|
|
684
|
-
expected: '("basic" | "inverted")',
|
|
685
|
-
value: input.bridgeColorMode
|
|
686
682
|
})].every((flag) => flag);
|
|
687
683
|
const _vo2 = (input, _path, _exceptionable = true) => ["clipboard" === input.name || _report(_exceptionable, {
|
|
688
684
|
path: _path + ".name",
|