pangea-lib 2.11.655 → 2.11.656
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.
|
@@ -27,7 +27,7 @@ export type EndpointSettings = {
|
|
|
27
27
|
response: EndpointSettingsResponse;
|
|
28
28
|
meta?: EndpointSettingsMeta;
|
|
29
29
|
};
|
|
30
|
-
export type ApiEndpoints = Record<string, Record<ApiConnectionMethod, EndpointSettings
|
|
30
|
+
export type ApiEndpoints = Record<string, Partial<Record<ApiConnectionMethod, EndpointSettings>>>;
|
|
31
31
|
export type ApiEndpointName<AE extends ApiEndpoints, CM extends ApiConnectionMethod> = {
|
|
32
32
|
[K in keyof AE]: CM extends keyof AE[K] ? K : never;
|
|
33
33
|
}[keyof AE];
|