-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: #1039 update insomania, cloud-alert to match the new api schema
- Loading branch information
undefined
committed
Jun 18, 2020
1 parent
2623ced
commit 7735943
Showing
12 changed files
with
227 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
packages/web-components-config-server/src/schemas/api-types.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { WebComponentConfig } from './schema' | ||
|
||
export type GetByClientIdParams = { traceId: string; data: Pick<WebComponentConfig, 'customerId'> } | ||
export type GetByClientIdParams = { traceId: string; data: Pick<WebComponentConfig, 'customerId' | 'appId'> } | ||
export type CreateParams = { traceId: string; data: WebComponentConfig } | ||
|
||
export type UpdateParams = { | ||
traceId: string | ||
data: Partial<WebComponentConfig> & { customerId: WebComponentConfig['customerId'] } | ||
data: Partial<WebComponentConfig> & { customerId: Pick<WebComponentConfig, 'customerId' | 'appId'> } | ||
} | ||
|
||
export type DeleteParams = { traceId: string; data: Pick<WebComponentConfig, 'customerId'> } | ||
export type DeleteParams = { traceId: string; data: Pick<WebComponentConfig, 'customerId' | 'appId'> } |
2 changes: 1 addition & 1 deletion
2
packages/web-components-config-server/src/tests/badges/badge-branches.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion
2
packages/web-components-config-server/src/tests/badges/badge-lines.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.