Skip to content

Commit

Permalink
fix: Change modify asset folders value not required (#123)
Browse files Browse the repository at this point in the history
* value attribute in IModifyAssetFoldersData is now optional

* removed unnecessary pack file;
  • Loading branch information
Nickm615 authored Sep 11, 2023
1 parent d1f42ed commit d4714c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/models/asset-folders/asset-folder.models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { AssetFolderContracts } from '../../contracts';
import { SharedModels } from '../shared/shared-models';

export namespace AssetFolderModels {

export class AssetFolder implements SharedModels.IBaseModel<AssetFolderContracts.IAssetFolderContract> {
public id: string;
public name: string;
Expand Down Expand Up @@ -36,7 +37,7 @@ export namespace AssetFolderModels {

export interface IModifyAssetFoldersData {
op: 'addInto' | 'remove' | 'rename';
value: IAddOrModifyAssetFolderData;
value?: IAddOrModifyAssetFolderData;
after?: {
external_id?: string;
id?: string;
Expand Down

0 comments on commit d4714c7

Please sign in to comment.