@expressms/smartapp-sdk 1.14.0-alpha.3 → 1.14.0-alpha.7
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.
|
@@ -137,6 +137,12 @@ export interface InitialDataMenuAction extends InitialData {
|
|
|
137
137
|
files?: File[];
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
|
+
export interface InitialDataLink extends InitialData {
|
|
141
|
+
initiator: 'link_regex';
|
|
142
|
+
meta: {
|
|
143
|
+
url: string;
|
|
144
|
+
};
|
|
145
|
+
}
|
|
140
146
|
export type RuleDownload = {
|
|
141
147
|
action: 'download';
|
|
142
148
|
ruleMeta: {
|
|
@@ -173,9 +179,10 @@ export type ReadyEventResponse = {
|
|
|
173
179
|
isMain?: boolean;
|
|
174
180
|
type: string;
|
|
175
181
|
openSmartAppMeta?: object;
|
|
176
|
-
initialData?: InitialDataEmail | InitialDataProfileAction | InitialDataPush | InitialDataDeeplink | InitialDataMenuAction;
|
|
182
|
+
initialData?: InitialDataEmail | InitialDataProfileAction | InitialDataPush | InitialDataDeeplink | InitialDataMenuAction | InitialDataLink;
|
|
177
183
|
rules?: Array<RuleDownload | RuleUpload | RuleShare | RuleCopy>;
|
|
178
184
|
isPinned?: boolean;
|
|
185
|
+
toolbarVisible?: boolean;
|
|
179
186
|
};
|
|
180
187
|
} | undefined;
|
|
181
188
|
export interface File {
|
|
@@ -137,6 +137,12 @@ export interface InitialDataMenuAction extends InitialData {
|
|
|
137
137
|
files?: File[];
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
|
+
export interface InitialDataLink extends InitialData {
|
|
141
|
+
initiator: 'link_regex';
|
|
142
|
+
meta: {
|
|
143
|
+
url: string;
|
|
144
|
+
};
|
|
145
|
+
}
|
|
140
146
|
export type RuleDownload = {
|
|
141
147
|
action: 'download';
|
|
142
148
|
ruleMeta: {
|
|
@@ -173,9 +179,10 @@ export type ReadyEventResponse = {
|
|
|
173
179
|
isMain?: boolean;
|
|
174
180
|
type: string;
|
|
175
181
|
openSmartAppMeta?: object;
|
|
176
|
-
initialData?: InitialDataEmail | InitialDataProfileAction | InitialDataPush | InitialDataDeeplink | InitialDataMenuAction;
|
|
182
|
+
initialData?: InitialDataEmail | InitialDataProfileAction | InitialDataPush | InitialDataDeeplink | InitialDataMenuAction | InitialDataLink;
|
|
177
183
|
rules?: Array<RuleDownload | RuleUpload | RuleShare | RuleCopy>;
|
|
178
184
|
isPinned?: boolean;
|
|
185
|
+
toolbarVisible?: boolean;
|
|
179
186
|
};
|
|
180
187
|
} | undefined;
|
|
181
188
|
export interface File {
|