-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix response in codegen * start timeseries work * more progress: * more progress * get tests working * rest of timeseries * fix index files * remove some commented out code * self review cleanup * refactor duration mappping * remove unused code * review comments * add changeset plus one minor revision * modify report
- Loading branch information
Showing
32 changed files
with
941 additions
and
105 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@osdk/e2e.generated.catchall": minor | ||
"@osdk/e2e.sandbox.catchall": minor | ||
"@osdk/shared.test": minor | ||
"@osdk/client.api": minor | ||
"@osdk/client": minor | ||
--- | ||
|
||
Add support for timeseries in 2.0 syntax. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
* Copyright 2024 Palantir Technologies, Inc. All rights reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
export const TimeDurationMapping = { | ||
"sec": "SECONDS", | ||
"seconds": "SECONDS", | ||
"min": "MINUTES", | ||
"minute": "MINUTES", | ||
"minutes": "MINUTES", | ||
"hr": "HOURS", | ||
"hrs": "HOURS", | ||
"hour": "HOURS", | ||
"hours": "HOURS", | ||
"day": "DAYS", | ||
"days": "DAYS", | ||
"wk": "WEEKS", | ||
"week": "WEEKS", | ||
"weeks": "WEEKS", | ||
"mos": "MONTHS", | ||
"month": "MONTHS", | ||
"months": "MONTHS", | ||
"yr": "YEARS", | ||
"year": "YEARS", | ||
"years": "YEARS", | ||
} satisfies Record< | ||
string, | ||
| "YEARS" | ||
| "MONTHS" | ||
| "WEEKS" | ||
| "DAYS" | ||
| "HOURS" | ||
| "MINUTES" | ||
| "SECONDS" | ||
>; |
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
Oops, something went wrong.