-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(te): Refactor TEs to use authority and lots of cleanup #1056
Conversation
Coverage Report
File Coverage
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please try ChatGPT again so we can have a coherent PR title and description. Really helps for the FUTURE
lib/libs/utils.ts
Outdated
export function getNamespace<T extends BaseIndex>(baseIndex?: T): Index; | ||
export function getNamespace(baseIndex?: BaseIndex) { | ||
const indexNamespace = process.env.indexNamespace ?? ""; | ||
export function getOsNamespace<T extends BaseIndex>(baseIndex: T): Index; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the overloaded function is no longer needed, can we remove it? Also, perhaps we can adjust the return value to return what you typed in itemExists
, line 8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the overloaded function is no longer needed, can we remove it? Also, perhaps we can adjust the return value to return what you typed in
itemExists
, line 8
good call, refactored.
i hate waited resources. nothing unused, nothing undefined. as it should be in code and life
🎉 This PR is included in version 1.5.0-val.113 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Adding or refactoring TE's to match the appropriate authority template types.
Also did some cleaning up of index namespace functions and requiring certain environment variables.
I did a little refactoring of the Get Template functionality to make it more readable.
🎫 Linked Ticket
https://jiraent.cms.gov/browse/OY2-30069
📸 Screenshots / Demo