File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ async function compareCurrentApiType(
228228
229229 const changedOperation = {
230230 apiType,
231- operationId : operation . operationId ,
231+ [ isOperationAdded ? ' operationId' : 'previousOperationId' ] : operation . operationId ,
232232 [ isOperationAdded ? 'dataHash' : 'previousDataHash' ] : operation . dataHash ,
233233 [ isOperationAdded ? 'apiKind' : 'previousApiKind' ] : operation . apiKind ,
234234 diffs : operationDiffs ,
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export type OperationChangesMetadata = {
4949} & Partial < RestChangesMetadata > & Partial < GraphQLChangesMetadata >
5050
5151export interface OperationChanges {
52- operationId : string
52+ operationId ? : string
5353 previousOperationId ?: string
5454 apiType : BuilderType
5555 apiKind ?: ApiKind
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export interface PackageComparisonOperations {
3939}
4040
4141export interface PackageComparisonOperation {
42- operationId : OperationId
42+ operationId ? : OperationId
4343 previousOperationId ?: OperationId
4444 dataHash ?: string
4545 previousDataHash ?: string
You can’t perform that action at this time.
0 commit comments