-
Notifications
You must be signed in to change notification settings - Fork 945
Rename Bundle metadata type to BundleMetadata #4268
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
|
Size Analysis ReportAffected ProductsNo changes between base commit (4512bc9) and head commit (0863a38). Test Logs
|
@@ -35,7 +35,7 @@ export interface BundleCache { | |||
getBundleMetadata( | |||
transaction: PersistenceTransaction, | |||
bundleId: string | |||
): PersistencePromise<Bundle | undefined>; | |||
): PersistencePromise<BundleMetadata | undefined>; |
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.
s/Bundle/BundleMetadata in L32
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.
Done
@@ -307,7 +307,7 @@ function isDocumentQuery(dbQuery: DbQuery): dbQuery is PublicDocumentsTarget { | |||
} | |||
|
|||
/** Encodes a DbBundle to a Bundle. */ |
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.
Rename Bundle here as well?
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.
Done
@@ -373,7 +373,9 @@ export function fromProtoNamedQuery(namedQuery: ProtoNamedQuery): NamedQuery { | |||
} | |||
|
|||
/** Encodes a BundleMetadata proto object to a Bundle model object. */ | |||
export function fromBundleMetadata(metadata: ProtoBundleMetadata): Bundle { | |||
export function fromBundleMetadata( |
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.
Optional jsdoc rename here as well.
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.
Done
Rename to match API names in the BundleCache.