create-vitnode-app 0.0.9-canary.43 → 0.0.9-canary.45
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/dist/index.cjs
CHANGED
|
@@ -24,7 +24,7 @@ Expecting one of '${i.join("', '")}'`);let r=`${e}Help`;return this.on(r,u=>{let
|
|
|
24
24
|
`),process.exit(1))},Tt=async t=>{let e=t.opts(),n={packageManager:e.packageManager,eslint:e.eslint,install:!e.skipInstall,docker:e.docker};if(!e.packageManager){let i=await St(),r=U.default.blue("package manager"),{packageManager:u}=await(0,Y.default)({onState:R,name:"packageManager",type:"select",message:`Which ${r} do you want to use?`,initial:e.packageManager,choices:[{title:`npm${i.npm?`@${i.npm}`:""}`,value:"npm",disabled:!i.npm},{title:`pnpm${i.pnpm?`@${i.pnpm}`:""}`,value:"pnpm",disabled:!i.pnpm}]});n={...n,packageManager:`${u}@${i[u]}`}}if(e.eslint===void 0){let i=U.default.blue("ESLint"),{eslint:r}=await(0,Y.default)({onState:R,type:"toggle",name:"eslint",message:`Would you like to use ${i}?`,initial:e.eslint?"Yes":"No",active:"Yes",inactive:"No"});n={...n,eslint:!!r}}if(e.docker===void 0){let i=U.default.blue("Dockerfile & Docker Compose"),{docker:r}=await(0,Y.default)({onState:R,type:"toggle",name:"docker",message:`Would you like to create ${i}?`,initial:e.i18nRouting?"Yes":"No",active:"Yes",inactive:"No"});n={...n,docker:!!r}}if(e.skipInstall===void 0){let i=U.default.blue("Install dependencies"),{install:r}=await(0,Y.default)({onState:R,type:"toggle",name:"install",message:`Would you like to ${i}?`,initial:e.eslint?"Yes":"No",active:"Yes",inactive:"No"});n={...n,install:!!r}}return n};var ue=require("fs"),kt=require("path"),Te=p(require("picocolors"),1);function se(t,e){let n=[".DS_Store",".git",".gitattributes",".gitignore",".gitlab-ci.yml",".hg",".hgcheck",".hgignore",".idea",".npmignore",".travis.yml","LICENSE","Thumbs.db","docs","mkdocs.yml","npm-debug.log","yarn-debug.log","yarn-error.log","yarnrc.yml",".yarn"],i=(0,ue.readdirSync)(t).filter(r=>!n.includes(r)&&!r.endsWith(".iml"));if(i.length>0){console.log(`The directory ${Te.default.green(e)} contains files that could conflict:
|
|
25
25
|
`);for(let r of i)try{(0,ue.lstatSync)((0,kt.join)(t,r)).isDirectory()?console.log(`${Te.default.blue(r)}/`):console.log(r)}catch{console.log(r)}return console.log(`
|
|
26
26
|
Either try using a new directory name, or remove the files listed above.
|
|
27
|
-
`),!1}return!0}var $t=require("constants"),Pt=require("fs/promises");async function Nt(t){try{return await(0,Pt.access)(t,$t.W_OK),!0}catch{return!1}}var It=p(require("validate-npm-package-name"),1),ke=({name:t})=>{let e=(0,It.default)(t);return e.validForNewPackages?{valid:!0}:{valid:!1,problems:[...e.errors??[],...e.warnings??[]]}};var Rt={name:"create-vitnode-app",version:"0.0.9-canary.
|
|
27
|
+
`),!1}return!0}var $t=require("constants"),Pt=require("fs/promises");async function Nt(t){try{return await(0,Pt.access)(t,$t.W_OK),!0}catch{return!1}}var It=p(require("validate-npm-package-name"),1),ke=({name:t})=>{let e=(0,It.default)(t);return e.validForNewPackages?{valid:!0}:{valid:!1,problems:[...e.errors??[],...e.warnings??[]]}};var Rt={name:"create-vitnode-app",version:"0.0.9-canary.44",description:"Create a new VitNode app in seconds.",author:"VitNode Team",license:"MIT",homepage:"https://vitnode.com",repository:{type:"git",url:"git+https://github.com/VitNode/vitnode.git",directory:"packages/create-vitnode-app"},type:"module",bin:{"create-vitnode-app":"dist/index.cjs"},scripts:{lint:"eslint .","lint:fix":"eslint . --fix","build:scripts":"tsup index.ts","dev:script":"tsup index.ts --watch","start:script":"node dist/index.cjs"},keywords:["vitnode","react","next","nest","nextjs","nestjs","typescript","next.js","nest.js"],dependencies:{figlet:"^1.7.0",picocolors:"^1.0.1",prompts:"^2.4.2","validate-npm-package-name":"^5.0.1"},devDependencies:{"@types/cross-spawn":"^6.0.6","@types/figlet":"^1.5.8","@types/node":"^22.5.1","@types/prompts":"^2.4.9","@types/validate-npm-package-name":"^4.0.2",commander:"^12.1.0","cross-spawn":"^7.0.3","eslint-config-typescript-vitnode":"workspace:*",ora:"^8.1.0",tsup:"^8.2.4",typescript:"^5.5.4"}};var C=require("fs"),A=require("path"),oi=require("crypto"),ai=p(require("figlet"),1);var Q=p(require("process"),1);var jt=(t=0)=>e=>`\x1B[${e+t}m`,Mt=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,Vt=(t=0)=>(e,n,i)=>`\x1B[${38+t};2;${e};${n};${i}m`,m={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},Cu=Object.keys(m.modifier),Ni=Object.keys(m.color),Ii=Object.keys(m.bgColor),Eu=[...Ni,...Ii];function Ri(){let t=new Map;for(let[e,n]of Object.entries(m)){for(let[i,r]of Object.entries(n))m[i]={open:`\x1B[${r[0]}m`,close:`\x1B[${r[1]}m`},n[i]=m[i],t.set(r[0],r[1]);Object.defineProperty(m,e,{value:n,enumerable:!1})}return Object.defineProperty(m,"codes",{value:t,enumerable:!1}),m.color.close="\x1B[39m",m.bgColor.close="\x1B[49m",m.color.ansi=jt(),m.color.ansi256=Mt(),m.color.ansi16m=Vt(),m.bgColor.ansi=jt(10),m.bgColor.ansi256=Mt(10),m.bgColor.ansi16m=Vt(10),Object.defineProperties(m,{rgbToAnsi256:{value(e,n,i){return e===n&&n===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},enumerable:!1},hexToRgb:{value(e){let n=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!n)return[0,0,0];let[i]=n;i.length===3&&(i=[...i].map(u=>u+u).join(""));let r=Number.parseInt(i,16);return[r>>16&255,r>>8&255,r&255]},enumerable:!1},hexToAnsi256:{value:e=>m.rgbToAnsi256(...m.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let n,i,r;if(e>=232)n=((e-232)*10+8)/255,i=n,r=n;else{e-=16;let o=e%36;n=Math.floor(e/36)/5,i=Math.floor(o/6)/5,r=o%6/5}let u=Math.max(n,i,r)*2;if(u===0)return 30;let s=30+(Math.round(r)<<2|Math.round(i)<<1|Math.round(n));return u===2&&(s+=60),s},enumerable:!1},rgbToAnsi:{value:(e,n,i)=>m.ansi256ToAnsi(m.rgbToAnsi256(e,n,i)),enumerable:!1},hexToAnsi:{value:e=>m.ansi256ToAnsi(m.hexToAnsi256(e)),enumerable:!1}}),m}var ji=Ri(),v=ji;var ae=p(require("process"),1),Wt=p(require("os"),1),$e=p(require("tty"),1);function y(t,e=globalThis.Deno?globalThis.Deno.args:ae.default.argv){let n=t.startsWith("-")?"":t.length===1?"-":"--",i=e.indexOf(n+t),r=e.indexOf("--");return i!==-1&&(r===-1||i<r)}var{env:d}=ae.default,oe;y("no-color")||y("no-colors")||y("color=false")||y("color=never")?oe=0:(y("color")||y("colors")||y("color=true")||y("color=always"))&&(oe=1);function Mi(){if("FORCE_COLOR"in d)return d.FORCE_COLOR==="true"?1:d.FORCE_COLOR==="false"?0:d.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(d.FORCE_COLOR,10),3)}function Vi(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function Hi(t,{streamIsTTY:e,sniffFlags:n=!0}={}){let i=Mi();i!==void 0&&(oe=i);let r=n?oe:i;if(r===0)return 0;if(n){if(y("color=16m")||y("color=full")||y("color=truecolor"))return 3;if(y("color=256"))return 2}if("TF_BUILD"in d&&"AGENT_NAME"in d)return 1;if(t&&!e&&r===void 0)return 0;let u=r||0;if(d.TERM==="dumb")return u;if(ae.default.platform==="win32"){let s=Wt.default.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in d)return"GITHUB_ACTIONS"in d||"GITEA_ACTIONS"in d?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(s=>s in d)||d.CI_NAME==="codeship"?1:u;if("TEAMCITY_VERSION"in d)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(d.TEAMCITY_VERSION)?1:0;if(d.COLORTERM==="truecolor"||d.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in d){let s=Number.parseInt((d.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(d.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(d.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(d.TERM)||"COLORTERM"in d?1:u}function Ht(t,e={}){let n=Hi(t,{streamIsTTY:t&&t.isTTY,...e});return Vi(n)}var Wi={stdout:Ht({isTTY:$e.default.isatty(1)}),stderr:Ht({isTTY:$e.default.isatty(2)})},qt=Wi;function Lt(t,e,n){let i=t.indexOf(e);if(i===-1)return t;let r=e.length,u=0,s="";do s+=t.slice(u,i)+e+n,u=i+r,i=t.indexOf(e,u);while(i!==-1);return s+=t.slice(u),s}function Gt(t,e,n,i){let r=0,u="";do{let s=t[i-1]==="\r";u+=t.slice(r,s?i-1:i)+e+(s?`\r
|
|
28
28
|
`:`
|
|
29
29
|
`)+n,r=i+1,i=t.indexOf(`
|
|
30
30
|
`,r)}while(i!==-1);return u+=t.slice(r),u}var{stdout:Ut,stderr:Yt}=qt,Pe=Symbol("GENERATOR"),j=Symbol("STYLER"),z=Symbol("IS_EMPTY"),zt=["ansi","ansi","ansi256","ansi16m"],M=Object.create(null),qi=(t,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let n=Ut?Ut.level:0;t.level=e.level===void 0?n:e.level};var Li=t=>{let e=(...n)=>n.join(" ");return qi(e,t),Object.setPrototypeOf(e,J.prototype),e};function J(t){return Li(t)}Object.setPrototypeOf(J.prototype,Function.prototype);for(let[t,e]of Object.entries(v))M[t]={get(){let n=De(this,Ie(e.open,e.close,this[j]),this[z]);return Object.defineProperty(this,t,{value:n}),n}};M.visible={get(){let t=De(this,this[j],!0);return Object.defineProperty(this,"visible",{value:t}),t}};var Ne=(t,e,n,...i)=>t==="rgb"?e==="ansi16m"?v[n].ansi16m(...i):e==="ansi256"?v[n].ansi256(v.rgbToAnsi256(...i)):v[n].ansi(v.rgbToAnsi(...i)):t==="hex"?Ne("rgb",e,n,...v.hexToRgb(...i)):v[n][t](...i),Gi=["rgb","hex","ansi256"];for(let t of Gi){M[t]={get(){let{level:n}=this;return function(...i){let r=Ie(Ne(t,zt[n],"color",...i),v.color.close,this[j]);return De(this,r,this[z])}}};let e="bg"+t[0].toUpperCase()+t.slice(1);M[e]={get(){let{level:n}=this;return function(...i){let r=Ie(Ne(t,zt[n],"bgColor",...i),v.bgColor.close,this[j]);return De(this,r,this[z])}}}}var Ui=Object.defineProperties(()=>{},{...M,level:{enumerable:!0,get(){return this[Pe].level},set(t){this[Pe].level=t}}}),Ie=(t,e,n)=>{let i,r;return n===void 0?(i=t,r=e):(i=n.openAll+t,r=e+n.closeAll),{open:t,close:e,openAll:i,closeAll:r,parent:n}},De=(t,e,n)=>{let i=(...r)=>Yi(i,r.length===1?""+r[0]:r.join(" "));return Object.setPrototypeOf(i,Ui),i[Pe]=t,i[j]=e,i[z]=n,i},Yi=(t,e)=>{if(t.level<=0||!e)return t[z]?"":e;let n=t[j];if(n===void 0)return e;let{openAll:i,closeAll:r}=n;if(e.includes("\x1B"))for(;n!==void 0;)e=Lt(e,n.close,n.open),n=n.parent;let u=e.indexOf(`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vitnode-app",
|
|
3
|
-
"version": "0.0.9-canary.
|
|
3
|
+
"version": "0.0.9-canary.45",
|
|
4
4
|
"description": "Create a new VitNode app in seconds.",
|
|
5
5
|
"author": "VitNode Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"ora": "^8.1.0",
|
|
43
43
|
"tsup": "^8.2.4",
|
|
44
44
|
"typescript": "^5.5.4",
|
|
45
|
-
"eslint-config-typescript-vitnode": "0.0.9-canary.
|
|
45
|
+
"eslint-config-typescript-vitnode": "0.0.9-canary.45"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"lint": "eslint .",
|
|
@@ -143,8 +143,8 @@ export type EditAdminMembersObj = {
|
|
|
143
143
|
|
|
144
144
|
export type EditAdminSettingsObj = {
|
|
145
145
|
__typename?: 'EditAdminSettingsObj';
|
|
146
|
-
site_copyright: Array<
|
|
147
|
-
site_description: Array<
|
|
146
|
+
site_copyright: Array<StringLanguage>;
|
|
147
|
+
site_description: Array<StringLanguage>;
|
|
148
148
|
site_name: Scalars['String']['output'];
|
|
149
149
|
};
|
|
150
150
|
|
|
@@ -192,7 +192,7 @@ export type GroupUser = {
|
|
|
192
192
|
__typename?: 'GroupUser';
|
|
193
193
|
color?: Maybe<Scalars['String']['output']>;
|
|
194
194
|
id: Scalars['Int']['output'];
|
|
195
|
-
name: Array<
|
|
195
|
+
name: Array<StringLanguage>;
|
|
196
196
|
};
|
|
197
197
|
|
|
198
198
|
export type HslColor = {
|
|
@@ -264,6 +264,7 @@ export type Mutation = {
|
|
|
264
264
|
admin__core_main_settings__edit: EditAdminSettingsObj;
|
|
265
265
|
admin__core_manifest_metadata__edit: ShowAdminManifestMetadataObj;
|
|
266
266
|
admin__core_members__create: SignUpCoreSessionsObj;
|
|
267
|
+
admin__core_members__delete: Scalars['String']['output'];
|
|
267
268
|
admin__core_members__edit: EditAdminMembersObj;
|
|
268
269
|
admin__core_nav_styles__change_position: Scalars['String']['output'];
|
|
269
270
|
admin__core_plugins__create: ShowAdminPlugins;
|
|
@@ -295,7 +296,6 @@ export type Mutation = {
|
|
|
295
296
|
core_members__avatar__delete: Scalars['String']['output'];
|
|
296
297
|
core_members__avatar__upload: UploadAvatarCoreMembersObj;
|
|
297
298
|
core_members__change_password: Scalars['String']['output'];
|
|
298
|
-
core_members__delete: Scalars['String']['output'];
|
|
299
299
|
core_members__reset_password__create_key: Scalars['String']['output'];
|
|
300
300
|
core_sessions__sign_in: Scalars['String']['output'];
|
|
301
301
|
core_sessions__sign_out: Scalars['String']['output'];
|
|
@@ -336,7 +336,7 @@ export type MutationAdmin__Core_Files__DeleteArgs = {
|
|
|
336
336
|
export type MutationAdmin__Core_Groups__CreateArgs = {
|
|
337
337
|
color?: InputMaybe<Scalars['String']['input']>;
|
|
338
338
|
content: ContentCreateAdminGroups;
|
|
339
|
-
name: Array<
|
|
339
|
+
name: Array<StringLanguageInput>;
|
|
340
340
|
};
|
|
341
341
|
|
|
342
342
|
|
|
@@ -349,7 +349,7 @@ export type MutationAdmin__Core_Groups__EditArgs = {
|
|
|
349
349
|
color?: InputMaybe<Scalars['String']['input']>;
|
|
350
350
|
content: ContentCreateAdminGroups;
|
|
351
351
|
id: Scalars['Int']['input'];
|
|
352
|
-
name: Array<
|
|
352
|
+
name: Array<StringLanguageInput>;
|
|
353
353
|
};
|
|
354
354
|
|
|
355
355
|
|
|
@@ -387,8 +387,8 @@ export type MutationAdmin__Core_Languages__EditArgs = {
|
|
|
387
387
|
|
|
388
388
|
|
|
389
389
|
export type MutationAdmin__Core_Main_Settings__EditArgs = {
|
|
390
|
-
site_copyright: Array<
|
|
391
|
-
site_description: Array<
|
|
390
|
+
site_copyright: Array<StringLanguageInput>;
|
|
391
|
+
site_description: Array<StringLanguageInput>;
|
|
392
392
|
site_name: Scalars['String']['input'];
|
|
393
393
|
site_short_name: Scalars['String']['input'];
|
|
394
394
|
};
|
|
@@ -409,12 +409,14 @@ export type MutationAdmin__Core_Members__CreateArgs = {
|
|
|
409
409
|
};
|
|
410
410
|
|
|
411
411
|
|
|
412
|
+
export type MutationAdmin__Core_Members__DeleteArgs = {
|
|
413
|
+
id: Scalars['Float']['input'];
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
|
|
412
417
|
export type MutationAdmin__Core_Members__EditArgs = {
|
|
413
|
-
birthday?: InputMaybe<Scalars['DateTime']['input']>;
|
|
414
418
|
email: Scalars['String']['input'];
|
|
415
|
-
first_name?: InputMaybe<Scalars['String']['input']>;
|
|
416
419
|
id: Scalars['Int']['input'];
|
|
417
|
-
last_name?: InputMaybe<Scalars['String']['input']>;
|
|
418
420
|
name: Scalars['String']['input'];
|
|
419
421
|
newsletter: Scalars['Boolean']['input'];
|
|
420
422
|
};
|
|
@@ -541,11 +543,11 @@ export type MutationAdmin__Core_Styles__Editor__EditArgs = {
|
|
|
541
543
|
|
|
542
544
|
|
|
543
545
|
export type MutationAdmin__Core_Styles__Nav__CreateArgs = {
|
|
544
|
-
description: Array<
|
|
546
|
+
description: Array<StringLanguageInput>;
|
|
545
547
|
external: Scalars['Boolean']['input'];
|
|
546
548
|
href: Scalars['String']['input'];
|
|
547
549
|
icon?: InputMaybe<Scalars['String']['input']>;
|
|
548
|
-
name: Array<
|
|
550
|
+
name: Array<StringLanguageInput>;
|
|
549
551
|
};
|
|
550
552
|
|
|
551
553
|
|
|
@@ -555,34 +557,34 @@ export type MutationAdmin__Core_Styles__Nav__DeleteArgs = {
|
|
|
555
557
|
|
|
556
558
|
|
|
557
559
|
export type MutationAdmin__Core_Styles__Nav__EditArgs = {
|
|
558
|
-
description: Array<
|
|
560
|
+
description: Array<StringLanguageInput>;
|
|
559
561
|
external: Scalars['Boolean']['input'];
|
|
560
562
|
href: Scalars['String']['input'];
|
|
561
563
|
icon?: InputMaybe<Scalars['String']['input']>;
|
|
562
564
|
id: Scalars['Int']['input'];
|
|
563
|
-
name: Array<
|
|
565
|
+
name: Array<StringLanguageInput>;
|
|
564
566
|
};
|
|
565
567
|
|
|
566
568
|
|
|
567
569
|
export type MutationAdmin__Core_Terms_Settings__CreateArgs = {
|
|
568
570
|
code: Scalars['String']['input'];
|
|
569
|
-
content: Array<
|
|
571
|
+
content: Array<StringLanguageInput>;
|
|
570
572
|
href?: InputMaybe<Scalars['String']['input']>;
|
|
571
|
-
title: Array<
|
|
573
|
+
title: Array<StringLanguageInput>;
|
|
572
574
|
};
|
|
573
575
|
|
|
574
576
|
|
|
575
577
|
export type MutationAdmin__Core_Terms_Settings__DeleteArgs = {
|
|
576
|
-
|
|
578
|
+
code: Scalars['String']['input'];
|
|
577
579
|
};
|
|
578
580
|
|
|
579
581
|
|
|
580
582
|
export type MutationAdmin__Core_Terms_Settings__EditArgs = {
|
|
581
583
|
code: Scalars['String']['input'];
|
|
582
|
-
content: Array<
|
|
584
|
+
content: Array<StringLanguageInput>;
|
|
583
585
|
href?: InputMaybe<Scalars['String']['input']>;
|
|
584
586
|
id: Scalars['Float']['input'];
|
|
585
|
-
title: Array<
|
|
587
|
+
title: Array<StringLanguageInput>;
|
|
586
588
|
};
|
|
587
589
|
|
|
588
590
|
|
|
@@ -616,11 +618,6 @@ export type MutationCore_Members__Change_PasswordArgs = {
|
|
|
616
618
|
};
|
|
617
619
|
|
|
618
620
|
|
|
619
|
-
export type MutationCore_Members__DeleteArgs = {
|
|
620
|
-
id: Scalars['Int']['input'];
|
|
621
|
-
};
|
|
622
|
-
|
|
623
|
-
|
|
624
621
|
export type MutationCore_Members__Reset_Password__Create_KeyArgs = {
|
|
625
622
|
email: Scalars['String']['input'];
|
|
626
623
|
};
|
|
@@ -716,6 +713,7 @@ export type QueryAdmin__Core_Members__ShowArgs = {
|
|
|
716
713
|
cursor?: InputMaybe<Scalars['Int']['input']>;
|
|
717
714
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
718
715
|
groups?: InputMaybe<Array<Scalars['Int']['input']>>;
|
|
716
|
+
id?: InputMaybe<Scalars['Float']['input']>;
|
|
719
717
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
720
718
|
search?: InputMaybe<Scalars['String']['input']>;
|
|
721
719
|
sortBy?: InputMaybe<ShowAdminMembersSortByArgs>;
|
|
@@ -879,7 +877,7 @@ export type ShowAdminGroups = {
|
|
|
879
877
|
default: Scalars['Boolean']['output'];
|
|
880
878
|
guest: Scalars['Boolean']['output'];
|
|
881
879
|
id: Scalars['Int']['output'];
|
|
882
|
-
name: Array<
|
|
880
|
+
name: Array<StringLanguage>;
|
|
883
881
|
protected: Scalars['Boolean']['output'];
|
|
884
882
|
root: Scalars['Boolean']['output'];
|
|
885
883
|
updated: Scalars['DateTime']['output'];
|
|
@@ -925,7 +923,6 @@ export type ShowAdminMembers = {
|
|
|
925
923
|
name: Scalars['String']['output'];
|
|
926
924
|
name_seo: Scalars['String']['output'];
|
|
927
925
|
newsletter: Scalars['Boolean']['output'];
|
|
928
|
-
posts: Scalars['Int']['output'];
|
|
929
926
|
};
|
|
930
927
|
|
|
931
928
|
export type ShowAdminMembersObj = {
|
|
@@ -1137,7 +1134,6 @@ export type ShowCoreMembers = {
|
|
|
1137
1134
|
language: Scalars['String']['output'];
|
|
1138
1135
|
name: Scalars['String']['output'];
|
|
1139
1136
|
name_seo: Scalars['String']['output'];
|
|
1140
|
-
posts: Scalars['Int']['output'];
|
|
1141
1137
|
};
|
|
1142
1138
|
|
|
1143
1139
|
export type ShowCoreMembersObj = {
|
|
@@ -1174,23 +1170,23 @@ export type ShowCoreMiddlewareObj = {
|
|
|
1174
1170
|
export type ShowCoreNav = {
|
|
1175
1171
|
__typename?: 'ShowCoreNav';
|
|
1176
1172
|
children: Array<ShowCoreNavItem>;
|
|
1177
|
-
description: Array<
|
|
1173
|
+
description: Array<StringLanguage>;
|
|
1178
1174
|
external: Scalars['Boolean']['output'];
|
|
1179
1175
|
href: Scalars['String']['output'];
|
|
1180
1176
|
icon?: Maybe<Scalars['String']['output']>;
|
|
1181
1177
|
id: Scalars['Int']['output'];
|
|
1182
|
-
name: Array<
|
|
1178
|
+
name: Array<StringLanguage>;
|
|
1183
1179
|
position: Scalars['Int']['output'];
|
|
1184
1180
|
};
|
|
1185
1181
|
|
|
1186
1182
|
export type ShowCoreNavItem = {
|
|
1187
1183
|
__typename?: 'ShowCoreNavItem';
|
|
1188
|
-
description: Array<
|
|
1184
|
+
description: Array<StringLanguage>;
|
|
1189
1185
|
external: Scalars['Boolean']['output'];
|
|
1190
1186
|
href: Scalars['String']['output'];
|
|
1191
1187
|
icon?: Maybe<Scalars['String']['output']>;
|
|
1192
1188
|
id: Scalars['Int']['output'];
|
|
1193
|
-
name: Array<
|
|
1189
|
+
name: Array<StringLanguage>;
|
|
1194
1190
|
position: Scalars['Int']['output'];
|
|
1195
1191
|
};
|
|
1196
1192
|
|
|
@@ -1222,11 +1218,11 @@ export type ShowCoreSessionDevicesObj = {
|
|
|
1222
1218
|
export type ShowCoreTerms = {
|
|
1223
1219
|
__typename?: 'ShowCoreTerms';
|
|
1224
1220
|
code: Scalars['String']['output'];
|
|
1225
|
-
content: Array<
|
|
1221
|
+
content: Array<StringLanguage>;
|
|
1226
1222
|
created: Scalars['DateTime']['output'];
|
|
1227
1223
|
href?: Maybe<Scalars['String']['output']>;
|
|
1228
1224
|
id: Scalars['Float']['output'];
|
|
1229
|
-
title: Array<
|
|
1225
|
+
title: Array<StringLanguage>;
|
|
1230
1226
|
updated: Scalars['DateTime']['output'];
|
|
1231
1227
|
};
|
|
1232
1228
|
|
|
@@ -1244,8 +1240,8 @@ export type ShowCoreThemeEditorObj = {
|
|
|
1244
1240
|
|
|
1245
1241
|
export type ShowSettingsObj = {
|
|
1246
1242
|
__typename?: 'ShowSettingsObj';
|
|
1247
|
-
site_copyright: Array<
|
|
1248
|
-
site_description: Array<
|
|
1243
|
+
site_copyright: Array<StringLanguage>;
|
|
1244
|
+
site_description: Array<StringLanguage>;
|
|
1249
1245
|
site_name: Scalars['String']['output'];
|
|
1250
1246
|
site_short_name: Scalars['String']['output'];
|
|
1251
1247
|
};
|
|
@@ -1273,17 +1269,17 @@ export type SortDirectionEnum = typeof SortDirectionEnum[keyof typeof SortDirect
|
|
|
1273
1269
|
export type StaffGroupUser = {
|
|
1274
1270
|
__typename?: 'StaffGroupUser';
|
|
1275
1271
|
color?: Maybe<Scalars['String']['output']>;
|
|
1276
|
-
group_name: Array<
|
|
1272
|
+
group_name: Array<StringLanguage>;
|
|
1277
1273
|
id: Scalars['Int']['output'];
|
|
1278
1274
|
};
|
|
1279
1275
|
|
|
1280
|
-
export type
|
|
1281
|
-
__typename?: '
|
|
1276
|
+
export type StringLanguage = {
|
|
1277
|
+
__typename?: 'StringLanguage';
|
|
1282
1278
|
language_code: Scalars['String']['output'];
|
|
1283
1279
|
value: Scalars['String']['output'];
|
|
1284
1280
|
};
|
|
1285
1281
|
|
|
1286
|
-
export type
|
|
1282
|
+
export type StringLanguageInput = {
|
|
1287
1283
|
language_code: Scalars['String']['input'];
|
|
1288
1284
|
value: Scalars['String']['input'];
|
|
1289
1285
|
};
|
|
@@ -142,6 +142,7 @@
|
|
|
142
142
|
"legal": {
|
|
143
143
|
"title": "Legal & Policies",
|
|
144
144
|
"desc": "These settings are used to generate the legal pages on your website.",
|
|
145
|
+
"legal_public": "Public Legal",
|
|
145
146
|
"preview": "Preview",
|
|
146
147
|
"create_edit": {
|
|
147
148
|
"create": "Create Policy",
|
|
@@ -493,6 +494,29 @@
|
|
|
493
494
|
"create": {
|
|
494
495
|
"title": "Create User",
|
|
495
496
|
"success": "User has been created."
|
|
497
|
+
},
|
|
498
|
+
"item": {
|
|
499
|
+
"user_menu": "User Menu",
|
|
500
|
+
"public_profile": "Public Profile",
|
|
501
|
+
"info": {
|
|
502
|
+
"title": "Info User",
|
|
503
|
+
"joined": "Joined",
|
|
504
|
+
"email": "Email"
|
|
505
|
+
},
|
|
506
|
+
"edit": {
|
|
507
|
+
"title": "Edit User",
|
|
508
|
+
"success": "User has been updated."
|
|
509
|
+
},
|
|
510
|
+
"delete": {
|
|
511
|
+
"title": "Delete User",
|
|
512
|
+
"desc": "This action will delete the user <name></name> and all data associated with it permanently.",
|
|
513
|
+
"submit": "Yes, delete user",
|
|
514
|
+
"success": "User has been deleted.",
|
|
515
|
+
"delete_admin": {
|
|
516
|
+
"title": "You cannot delete this admin",
|
|
517
|
+
"desc": "Please remove the admin permissions before deleting this user."
|
|
518
|
+
}
|
|
519
|
+
}
|
|
496
520
|
}
|
|
497
521
|
},
|
|
498
522
|
"groups": {
|