39 lines
1.2 KiB
JavaScript
39 lines
1.2 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 531fec74779be1e3.a9da5a4aa8.js
|
|
* Module id: 346056
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e) => {
|
|
"use strict";
|
|
var t = e.i(930686);
|
|
function i(e) {
|
|
return {
|
|
id: e.templateUuid ?? "",
|
|
projectUuid: e.projectUuid,
|
|
templateUuid: e.templateUuid ?? "",
|
|
description: e.description,
|
|
name: e.name,
|
|
coverUrl: e.coverUrl || t.DEFAULT_COVER_URL,
|
|
finalOutput: e.finalOutput,
|
|
avatar: e.avatar || t.DEFAULT_AVATAR,
|
|
nickname: e.nickname ?? "未知用户",
|
|
title: e.name ?? "无标题",
|
|
likeCount: e.likeCount ?? 0,
|
|
isLiked: e.isLike ?? !1,
|
|
auditStatus: e.auditStatus,
|
|
snapshotId: e.snapshotId,
|
|
createAt: e.createAt,
|
|
ownerId: e.ownerId,
|
|
ownerUuid: e.ownerUuid,
|
|
userTags: e.userTags || [],
|
|
tags: e.tags || [],
|
|
recommendOtherRes: e.recommendOtherRes ?? null,
|
|
awardedTag: e?.awardedTag || [],
|
|
};
|
|
}
|
|
e.s(["toCommunityItem", () => i]);
|
|
};
|
|
|
|
export default moduleFactory;
|