Skip to content

Commit

Permalink
PLTCONN-4268: Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
fangming-ning-sp committed Jan 16, 2024
1 parent e797be3 commit 871a1ce
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion lib/response/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,16 @@ export class RawResponse {
}
}

/**
* Enum PatchOp is the config patch operations
*/
export enum PatchOp {
Add = 'add',
Replace = 'replace',
Remove = 'remove'
}

export type Patch = { op: string, path: string, value?: any }
/**
* Patch is a JSON patch for source config
*/
export type Patch = { op: PatchOp, path: string, value?: any }

0 comments on commit 871a1ce

Please sign in to comment.