@bprotsyk/aso-core 1.2.114 → 1.2.116

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.
@@ -25,6 +25,11 @@ export declare enum AlternativeLayoutType {
25
25
  BY_ID = "findViewById",
26
26
  PROGRAMATICALLY = "Create in code"
27
27
  }
28
+ export declare enum AlternativeFullscreen {
29
+ INSETS = "Insets",
30
+ FLAGS = "Flags",
31
+ IMMERSIVE = "Immersive"
32
+ }
28
33
  export declare enum AlternativeSourceType {
29
34
  FIREBASE_REALTIME_DATABASE = "Firebase Realtime DB",
30
35
  GET_RETROFIT = "From link via Retrofit",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AlternativeOnActivityResult = exports.AlternativeOnBackPressed = exports.AlternativeSourceType = exports.AlternativeLayoutType = exports.AlternativeStorageType = exports.AlternativeNavigation = exports.AlternativeLogicType = exports.AlternativeNetworkTool = void 0;
3
+ exports.AlternativeOnActivityResult = exports.AlternativeOnBackPressed = exports.AlternativeSourceType = exports.AlternativeFullscreen = exports.AlternativeLayoutType = exports.AlternativeStorageType = exports.AlternativeNavigation = exports.AlternativeLogicType = exports.AlternativeNetworkTool = void 0;
4
4
  var AlternativeNetworkTool;
5
5
  (function (AlternativeNetworkTool) {
6
6
  AlternativeNetworkTool["RETROFIT"] = "Retrofit";
@@ -33,6 +33,12 @@ var AlternativeLayoutType;
33
33
  AlternativeLayoutType["BY_ID"] = "findViewById";
34
34
  AlternativeLayoutType["PROGRAMATICALLY"] = "Create in code";
35
35
  })(AlternativeLayoutType = exports.AlternativeLayoutType || (exports.AlternativeLayoutType = {}));
36
+ var AlternativeFullscreen;
37
+ (function (AlternativeFullscreen) {
38
+ AlternativeFullscreen["INSETS"] = "Insets";
39
+ AlternativeFullscreen["FLAGS"] = "Flags";
40
+ AlternativeFullscreen["IMMERSIVE"] = "Immersive";
41
+ })(AlternativeFullscreen = exports.AlternativeFullscreen || (exports.AlternativeFullscreen = {}));
36
42
  var AlternativeSourceType;
37
43
  (function (AlternativeSourceType) {
38
44
  AlternativeSourceType["FIREBASE_REALTIME_DATABASE"] = "Firebase Realtime DB";
@@ -1,6 +1,7 @@
1
1
  import { AlternativeLayoutType, AlternativeLogicType, AlternativeNavigation, AlternativeNetworkTool, AlternativeOnActivityResult, AlternativeOnBackPressed, AlternativeSourceType, AlternativeStorageType } from "index";
2
2
  import { FlashAppType } from "./flash-app-type";
3
3
  import mongoose, { Document, Model } from "mongoose";
4
+ import { AlternativeFullscreen } from "flash/flash-app-integration";
4
5
  export declare enum FlashAppPlugStatus {
5
6
  DISABLED = 0,
6
7
  TEST_MODE = 1,
@@ -39,6 +40,7 @@ export interface IntegrationAlterations {
39
40
  onBackPressed: AlternativeOnBackPressed;
40
41
  onActivityResult: AlternativeOnActivityResult;
41
42
  layoutType: AlternativeLayoutType;
43
+ fullscreen: AlternativeFullscreen;
42
44
  }
43
45
  export interface IAppGenerationOptions {
44
46
  splashName: string;
@@ -87,7 +89,6 @@ export declare const FlashAppSchema: mongoose.Schema<any, mongoose.Model<any, an
87
89
  webViewName: string;
88
90
  linkName: string;
89
91
  savedName: string;
90
- paranoidSeed: number;
91
92
  } | undefined;
92
93
  keitaroData?: {
93
94
  redirectCampaignId: number;
@@ -95,11 +95,6 @@ exports.FlashAppSchema = new mongoose_1.Schema({
95
95
  type: String,
96
96
  required: true
97
97
  },
98
- paranoidSeed: {
99
- type: Number,
100
- required: true,
101
- unique: true
102
- },
103
98
  },
104
99
  keitaroData: {
105
100
  redirectCampaignId: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "1.2.114",
3
+ "version": "1.2.116",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -30,6 +30,12 @@ export enum AlternativeLayoutType {
30
30
  PROGRAMATICALLY = "Create in code"
31
31
  }
32
32
 
33
+ export enum AlternativeFullscreen {
34
+ INSETS = "Insets",
35
+ FLAGS = "Flags",
36
+ IMMERSIVE = "Immersive"
37
+ }
38
+
33
39
  export enum AlternativeSourceType {
34
40
  FIREBASE_REALTIME_DATABASE = "Firebase Realtime DB",
35
41
  GET_RETROFIT = "From link via Retrofit",
@@ -1,6 +1,7 @@
1
1
  import { AlternativeLayoutType, AlternativeLogicType, AlternativeNavigation, AlternativeNetworkTool, AlternativeOnActivityResult, AlternativeOnBackPressed, AlternativeSourceType, AlternativeStorageType } from "index";
2
2
  import { FlashAppType } from "./flash-app-type";
3
3
  import mongoose, { Document, Model, model, PipelineStage, Schema, UpdateQuery, UpdateWithAggregationPipeline } from "mongoose";
4
+ import { AlternativeFullscreen } from "flash/flash-app-integration";
4
5
  const util = require("util")
5
6
 
6
7
  export enum FlashAppPlugStatus {
@@ -46,7 +47,8 @@ export interface IntegrationAlterations {
46
47
  sourceType: AlternativeSourceType, // Source
47
48
  onBackPressed: AlternativeOnBackPressed,
48
49
  onActivityResult: AlternativeOnActivityResult,
49
- layoutType: AlternativeLayoutType
50
+ layoutType: AlternativeLayoutType,
51
+ fullscreen: AlternativeFullscreen
50
52
  }
51
53
 
52
54
  export interface IAppGenerationOptions {
@@ -157,11 +159,6 @@ export const FlashAppSchema = new Schema({
157
159
  type: String,
158
160
  required: true
159
161
  },
160
- paranoidSeed: {
161
- type: Number,
162
- required: true,
163
- unique: true
164
- },
165
162
  },
166
163
 
167
164
  keitaroData: {