@sinytra/wiki-previewer 0.1.22 → 0.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-build-manifest.json +14 -14
- package/.next/app-path-routes-manifest.json +1 -1
- package/.next/build-manifest.json +4 -4
- package/.next/prerender-manifest.json +19 -19
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +2 -2
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/opengraph-image/route_client-reference-manifest.js +1 -1
- package/.next/server/app/robots.txt/route_client-reference-manifest.js +1 -1
- package/.next/server/app/sitemap.xml/route_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +1 -1
- package/.next/server/chunks/6676.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-manifest.json +12 -12
- package/.next/server/pages/404.html +2 -2
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/server/src/middleware.js +2 -2
- package/.next/static/chunks/333-beb04325540c2349.js +1 -0
- package/.next/static/chunks/{main-3317b9528963fa4c.js → main-8bd2a32b24923ab4.js} +1 -1
- package/package.json +1 -1
- package/.next/static/chunks/333-6526e5345b3af599.js +0 -1
- package/public/_meta.schema.json +0 -30
- package/public/sinytra-wiki.schema.json +0 -62
- /package/.next/static/{08m7JQoz4W9G8ECt7oaya → wwbDZ1UMcsOgBkgvXNF6m}/_buildManifest.js +0 -0
- /package/.next/static/{08m7JQoz4W9G8ECt7oaya → wwbDZ1UMcsOgBkgvXNF6m}/_ssgManifest.js +0 -0
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[333],{105:(e,t,s)=>{s.d(t,{Tabs:()=>l,TabsContent:()=>d,TabsList:()=>o,TabsTrigger:()=>c});var n=s(108),r=s(3616),i=s(104),a=s(7013);let l=i.bL,o=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,n.jsx)(i.B8,{ref:t,className:(0,a.cn)("inline-flex h-10 items-center justify-center rounded-md bg-primary-alt p-1 text-secondary",s),...r})});o.displayName=i.B8.displayName;let c=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,n.jsx)(i.l9,{ref:t,className:(0,a.cn)("\n inline-flex items-center justify-center rounded-xs px-3 py-1.5 text-sm font-medium whitespace-nowrap\n ring-offset-background transition-all focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\n focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-primary\n data-[state=active]:text-primary data-[state=active]:shadow-xs\n ",s),...r})});c.displayName=i.l9.displayName;let d=r.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,n.jsx)(i.UC,{ref:t,className:(0,a.cn)("\n mt-2 ring-offset-background focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\n focus-visible:outline-hidden\n ",s),...r})});d.displayName=i.UC.displayName},165:(e,t,s)=>{s.d(t,{GL:()=>c,ww:()=>o,YE:()=>d,default:()=>u});var n=s(108),r=s(3616);s(5756);var i=s(5788);s(3751);let a={userRequiresCookieConsent:function(){return!1}};var l=s(9837);let o=(0,r.createContext)(null),c="experience",d="yt_embeds";function u(e){let{children:t}=e,[s,u]=(0,r.useState)(!0),[p,h]=(0,r.useState)(!1),m=(0,l.c3)("CookieConsent");function f(){h(i.tj(d,c))}return(0,r.useEffect)(()=>{let e=a.userRequiresCookieConsent();u(e),e&&i.eF({revision:1,guiOptions:{consentModal:{layout:"box inline"}},onFirstConsent:()=>{f()},onChange:()=>{f()},categories:{necessary:{enabled:!0,readOnly:!0},[c]:{services:{[d]:{label:m("sections.experience.services.embeds"),onAccept:()=>h(!0),onReject:()=>h(!1)}}}},language:{default:"en",translations:{en:{consentModal:{title:m("popup.title"),description:m("popup.description"),acceptAllBtn:m("actions.accept_all"),acceptNecessaryBtn:m("actions.reject_all"),showPreferencesBtn:m("popup.show_preferences")},preferencesModal:{title:m("modal.title"),acceptAllBtn:m("actions.accept_all"),acceptNecessaryBtn:m("actions.reject_all"),savePreferencesBtn:m("modal.save"),closeIconLabel:m("modal.close"),sections:[{title:m("sections.summary.title"),description:m("sections.summary.description")},{title:m("sections.necessary.title"),description:m("sections.necessary.description"),linkedCategory:"necessary"},{title:m("sections.experience.title"),description:m("sections.experience.description"),linkedCategory:"experience"},{title:m("sections.more_info.title"),description:m.raw("sections.more_info.description")}]}}}}})},[]),(0,n.jsx)(o.Provider,{value:{enableCookieManagement:s,hasConsentToEmbeddedVideos:p},children:t})}},1495:(e,t,s)=>{s.d(t,{CopyButton:()=>u});var n=s(108),r=s(9300),i=s(7149),a=s(3616),l=s(7013),o=s(7045),c=s(6023),d=s(9837);function u(e){let{text:t,showToast:s,className:u}=e,[p,h]=(0,a.useState)(!1),m=(0,d.c3)("CopyButton");return(0,n.jsx)(o.$,{variant:"ghost",size:"icon",className:(0,l.cn)("\n text-secondary-alt opacity-0 transition-opacity duration-200 ease-in-out\n group-hover:opacity-100 hover:bg-gray-400/10 [&>svg]:animate-in [&>svg]:fade-in [&>svg]:fade-out\n ",u),"aria-label":"Copy to clipboard",onClick:()=>{navigator.clipboard.writeText(t),h(!0),setTimeout(()=>h(!1),2e3),s&&c.oR.success(m("copied"))},children:p?(0,n.jsx)(r.A,{size:16}):(0,n.jsx)(i.A,{size:16})})}},1874:(e,t,s)=>{s.d(t,{default:()=>l});var n=s(108),r=s(6686),i=s(3605);function a(e){if("string"==typeof e){let t=Number(e);return Number.isNaN(t)?void 0:t}return e}function l(e){var t;let{asset:s,width:l,height:o,alt:c,title:d,noTitle:u,...p}=e;return(0,n.jsx)(i.default,{width:a(l)||32,height:a(o)||32,src:s.src,alt:c||s.id,title:u?void 0:d||(null==(t=r.A.parse(s.id))?void 0:t.path),strokeWidth:1.5,wrapper:{className:"inline"},...p})}},2310:(e,t,s)=>{s.d(t,{default:()=>o});var n=s(108),r=s(3616),i=s(7013),a=s(361),l=s(9837);function o(e){let{columns:t,rows:s,embedded:o,expandedBody:c}=e,[d,u]=(0,r.useState)(!1),p=(0,l.c3)("ResponsiveTable");return(0,n.jsxs)("table",{className:(0,i.cn)("[&_td]:bg-primary-alt/50",o&&"mb-0"),children:[(0,n.jsx)("thead",{className:"hidden sm:table-header-group",children:(0,n.jsx)("tr",{children:t.map(e=>(0,n.jsx)("th",{className:"",children:e.label},e.key))})}),(0,n.jsxs)("tbody",{children:[s.map((e,s)=>(0,n.jsx)("tr",{className:"block border-0 sm:table-row",children:t.map(t=>(0,n.jsxs)("td",{className:(0,i.cn)("block border-b sm:table-cell sm:border",e[t.key].className),"data-label":t.label,children:[(0,n.jsx)("div",{className:"mb-1 font-semibold text-primary-alt sm:hidden",children:t.label}),(0,n.jsx)("div",{children:e[t.key].data})]},t.key))},s)),(0,n.jsx)("tr",{children:(0,n.jsx)("td",{colSpan:t.length,className:"no-table-bs group cursor-pointer bg-table-soft!",onClick:()=>u(!d),"data-open":d,children:(0,n.jsxs)("div",{className:"my-0.5 flex w-full flex-row items-center justify-end gap-4 text-secondary",children:[(0,n.jsx)("span",{className:"text-sm",children:p("expand")}),(0,n.jsx)("span",{children:(0,n.jsx)(a.A,{className:"size-4 group-data-[open=true]:rotate-180"})})]})})}),d&&(0,n.jsx)("tr",{children:(0,n.jsx)("td",{colSpan:t.length,className:"no-table-bs no-table-padding",children:c})})]})]})}},2647:(e,t,s)=>{s.r(t),s.d(t,{default:()=>l});var n=s(108),r=s(3616),i=s(6686),a=s(7013);function l(e){var t;let{asset:s,width:l,height:o,alt:c,title:d,noTitle:u,...p}=e,h=(0,r.useRef)(null),[m,f]=(0,r.useState)(s.src);return(0,r.useEffect)(()=>{let e=h.current;if(!e)return;let t=()=>{f("/static/missing_item.png")};return e.addEventListener("error",t),e.complete&&0===e.naturalWidth&&t(),()=>{e.removeEventListener("error",t)}},[s.src]),(0,n.jsx)("div",{...p,className:(0,a.cn)("overflow-hidden",p.className),style:{width:"".concat(l||32,"px"),height:"".concat(o||32,"px")},children:(0,n.jsx)("img",{ref:h,width:l||32,height:o||32,src:m,alt:c||s.id,title:u?void 0:d||(null==(t=i.A.parse(s.id))?void 0:t.path),loading:"eager"})})}},3075:(e,t,s)=>{s.r(t),s.d(t,{default:()=>a});var n=s(108),r=s(6094),i=s(7013);function a(e){let t=e.id;return(0,n.jsxs)("h2",{...e,className:void 0,className:(0,i.cn)(e.className,"group"),children:[e.children,t&&(0,n.jsx)("a",{href:"#".concat(t),className:"\n inline-block pl-2 opacity-0 transition-opacity duration-200 group-hover:opacity-100 hover:opacity-100\n ",children:(0,n.jsx)(r.A,{className:"h-5 w-5 text-primary"})})]})}},3516:(e,t,s)=>{s.d(t,{M:()=>i,default:()=>a});var n=s(108),r=s(3616);let i=(0,r.createContext)(null);function a(e){let{children:t}=e,[s,a]=(0,r.useState)(!1),l=r.Children.map(t,e=>(0,r.isValidElement)(e)?(0,r.cloneElement)(e,{onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),...e.props}):e);return(0,n.jsx)(i.Provider,{value:{hover:s,setHover:a},children:(0,n.jsx)(n.Fragment,{children:l})})}},3538:(e,t,s)=>{s.d(t,{default:()=>u});var n=s(108),r=s(7843),i=s(7045),a=s(7013),l=s(3616),o=s(165),c=s(5788),d=s(9837);function u(e){let{id:t,children:s}=e,u=(0,d.c3)("VideoEmbedPlaceholder"),p=(0,l.useContext)(o.ww);if(!p||!p.enableCookieManagement||(null==p?void 0:p.hasConsentToEmbeddedVideos))return s;let h=t&&t.includes("?")?t.split("?")[0]:t,m="https://img.youtube.com/vi/".concat(t,"/maxresdefault.jpg");return(0,n.jsxs)("div",{className:(0,a.cn)("video-embed relative flex rounded-sm border border-tertiary bg-primary-alt text-center"),children:[(0,n.jsx)("img",{src:m,alt:"thumbnail",width:560}),(0,n.jsxs)("div",{className:"absolute-center flex h-full w-full flex-col items-center justify-center gap-5 bg-primary/80",children:[(0,n.jsx)(r.A,{className:"size-12 text-secondary-alt",strokeWidth:1.5}),(0,n.jsx)("div",{className:"text-xl",children:(0,n.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,n.jsx)("span",{children:u("title")}),(0,n.jsx)("span",{className:"text-sm text-secondary",children:u("description")})]})}),(0,n.jsxs)("div",{className:"mt-2 flex flex-row flex-wrap justify-center gap-3",children:[(0,n.jsx)(i.$,{onClick:()=>void c.gB(o.YE,o.GL),children:u("accept")}),h&&(0,n.jsx)("a",{href:"https://www.youtube.com/watch?v=".concat(h),target:"_blank",rel:"noreferrer",children:(0,n.jsx)(i.$,{variant:"outline",children:u("watch")})})]})]})]})}},3605:(e,t,s)=>{s.d(t,{default:()=>o});var n=s(108),r=s(3616),i=s(4099),a=s(7013),l=s(6466);function o(e){let{src:t,alt:s,width:o,height:c,fbWidth:d,fbHeight:u,className:p,title:h,strokeWidth:m=1,fixedSize:f,wrapper:v,fbIcon:x=i.A,fallback:b=(0,n.jsx)(x,{strokeWidth:m,className:(0,a.cn)(p,"text-secondary opacity-20"),width:d||o,height:u||c}),...g}=e,[y,j]=(0,r.useState)(!1);return(0,n.jsxs)("span",{className:"shrink-0 overflow-hidden",title:h,style:f?{width:"".concat(o,"px"),height:"".concat(c,"px")}:void 0,...v,children:[t&&!y&&(0,n.jsx)(l.default,{src:t,alt:s||"",width:o,height:c,className:p,unoptimized:!0,onError:()=>j(!0),...g}),(!t||y)&&b]})}},4454:(e,t,s)=>{s.r(t),s.d(t,{default:()=>h});var n=s(108),r=s(3616);class i extends r.Component{componentDidMount(){this.addListener()}componentDidUpdate(){!this.state.listenerActive&&this.props.visible&&this.addListener(),this.state.listenerActive&&!this.props.visible&&this.removeListener()}componentWillUnmount(){this.removeListener()}render(){return(0,n.jsx)("div",{className:"minetip-tooltip",style:{display:this.props.visible&&this.state.mouseMoved?"block":"none",top:this.state.yPosition+this.props.offsetY,left:this.state.xPosition+this.props.offsetX},children:(0,n.jsx)("span",{className:"font-minecraft",children:this.props.children})})}constructor(...e){super(...e),this.state={xPosition:0,yPosition:0,mouseMoved:!1,listenerActive:!1},this.onMouseMove=e=>{let{clientX:t,clientY:s}=e;this.setState({xPosition:t,yPosition:s,mouseMoved:!0})},this.addListener=()=>{document.addEventListener("mousemove",this.onMouseMove),this.setState({listenerActive:!0})},this.removeListener=()=>{document.removeEventListener("mousemove",this.onMouseMove),this.setState({xPosition:-100,yPosition:-100,listenerActive:!1})}}}function a(e){let[t,s]=(0,r.useState)(!1);return(0,n.jsxs)("div",{onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),children:[(0,n.jsxs)(i,{visible:t,offsetX:15,offsetY:-33,children:[e.id,e.tag&&(0,n.jsxs)("p",{className:"m-0! mt-1! text-xs text-secondary text-shadow-none",children:["#",e.tag]})]}),e.children]})}var l=s(6686);function o(e){let t=l.A.parse(e);return(null==t?void 0:t.namespace)===l.o?"https://minecraft.wiki/w/".concat(t.path):null}var c=s(3516),d=s(2647),u=s(9028),p=s(7013);function h(e){let{noTooltip:t,noLink:s,src:i,count:l,ctx:h,tag:m,...f}=e,[v,x]=(0,r.useState)(0),b=(0,r.useMemo)(()=>i[v],[v,i]),g=(0,r.useContext)(c.M);if((0,r.useEffect)(()=>{i.forEach(e=>{new Image().src=e.asset.src})},[i]),(0,r.useEffect)(()=>{if(0===i.length)return;let e=setInterval(()=>{g&&g.hover||x(e=>(e+1)%i.length)},2e3);return()=>clearInterval(e)},[i,g]),i.length<1)return null;let y=()=>{var e;let t=h?function(e,t){var s,n;let r="slug"in e?e.slug:e.id;return null!=(s=o(t.id))?s:t.has_page?"/".concat(e.locale,"/project/").concat(r,"/").concat(e.version,"/content/").concat((n=t.id).includes("/")?encodeURIComponent(n):n):null}(h,b):o(b.id),r=(0,n.jsxs)("div",{...f,className:(0,p.cn)("relative shrink-0",f.className),children:[(0,n.jsx)(d.default,{noTitle:!0,asset:b.asset,alt:null!=(e=b.name)?e:b.id,className:"sharpRendering"}),l&&l>1&&(0,n.jsx)("span",{className:"\n sharpRendering absolute right-0 bottom-0 z-10 text-left font-minecraft text-base leading-1 text-white\n ",style:{textShadow:"2px 2px 0 #3F3F3F"},children:l})]});return t&&!s?(0,n.jsx)(u.k,{href:t,rel:"noreferrer",children:r}):r};return t?(0,n.jsx)(y,{}):(0,n.jsx)(a,{id:b.name||b.id,tag:m,children:(0,n.jsx)(y,{})})}},6686:(e,t,s)=>{s.d(t,{A:()=>i,o:()=>n});let n="minecraft";function r(e){if(0===e.length)return null;if(e.includes(":")){let t=e.split(":");return{namespace:t[0],path:t[1]}}return{namespace:"minecraft",path:e}}let i={toString:function(e){return"".concat(e.namespace,":").concat(e.path)},parse:r,extractPath:function(e){var t,s;return null!=(s=null==(t=r(e))?void 0:t.path)?s:e}}},7013:(e,t,s)=>{s.d(t,{cn:()=>i});var n=s(2462),r=s(7679);function i(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,r.QP)((0,n.$)(t))}},7045:(e,t,s)=>{s.d(t,{$:()=>c});var n=s(108),r=s(3616),i=s(5630),a=s(6512),l=s(7013);let o=(0,a.F)("\n inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background\n transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\n focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50\n ",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"bg-secondary text-destructive hover:text-destructive/90 border border-destructive-secondary bg-primary font-semibold hover:bg-secondary/80 data-[pending=true]:text-destructive/90",destructiveSecondary:"bg-destructive text-primary-alt hover:text-primary-alt/90",outline:"border border-quaternary bg-primary hover:bg-secondary hover:text-primary-alt",secondary:"bg-secondary text-secondary-alt hover:bg-secondary/80",ghost:"hover:bg-secondary hover:text-primary-alt",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=r.forwardRef((e,t)=>{let{className:s,variant:r,size:a,asChild:c=!1,...d}=e,u=c?i.DX:"button";return(0,n.jsx)(u,{className:(0,l.cn)(o({variant:r,size:a,className:s})),ref:t,...d})});c.displayName="Button"},7356:(e,t,s)=>{s.d(t,{default:()=>a});var n=s(108),r=s(3616),i=s(9837);function a(e){let{limit:t,content:s}=e,a=(0,i.c3)("UsageContentList"),[l,o]=(0,r.useState)(!1);return(0,n.jsxs)("ul",{className:"mt-0",children:[l?s:s.slice(0,Math.min(t,s.length)),!l&&s.length>t&&(0,n.jsx)("li",{className:"text-secondary",children:(0,n.jsx)("button",{className:"decoration-1 underline-offset-4 hover:underline",onClick:()=>o(!0),children:a("more")})})]})}},7818:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});let n={src:"/_next/static/media/crafting_background.158942b1.png",height:136,width:260,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAGFBMVEWampqnp6eioqLKysqLi4uSkpK+vr64uLgHQ3rrAAAAA3RSTlP+/v6VFoksAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJElEQVR4nCXGsQEAMAzCMBNI+P/jDtUkBmRbkIy7+TkBu9MeDwXFAF/HY1pFAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:4}},9028:(e,t,s)=>{s.d(t,{k:()=>l});var n=s(108),r=s(3616),i=s(2830),a=s.n(i);let l=(0,r.forwardRef)(function(e,t){let{prefetch:s=!1,...r}=e;return(0,n.jsx)(a(),{prefetch:s,...r,ref:t})})}}]);
|
package/public/_meta.schema.json
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"title": "Sinytra Wiki Folder Layout Metadata",
|
|
4
|
-
"description": "Provides file naming information for a directory",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"required": [],
|
|
7
|
-
"additionalProperties": {
|
|
8
|
-
"oneOf": [
|
|
9
|
-
{
|
|
10
|
-
"type": "object",
|
|
11
|
-
"properties": {
|
|
12
|
-
"name": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "Page display name"
|
|
15
|
-
},
|
|
16
|
-
"icon": {
|
|
17
|
-
"type": [
|
|
18
|
-
"string",
|
|
19
|
-
"null"
|
|
20
|
-
],
|
|
21
|
-
"description": "Display icon name"
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"type": "string"
|
|
27
|
-
}
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"title": "Sinytra Wiki Documentation Metadata",
|
|
4
|
-
"description": "Provides documentation project meta information",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"id": {
|
|
8
|
-
"description": "Unique project ID that identifies the project across the wiki. We recommend using your projectid.",
|
|
9
|
-
"type": "string",
|
|
10
|
-
"minLength": 2,
|
|
11
|
-
"maxLength": 126,
|
|
12
|
-
"pattern": "^[a-z]+[a-z0-9-]+$"
|
|
13
|
-
},
|
|
14
|
-
"modid": {
|
|
15
|
-
"description": "In-game modid, used to identify mod content data",
|
|
16
|
-
"type": "string"
|
|
17
|
-
},
|
|
18
|
-
"platforms": {
|
|
19
|
-
"description": "A map of your project's available distribution platforms to platform project slugs.",
|
|
20
|
-
"type": "object",
|
|
21
|
-
"additionalProperties": { "type": "string" }
|
|
22
|
-
},
|
|
23
|
-
"versions": {
|
|
24
|
-
"description": "A map of additional minecraft versions to git branch names to make available.",
|
|
25
|
-
"type": "object",
|
|
26
|
-
"additionalProperties": { "type": "string" }
|
|
27
|
-
},
|
|
28
|
-
"platform": {
|
|
29
|
-
"description": "Your project's distribution platform. Deprecated: use 'platforms' instead",
|
|
30
|
-
"enum": ["curseforge", "modrinth"],
|
|
31
|
-
"deprecated": true
|
|
32
|
-
},
|
|
33
|
-
"slug": {
|
|
34
|
-
"description": "The host platform's project slug. Deprecated: use 'platforms' instead",
|
|
35
|
-
"type": "string",
|
|
36
|
-
"deprecated": true
|
|
37
|
-
},
|
|
38
|
-
"owners": {
|
|
39
|
-
"description": "Usernames of wiki accounts authorized to register this project.",
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": {
|
|
42
|
-
"type": "string"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"allOf": [
|
|
47
|
-
{
|
|
48
|
-
"required": ["id"]
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"oneOf": [
|
|
52
|
-
{
|
|
53
|
-
"required": ["platform", "slug"],
|
|
54
|
-
"deprecated": true
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"required": ["platforms"]
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
}
|
|
File without changes
|
|
File without changes
|