-
-
Notifications
You must be signed in to change notification settings - Fork 730
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
213 additions
and
11 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
21 changes: 21 additions & 0 deletions
21
frontend/src/openapi/models/personalDashboardProjectDetailsSchemaInsights.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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* Insights for the project | ||
*/ | ||
export type PersonalDashboardProjectDetailsSchemaInsights = { | ||
/** | ||
* The average health score in the current window of the last 4 weeks | ||
* @nullable | ||
*/ | ||
avgHealthCurrentWindow: number | null; | ||
/** | ||
* The average health score in the previous 4 weeks before the current window | ||
* @nullable | ||
*/ | ||
avgHealthPastWindow: number | null; | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
import type { SignalQuerySignalSchema } from './signalQuerySignalSchema'; | ||
|
||
/** | ||
* A list of signals that have been registered by the system | ||
*/ | ||
export interface SignalQueryResponseSchema { | ||
/** The list of signals */ | ||
signals: SignalQuerySignalSchema[]; | ||
/** | ||
* The total count of signals | ||
* @minimum 0 | ||
*/ | ||
total: number; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
import type { SignalQuerySignalSchemaPayload } from './signalQuerySignalSchemaPayload'; | ||
import type { SignalQuerySignalSchemaSource } from './signalQuerySignalSchemaSource'; | ||
|
||
/** | ||
* An object describing a signal enriched with source data. | ||
*/ | ||
export interface SignalQuerySignalSchema { | ||
/** The date and time of when the signal was created. */ | ||
createdAt: string; | ||
/** | ||
* The signal's ID. Signal IDs are incrementing integers. In other words, a more recently created signal will always have a higher ID than an older one. | ||
* @minimum 1 | ||
*/ | ||
id: number; | ||
/** The payload of the signal. */ | ||
payload?: SignalQuerySignalSchemaPayload; | ||
/** The signal source type. Should be used along with `sourceId` to uniquely identify the resource that created this signal. */ | ||
source: SignalQuerySignalSchemaSource; | ||
/** | ||
* A more detailed description of the source that registered this signal. | ||
* @nullable | ||
*/ | ||
sourceDescription?: string | null; | ||
/** The ID of the source that created this signal. Should be used along with `source` to uniquely identify the resource that created this signal. */ | ||
sourceId: number; | ||
/** | ||
* The name of the source that registered this signal. | ||
* @nullable | ||
*/ | ||
sourceName?: string | null; | ||
/** | ||
* The name of the token used to register this signal. | ||
* @nullable | ||
*/ | ||
tokenName?: string | null; | ||
} |
10 changes: 10 additions & 0 deletions
10
frontend/src/openapi/models/signalQuerySignalSchemaPayload.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* The payload of the signal. | ||
*/ | ||
export type SignalQuerySignalSchemaPayload = { [key: string]: unknown }; |
16 changes: 16 additions & 0 deletions
16
frontend/src/openapi/models/signalQuerySignalSchemaSource.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** | ||
* Generated by Orval | ||
* Do not edit manually. | ||
* See `gen:api` script in package.json | ||
*/ | ||
|
||
/** | ||
* The signal source type. Should be used along with `sourceId` to uniquely identify the resource that created this signal. | ||
*/ | ||
export type SignalQuerySignalSchemaSource = | ||
(typeof SignalQuerySignalSchemaSource)[keyof typeof SignalQuerySignalSchemaSource]; | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-redeclare | ||
export const SignalQuerySignalSchemaSource = { | ||
'signal-endpoint': 'signal-endpoint', | ||
} as const; |