@expressms/smartapp-sdk 1.14.0-alpha.3 → 1.14.0-alpha.6

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,7 +179,7 @@ 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;
179
185
  };
@@ -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,7 +179,7 @@ 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;
179
185
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expressms/smartapp-sdk",
3
- "version": "1.14.0-alpha.3",
3
+ "version": "1.14.0-alpha.6",
4
4
  "description": "Smartapp SDK",
5
5
  "main": "build/main/index.js",
6
6
  "typings": "build/main/index.d.ts",