Skip to content

Commit

Permalink
feat: add isPriority property on AB Conversion Manually Queued event
Browse files Browse the repository at this point in the history
  • Loading branch information
aleortega committed Jan 9, 2025
1 parent c4ab740 commit 6b7ac78
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions report/schemas.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ export type AssetBundleConversionManuallyQueuedEvent = BaseEvent & {
entityId: string;
platform: 'windows' | 'mac' | 'webgl';
isLods: boolean;
isPriority: boolean;
};
};

Expand Down
4 changes: 3 additions & 1 deletion src/platform/events/services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export type AssetBundleConversionManuallyQueuedEvent = BaseEvent & {
entityId: string
platform: 'windows' | 'mac' | 'webgl'
isLods: boolean
isPriority: boolean
}
}

Expand All @@ -100,7 +101,8 @@ export namespace AssetBundleConversionManuallyQueuedEvent {
properties: {
entityId: { type: 'string' },
platform: { type: 'string', enum: ['windows', 'mac', 'webgl'] },
isLods: { type: 'boolean' }
isLods: { type: 'boolean' },
isPriority: { type: 'boolean' }
},
required: ['entityId', 'platform', 'isLods']
}
Expand Down
3 changes: 2 additions & 1 deletion test/platform/events/asset-bundle.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ describe('AssetBundleConversionManuallyQueued Events tests', () => {
metadata: {
entityId: 'baf',
platform: 'mac',
isLods: false
isLods: false,
isPriority: false
}
}

Expand Down

0 comments on commit 6b7ac78

Please sign in to comment.