monday-sdk-js 0.5.5 → 0.5.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.
package/package.json
CHANGED
|
@@ -91,7 +91,7 @@ export interface ClientData {
|
|
|
91
91
|
T extends keyof GetterResponse = keyof GetterResponse,
|
|
92
92
|
AppFeatureType extends AppFeatureTypes = AppFeatureTypes
|
|
93
93
|
>(
|
|
94
|
-
type: T,
|
|
94
|
+
type: T | string,
|
|
95
95
|
params?: Record<string, any> & { appFeatureType?: AppFeatureType }
|
|
96
96
|
): Promise<Response<GetterResponse<AppFeatureType>[T] & CustomResponse>>;
|
|
97
97
|
|
|
@@ -107,7 +107,7 @@ export interface ClientData {
|
|
|
107
107
|
T extends SubscribableEvents = SubscribableEvents,
|
|
108
108
|
AppFeatureType extends AppFeatureTypes = AppFeatureTypes
|
|
109
109
|
>(
|
|
110
|
-
typeOrTypes: T | ReadonlyArray<T>,
|
|
110
|
+
typeOrTypes: (T | string) | ReadonlyArray<T | string>,
|
|
111
111
|
callback: (res: { data: SubscribableEventsResponse<AppFeatureType>[T] & CustomResponse }) => void,
|
|
112
112
|
params?: Record<string, any> & { appFeatureType?: AppFeatureType }
|
|
113
113
|
): () => void;
|