-
Notifications
You must be signed in to change notification settings - Fork 373
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
Update SSRC API client #2457
Update SSRC API client #2457
Changes from all commits
a01fe56
e48a65a
ab077c4
8f145c6
f55d1a5
429394c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,7 @@ export interface RemoteConfigCondition { | |
} | ||
|
||
/** | ||
* Interface representing a Remote Config condition in the data-plane. | ||
* Represents a Remote Config condition in the dataplane. | ||
* A condition targets a specific group of users. A list of these conditions make up | ||
* part of a Remote Config template. | ||
*/ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's get TW reviews on these. Thanks! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah. Good point. I was focused on this being an internal client and overlooked that it updated the API. I've added @jenh as a reviewer. |
||
|
@@ -156,7 +156,7 @@ export interface RemoteConfigParameterGroup { | |
} | ||
|
||
/** | ||
* Interface representing a Remote Config client template. | ||
* Represents a Remote Config client template. | ||
*/ | ||
export interface RemoteConfigTemplate { | ||
/** | ||
|
@@ -189,7 +189,7 @@ export interface RemoteConfigTemplate { | |
} | ||
|
||
/** | ||
* Interface representing the data in a Remote Config server template. | ||
* Represents the data in a Remote Config server template. | ||
*/ | ||
export interface RemoteConfigServerTemplateData { | ||
/** | ||
|
@@ -203,7 +203,7 @@ export interface RemoteConfigServerTemplateData { | |
parameters: { [key: string]: RemoteConfigParameter }; | ||
|
||
/** | ||
* ETag of the current Remote Config template (readonly). | ||
* Current Remote Config template ETag (read-only). | ||
*/ | ||
readonly etag: string; | ||
|
||
|
@@ -214,28 +214,28 @@ export interface RemoteConfigServerTemplateData { | |
} | ||
|
||
/** | ||
* Interface representing a stateful abstraction for a Remote Config server template. | ||
* Represents a stateful abstraction for a Remote Config server template. | ||
*/ | ||
export interface RemoteConfigServerTemplate { | ||
|
||
/** | ||
* Cached {@link RemoteConfigServerTemplateData} | ||
* Cached {@link RemoteConfigServerTemplateData}. | ||
*/ | ||
cache: RemoteConfigServerTemplateData; | ||
|
||
/** | ||
* A {@link RemoteConfigServerConfig} containing default values for Config | ||
* A {@link RemoteConfigServerConfig} that contains default Config values. | ||
*/ | ||
defaultConfig: RemoteConfigServerConfig; | ||
|
||
/** | ||
* Evaluates the current template to produce a {@link RemoteConfigServerConfig} | ||
* Evaluates the current template to produce a {@link RemoteConfigServerConfig}. | ||
*/ | ||
evaluate(): RemoteConfigServerConfig; | ||
|
||
/** | ||
* Fetches and caches the current active version of the | ||
* {@link RemoteConfigServerTemplate} of the project. | ||
* project's {@link RemoteConfigServerTemplate}. | ||
*/ | ||
load(): Promise<void>; | ||
} | ||
|
@@ -364,6 +364,6 @@ export interface ListVersionsOptions { | |
} | ||
|
||
/** | ||
* Type representing the configuration produced by evaluating a server template. | ||
* Represents the configuration produced by evaluating a server template. | ||
*/ | ||
export type RemoteConfigServerConfig = { [key: string]: string | boolean | number } |
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.
@lahirumaramba I've found it helpful here and in the Web SDK to be able to point the SDK at a local server for testing while in development, and issue reproduction after release. I don't see other references to
process.env
in this SDK, though. Do you have a preferred way to reference an env var?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.
Thanks! This makes sense to me. We use
process.env
to handle other env variablesfirebase-admin-node/src/storage/storage.ts
Line 48 in 5fe4118
Let's make a note to document this new env var in our public docs
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.
Added a row to our burndown to document this env var.