build(admin): track the SPA build output so git deploys carry it
assets/admin/build was gitignored, so servers deployed by git pull kept running a stale admin bundle — the icon picker integration in the tabbar and floating-button settings pages never reached them. Track the build directory (rebuild with: cd assets/admin && npm run build) and commit the current bundle containing the universal icon picker.
This commit is contained in:
1 parent
2e25894eb5
commit
27d8a9ea71
64 files changed
+15839
-3
No files matched your search
@@ -0,0 +1 @@
|
||||
const N={testMail(t){return this.request("/mail/test",{method:"POST",body:JSON.stringify({to:t})})},getFooterTabbarSettings(){return this.request("/settings/footer-tabbar")},saveFooterTabbarSettings(t){return this.request("/settings/footer-tabbar",{method:"POST",body:JSON.stringify(t)})},reorderFooterTabbar(t){return this.request("/settings/footer-tabbar/reorder",{method:"POST",body:JSON.stringify({ids:t})})},getFloatingButtons(){return this.request("/settings/floating-buttons")},saveFloatingButtons(t){return this.request("/settings/floating-buttons",{method:"POST",body:JSON.stringify(t)})},reorderFloatingButtons(t){return this.request("/settings/floating-buttons/reorder",{method:"POST",body:JSON.stringify({ids:t})})},getFriendLinks(){return this.request("/friend-links")},addFriendLink(t){return this.request("/friend-links",{method:"POST",body:JSON.stringify(t)})},deleteFriendLink(t){return this.request(`/friend-links/${t}`,{method:"DELETE"})},reorderFriendLinks(t){return this.request("/friend-links/reorder",{method:"POST",body:JSON.stringify({ids:t})})},getCmsFeatures(){return this.request("/settings/cms-features")},saveCmsFeatures(t){return this.request("/settings/cms-features",{method:"POST",body:JSON.stringify({cms_features:t})})}},$={getCategoryRecommendSettings(){return this.request("/settings/category-recommend")},saveCategoryRecommendSettings(t){return this.request("/settings/category-recommend",{method:"POST",body:JSON.stringify(t)})},getCategories(t="category"){const e=Array.isArray(t)?t.join(","):t;return this.request(`/categories?taxonomy=${encodeURIComponent(e||"category")}`)},updateCategoryMeta(t,e){return this.request(`/categories/${t}/meta`,{method:"POST",body:JSON.stringify(e)})},searchUsers(t="",e=20){return this.request(`/users/search?search=${encodeURIComponent(t)}&number=${e}`)},searchPageDisplayOptions(t,e="",s=[]){const r=new URLSearchParams({query:e});return s.forEach(a=>r.append("include[]",a)),this.request(`/settings/schema/page_display/search/${encodeURIComponent(t)}?${r}`)}},k={getPermissionsAttachmentSettings(){return this.getSchemaPage("permissions","attachment")},savePermissionsAttachmentSettings(t){return this.saveSchemaPage("permissions","attachment",t)},getPermissionsLoginSettings(){return this.getSchemaPage("permissions","login")},savePermissionsLoginSettings(t){return this.saveSchemaPage("permissions","login",t)},getPermissionsModerationSettings(){return this.getSchemaPage("permissions","moderation")},getCapabilities(){return this.request("/permissions/capabilities")},saveCapabilities(t){return this.request("/permissions/capabilities",{method:"POST",body:JSON.stringify({user_caps:t})})}},w={getAuthSettings(){return this.request("/settings/auth")},saveAuthSettings(t){return this.request("/settings/auth",{method:"POST",body:JSON.stringify(t)})},getNotificationSettings(){return this.request("/settings/notifications")},saveNotificationSettings(t){return this.request("/settings/notifications",{method:"POST",body:JSON.stringify(t)})},getNotificationOverview(t={}){const e=new URLSearchParams(t).toString();return this.request("/notifications/overview"+(e?`?${e}`:""))},markNotificationRead(t){return this.request("/notifications/mark-read",{method:"POST",body:JSON.stringify({id:t})})},markAllNotificationsRead(){return this.request("/notifications/mark-read",{method:"POST",body:JSON.stringify({mark_all:!0})})},deleteNotification(t){return this.request(`/notifications/${t}`,{method:"DELETE"})},runNotificationCleanup(){return this.request("/notifications/cleanup",{method:"POST",body:JSON.stringify({})})},getIdentitySettings(){return this.request("/identity/settings")},saveIdentitySettings(t){return this.request("/identity/settings",{method:"POST",body:JSON.stringify(t)})},testIdentitySettings(t={}){return this.request("/identity/settings/test",{method:"POST",body:JSON.stringify(t)})},getCreditSettings(){return this.request("/assets/settings")},saveCreditSettings(t){return this.request("/assets/settings",{method:"POST",body:JSON.stringify(t)})},listCreditUsers(t={}){const e=new URLSearchParams(t).toString();return this.request("/assets/accounts"+(e?`?${e}`:""))},adjustUserCredits(t,e,s,r){return this.request(`/assets/accounts/${t}/adjust`,{method:"POST",body:JSON.stringify({asset:e,delta:s,remark:r})})},getCreditLog(t={}){const e=new URLSearchParams(t).toString();return this.request("/assets/transactions"+(e?`?${e}`:""))}},v={getPaymentOverview(){return this.request("/payment/overview")}},A={testIpGeo(t){return this.request("/extensions/ip-test",{method:"POST",data:{ip:t}})},testContentAudit(t){return this.request("/extensions/audit-test",{method:"POST",data:{text:t}})},getAiStatus(){return this.request("/ai/status")},updateAiSettings(t){return this.request("/ai/settings",{method:"POST",data:t})},generateSeo(t){return this.request("/ai/seo-generate",{method:"POST",data:t})},suggestSummary(t){return this.request("/ai/summary-suggest",{method:"POST",data:t})},suggestTags(t){return this.Line truncated
|
||||
Reference in new issue
Block a user