@rippling/pebble-sdui-web 0.9.1 → 0.9.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/dist/catalogs/custom-apps/action-params.d.ts +6 -5
- package/dist/catalogs/custom-apps/catalog.d.ts +1 -1
- package/dist/catalogs/custom-apps/component-props.d.ts +4 -0
- package/dist/catalogs/custom-apps/index.cjs +2 -2
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.d.ts +1 -1
- package/dist/catalogs/custom-apps/index.js +17 -21
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/actions.md +7 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/readme.md +1 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/types.md +10 -0
- package/package.json +1 -1
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* Generated action parameter interfaces for custom-apps.
|
|
3
|
-
*
|
|
4
|
-
* Auto-generated from catalogs/custom-apps.catalog.json — do not edit.
|
|
5
|
-
*/
|
|
1
|
+
import { TriggerFunctionParamsInput } from './component-props';
|
|
6
2
|
export interface NavigateParams {
|
|
7
3
|
openInNewTab?: boolean;
|
|
8
4
|
path: string;
|
|
@@ -29,4 +25,9 @@ export interface ShowNotificationParams {
|
|
|
29
25
|
variant: 'info' | 'success' | 'warning' | 'error';
|
|
30
26
|
}
|
|
31
27
|
export interface TriggerFunctionParams {
|
|
28
|
+
functionApiName: string;
|
|
29
|
+
inputs: TriggerFunctionParamsInput;
|
|
30
|
+
onError?: unknown;
|
|
31
|
+
onSuccess?: unknown;
|
|
32
|
+
responsePath?: string;
|
|
32
33
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* action definitions, directive definitions, and spec validation.
|
|
8
8
|
*/
|
|
9
9
|
export declare const CATALOG_NAME = "custom-apps";
|
|
10
|
-
export declare const CATALOG_VERSION = "1.4.
|
|
10
|
+
export declare const CATALOG_VERSION = "1.4.3";
|
|
11
11
|
/** Return component descriptions keyed by component name. */
|
|
12
12
|
export declare function getComponents(): Record<string, string>;
|
|
13
13
|
/** Return action descriptions keyed by action name. */
|
|
@@ -2167,6 +2167,10 @@ export interface TreeTag {
|
|
|
2167
2167
|
appearance?: string;
|
|
2168
2168
|
text: string;
|
|
2169
2169
|
}
|
|
2170
|
+
export interface TriggerFunctionParamsInput {
|
|
2171
|
+
action: string;
|
|
2172
|
+
[key: string]: unknown | string;
|
|
2173
|
+
}
|
|
2170
2174
|
/** User cache data with smallPhoto fallback */
|
|
2171
2175
|
export interface User_cache {
|
|
2172
2176
|
smallPhoto?: string;
|