-
Notifications
You must be signed in to change notification settings - Fork 390
Allow RemoteConfig to auto-generate typings, separate internal vs external APIs #984
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
Conversation
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.
Looks good. Just one suggestion from me. Please wait for @lahirumaramba to review.
RemoteConfigTemplate, | ||
TagColor, | ||
ListVersionsResult, | ||
Version, | ||
} from '../../../src/remote-config/remote-config-api-client'; | ||
import { FirebaseRemoteConfigError } from '../../../src/remote-config/remote-config-utils'; | ||
import { RemoteConfigApiClient } from '../../../src/remote-config/remote-config-api-client-internal'; | ||
import { FirebaseRemoteConfigError } from '../../../src/remote-config/remote-config-utils-internal'; |
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.
Just remote-config-internal
. Or just move into the remote-config-api-client-internal
module. *-utils-internal
is an unusual name.
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.
Yeah. remote-config-utils
only contains FirebaseRemoteConfigError
and error codes. We should be able to move it into remote-config-api-client-internal
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.
LGTM!
Please check Hiranya's comment. Thank you!
RemoteConfigTemplate, | ||
TagColor, | ||
ListVersionsResult, | ||
Version, | ||
} from '../../../src/remote-config/remote-config-api-client'; | ||
import { FirebaseRemoteConfigError } from '../../../src/remote-config/remote-config-utils'; | ||
import { RemoteConfigApiClient } from '../../../src/remote-config/remote-config-api-client-internal'; | ||
import { FirebaseRemoteConfigError } from '../../../src/remote-config/remote-config-utils-internal'; |
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.
Yeah. remote-config-utils
only contains FirebaseRemoteConfigError
and error codes. We should be able to move it into remote-config-api-client-internal
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 check the comment on remote-config-utils
... other than that everything else look good!
Thanks for the feedback, PTAL :) |
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.
LGTM
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.
LGTM! Thank you!
Context
The goal is to bridge the gap between today's Admin SDK (manually curated d.ts files, nested namespaces) and a modularized SDK that has auto-generated typings.
This is the seventh milestone from:
go/firebase-node-auto-typing
.Goals for this PR
Prerequisites
None.
Test Plan