Skip to content

Commit

Permalink
feat: add support for outline
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmahidalgo committed Jan 9, 2025
1 parent ff7cdb8 commit c6b3d2e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@dcl/crypto": "^3.0.1",
"@dcl/hashing": "^1.1.0",
"@dcl/platform-crypto-middleware": "^1.0.2",
"@dcl/schemas": "^13.2.3",
"@dcl/schemas": "^15.4.0",
"@ethersproject/solidity": "^5.7.0",
"@types/escape-html": "0.0.20",
"@types/express": "^4.17.11",
Expand Down
2 changes: 2 additions & 0 deletions src/Item/hashes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ function buildStandardWearableEntityMetadata(
category: item.data.category!,
representations: item.data.representations,
blockVrmExport: item.data.blockVrmExport,
outlineCompatible: item.data.outlineCompatible,
},
image: IMAGE_PATH,
thumbnail: THUMBNAIL_PATH,
Expand Down Expand Up @@ -115,6 +116,7 @@ function buildTPWearableEntityMetadata(
category: item.data.category!,
representations: item.data.representations,
blockVrmExport: item.data.blockVrmExport,
outlineCompatible: item.data.outlineCompatible,
},
image: IMAGE_PATH,
thumbnail: THUMBNAIL_PATH,
Expand Down
5 changes: 5 additions & 0 deletions src/Item/wearable/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export type WearableData = {
removesDefaultHiding?: HideableWearableCategory[]
tags: string[]
blockVrmExport?: boolean
outlineCompatible?: boolean
}

export type SmartWearableData = WearableData & {
Expand Down Expand Up @@ -84,6 +85,10 @@ export const wearableSchema = Object.freeze({
blockVrmExport: {
type: 'boolean',
nullable: true
},
outlineCompatible: {
type: 'boolean',
nullable: true
}
},
additionalProperties: false,
Expand Down

0 comments on commit c6b3d2e

Please sign in to comment.