node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
export * from '@strapi/admin/strapi-admin/test';
//# sourceMappingURL=admin-test.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"admin-test.d.ts","sourceRoot":"","sources":["../src/admin-test.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC"}

13
server/node_modules/@strapi/strapi/dist/admin-test.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
'use strict';
var test = require('@strapi/admin/strapi-admin/test');
Object.keys(test).forEach(function (k) {
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
enumerable: true,
get: function () { return test[k]; }
});
});
//# sourceMappingURL=admin-test.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"admin-test.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}

View File

@@ -0,0 +1,2 @@
export * from '@strapi/admin/strapi-admin/test';
//# sourceMappingURL=admin-test.mjs.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"admin-test.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}

9
server/node_modules/@strapi/strapi/dist/admin.d.ts generated vendored Normal file
View File

@@ -0,0 +1,9 @@
/// <reference path="../src/types/index.d.ts" />
import { RenderAdminArgs } from '@strapi/admin/strapi-admin';
declare const render: (mountNode: HTMLElement | null, { plugins, ...restArgs }: RenderAdminArgs) => Promise<void>;
export { render as renderAdmin };
export type { RenderAdminArgs };
export * from '@strapi/admin/strapi-admin';
export { unstable_useDocumentLayout, unstable_useDocumentActions, unstable_useDocument, unstable_useContentManagerContext, useDocumentRBAC, } from '@strapi/content-manager/strapi-admin';
export { private_useAutoReloadOverlayBlocker, private_AutoReloadOverlayBlockerProvider, } from '@strapi/content-type-builder/strapi-admin';
//# sourceMappingURL=admin.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../src/admin.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAe,MAAM,4BAA4B,CAAC;AAS1E,QAAA,MAAM,MAAM,cAAe,WAAW,GAAG,IAAI,4BAA4B,eAAe,kBAcvF,CAAC;AAEF,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,CAAC;AACjC,YAAY,EAAE,eAAe,EAAE,CAAC;AAEhC,cAAc,4BAA4B,CAAC;AAE3C,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,oBAAoB,EACpB,iCAAiC,EACjC,eAAe,GAChB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EACL,mCAAmC,EACnC,wCAAwC,GACzC,MAAM,2CAA2C,CAAC"}

63
server/node_modules/@strapi/strapi/dist/admin.js generated vendored Normal file
View File

@@ -0,0 +1,63 @@
'use strict';
var strapiAdmin = require('@strapi/admin/strapi-admin');
var contentTypeBuilder = require('@strapi/content-type-builder/strapi-admin');
var contentManager = require('@strapi/content-manager/strapi-admin');
var email = require('@strapi/email/strapi-admin');
var upload = require('@strapi/upload/strapi-admin');
var i18n = require('@strapi/i18n/strapi-admin');
var contentReleases = require('@strapi/content-releases/strapi-admin');
var reviewWorkflows = require('@strapi/review-workflows/strapi-admin');
const render = (mountNode, { plugins, ...restArgs })=>{
return strapiAdmin.renderAdmin(mountNode, {
...restArgs,
plugins: {
'content-manager': contentManager,
'content-type-builder': contentTypeBuilder,
email,
upload,
contentReleases,
i18n,
reviewWorkflows,
...plugins
}
});
};
Object.defineProperty(exports, "private_AutoReloadOverlayBlockerProvider", {
enumerable: true,
get: function () { return contentTypeBuilder.private_AutoReloadOverlayBlockerProvider; }
});
Object.defineProperty(exports, "private_useAutoReloadOverlayBlocker", {
enumerable: true,
get: function () { return contentTypeBuilder.private_useAutoReloadOverlayBlocker; }
});
Object.defineProperty(exports, "unstable_useContentManagerContext", {
enumerable: true,
get: function () { return contentManager.unstable_useContentManagerContext; }
});
Object.defineProperty(exports, "unstable_useDocument", {
enumerable: true,
get: function () { return contentManager.unstable_useDocument; }
});
Object.defineProperty(exports, "unstable_useDocumentActions", {
enumerable: true,
get: function () { return contentManager.unstable_useDocumentActions; }
});
Object.defineProperty(exports, "unstable_useDocumentLayout", {
enumerable: true,
get: function () { return contentManager.unstable_useDocumentLayout; }
});
Object.defineProperty(exports, "useDocumentRBAC", {
enumerable: true,
get: function () { return contentManager.useDocumentRBAC; }
});
exports.renderAdmin = render;
Object.keys(strapiAdmin).forEach(function (k) {
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
enumerable: true,
get: function () { return strapiAdmin[k]; }
});
});
//# sourceMappingURL=admin.js.map

1
server/node_modules/@strapi/strapi/dist/admin.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"admin.js","sources":["../src/admin.ts"],"sourcesContent":["import { RenderAdminArgs, renderAdmin } from '@strapi/admin/strapi-admin';\nimport contentTypeBuilder from '@strapi/content-type-builder/strapi-admin';\nimport contentManager from '@strapi/content-manager/strapi-admin';\nimport email from '@strapi/email/strapi-admin';\nimport upload from '@strapi/upload/strapi-admin';\nimport i18n from '@strapi/i18n/strapi-admin';\nimport contentReleases from '@strapi/content-releases/strapi-admin';\nimport reviewWorkflows from '@strapi/review-workflows/strapi-admin';\n\nconst render = (mountNode: HTMLElement | null, { plugins, ...restArgs }: RenderAdminArgs) => {\n return renderAdmin(mountNode, {\n ...restArgs,\n plugins: {\n 'content-manager': contentManager,\n 'content-type-builder': contentTypeBuilder,\n email,\n upload,\n contentReleases,\n i18n,\n reviewWorkflows,\n ...plugins,\n },\n });\n};\n\nexport { render as renderAdmin };\nexport type { RenderAdminArgs };\n\nexport * from '@strapi/admin/strapi-admin';\n\nexport {\n unstable_useDocumentLayout,\n unstable_useDocumentActions,\n unstable_useDocument,\n unstable_useContentManagerContext,\n useDocumentRBAC,\n} from '@strapi/content-manager/strapi-admin';\n\nexport {\n private_useAutoReloadOverlayBlocker,\n private_AutoReloadOverlayBlockerProvider,\n} from '@strapi/content-type-builder/strapi-admin';\n"],"names":["render","mountNode","plugins","restArgs","renderAdmin","contentManager","contentTypeBuilder","email","upload","contentReleases","i18n","reviewWorkflows"],"mappings":";;;;;;;;;;;AASA,MAAMA,SAAS,CAACC,SAAAA,EAA+B,EAAEC,OAAO,EAAE,GAAGC,QAA2B,EAAA,GAAA;AACtF,IAAA,OAAOC,wBAAYH,SAAW,EAAA;AAC5B,QAAA,GAAGE,QAAQ;QACXD,OAAS,EAAA;YACP,iBAAmBG,EAAAA,cAAAA;YACnB,sBAAwBC,EAAAA,kBAAAA;AACxBC,YAAAA,KAAAA;AACAC,YAAAA,MAAAA;AACAC,YAAAA,eAAAA;AACAC,YAAAA,IAAAA;AACAC,YAAAA,eAAAA;AACA,YAAA,GAAGT;AACL;AACF,KAAA,CAAA;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}

30
server/node_modules/@strapi/strapi/dist/admin.mjs generated vendored Normal file
View File

@@ -0,0 +1,30 @@
import { renderAdmin } from '@strapi/admin/strapi-admin';
export * from '@strapi/admin/strapi-admin';
import contentTypeBuilder from '@strapi/content-type-builder/strapi-admin';
export { private_AutoReloadOverlayBlockerProvider, private_useAutoReloadOverlayBlocker } from '@strapi/content-type-builder/strapi-admin';
import contentManager from '@strapi/content-manager/strapi-admin';
export { unstable_useContentManagerContext, unstable_useDocument, unstable_useDocumentActions, unstable_useDocumentLayout, useDocumentRBAC } from '@strapi/content-manager/strapi-admin';
import email from '@strapi/email/strapi-admin';
import upload from '@strapi/upload/strapi-admin';
import i18n from '@strapi/i18n/strapi-admin';
import contentReleases from '@strapi/content-releases/strapi-admin';
import reviewWorkflows from '@strapi/review-workflows/strapi-admin';
const render = (mountNode, { plugins, ...restArgs })=>{
return renderAdmin(mountNode, {
...restArgs,
plugins: {
'content-manager': contentManager,
'content-type-builder': contentTypeBuilder,
email,
upload,
contentReleases,
i18n,
reviewWorkflows,
...plugins
}
});
};
export { render as renderAdmin };
//# sourceMappingURL=admin.mjs.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"admin.mjs","sources":["../src/admin.ts"],"sourcesContent":["import { RenderAdminArgs, renderAdmin } from '@strapi/admin/strapi-admin';\nimport contentTypeBuilder from '@strapi/content-type-builder/strapi-admin';\nimport contentManager from '@strapi/content-manager/strapi-admin';\nimport email from '@strapi/email/strapi-admin';\nimport upload from '@strapi/upload/strapi-admin';\nimport i18n from '@strapi/i18n/strapi-admin';\nimport contentReleases from '@strapi/content-releases/strapi-admin';\nimport reviewWorkflows from '@strapi/review-workflows/strapi-admin';\n\nconst render = (mountNode: HTMLElement | null, { plugins, ...restArgs }: RenderAdminArgs) => {\n return renderAdmin(mountNode, {\n ...restArgs,\n plugins: {\n 'content-manager': contentManager,\n 'content-type-builder': contentTypeBuilder,\n email,\n upload,\n contentReleases,\n i18n,\n reviewWorkflows,\n ...plugins,\n },\n });\n};\n\nexport { render as renderAdmin };\nexport type { RenderAdminArgs };\n\nexport * from '@strapi/admin/strapi-admin';\n\nexport {\n unstable_useDocumentLayout,\n unstable_useDocumentActions,\n unstable_useDocument,\n unstable_useContentManagerContext,\n useDocumentRBAC,\n} from '@strapi/content-manager/strapi-admin';\n\nexport {\n private_useAutoReloadOverlayBlocker,\n private_AutoReloadOverlayBlockerProvider,\n} from '@strapi/content-type-builder/strapi-admin';\n"],"names":["render","mountNode","plugins","restArgs","renderAdmin","contentManager","contentTypeBuilder","email","upload","contentReleases","i18n","reviewWorkflows"],"mappings":";;;;;;;;;;;;AASA,MAAMA,SAAS,CAACC,SAAAA,EAA+B,EAAEC,OAAO,EAAE,GAAGC,QAA2B,EAAA,GAAA;AACtF,IAAA,OAAOC,YAAYH,SAAW,EAAA;AAC5B,QAAA,GAAGE,QAAQ;QACXD,OAAS,EAAA;YACP,iBAAmBG,EAAAA,cAAAA;YACnB,sBAAwBC,EAAAA,kBAAAA;AACxBC,YAAAA,KAAAA;AACAC,YAAAA,MAAAA;AACAC,YAAAA,eAAAA;AACAC,YAAAA,IAAAA;AACAC,YAAAA,eAAAA;AACA,YAAA,GAAGT;AACL;AACF,KAAA,CAAA;AACF;;;;"}

94
server/node_modules/@strapi/strapi/dist/cli.js generated vendored Normal file
View File

@@ -0,0 +1,94 @@
'use strict';
var commander = require('commander');
var index = require('./src/cli/commands/index.js');
var logger = require('./src/cli/utils/logger.js');
var tsconfig = require('./src/cli/utils/tsconfig.js');
var _package = require('./package.json.js');
const createCLI = async (argv, command = new commander.Command())=>{
// Initial program setup
command.storeOptionsAsProperties(false).allowUnknownOption(true);
// Help command
command.helpOption('-h, --help', 'Display help for command');
command.addHelpCommand('help [command]', 'Display help for command');
command.version(_package.version, '-v, --version', 'Output the version number');
const cwd = process.cwd();
const hasDebug = argv.includes('--debug');
const hasSilent = argv.includes('--silent');
const logger$1 = logger.createLogger({
debug: hasDebug,
silent: hasSilent,
timestamp: false
});
const tsconfig$1 = tsconfig.loadTsConfig({
cwd,
path: 'tsconfig.json',
logger: logger$1
});
const ctx = {
cwd,
logger: logger$1,
tsconfig: tsconfig$1
};
// Load all commands
for (const commandFactory of index.commands){
try {
const subCommand = await commandFactory({
command,
argv,
ctx
});
// Add this command to the Commander command object
if (subCommand) {
command.addCommand(subCommand);
}
} catch (e) {
console.error(`Failed to load command`, e);
}
}
// TODO v6: remove these deprecation notices
const deprecatedCommands = [
{
name: 'plugin:init',
message: 'Please use `npx @strapi/sdk-plugin init` instead.'
},
{
name: 'plugin:verify',
message: 'After migrating your plugin to v5, use `strapi-plugin verify`'
},
{
name: 'plugin:watch',
message: 'After migrating your plugin to v5, use `strapi-plugin watch`'
},
{
name: 'plugin:watch:link',
message: 'After migrating your plugin to v5, use `strapi-plugin watch:link`'
},
{
name: 'plugin:build',
message: 'After migrating your plugin to v5, use `strapi-plugin build`'
}
];
// Add hidden commands for deprecatedCommands that output a warning that the command has been removed.
deprecatedCommands.forEach(({ name, message })=>{
const deprecated = new commander.Command(name).command(name).description('(deprecated)').action(()=>{
console.warn(`The command ${name} has been deprecated. See the Strapi 5 migration guide for more information.`);
if (message) {
console.warn(message);
}
});
command.addCommand(deprecated, {
hidden: true
});
});
return command;
};
const runCLI = async (argv = process.argv, command = new commander.Command())=>{
const commands = await createCLI(argv, command);
await commands.parseAsync(argv);
};
exports.createCLI = createCLI;
exports.runCLI = runCLI;
//# sourceMappingURL=cli.js.map

1
server/node_modules/@strapi/strapi/dist/cli.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

91
server/node_modules/@strapi/strapi/dist/cli.mjs generated vendored Normal file
View File

@@ -0,0 +1,91 @@
import { Command } from 'commander';
import { commands } from './src/cli/commands/index.mjs';
import { createLogger } from './src/cli/utils/logger.mjs';
import { loadTsConfig } from './src/cli/utils/tsconfig.mjs';
import { version } from './package.json.mjs';
const createCLI = async (argv, command = new Command())=>{
// Initial program setup
command.storeOptionsAsProperties(false).allowUnknownOption(true);
// Help command
command.helpOption('-h, --help', 'Display help for command');
command.addHelpCommand('help [command]', 'Display help for command');
command.version(version, '-v, --version', 'Output the version number');
const cwd = process.cwd();
const hasDebug = argv.includes('--debug');
const hasSilent = argv.includes('--silent');
const logger = createLogger({
debug: hasDebug,
silent: hasSilent,
timestamp: false
});
const tsconfig = loadTsConfig({
cwd,
path: 'tsconfig.json',
logger
});
const ctx = {
cwd,
logger,
tsconfig
};
// Load all commands
for (const commandFactory of commands){
try {
const subCommand = await commandFactory({
command,
argv,
ctx
});
// Add this command to the Commander command object
if (subCommand) {
command.addCommand(subCommand);
}
} catch (e) {
console.error(`Failed to load command`, e);
}
}
// TODO v6: remove these deprecation notices
const deprecatedCommands = [
{
name: 'plugin:init',
message: 'Please use `npx @strapi/sdk-plugin init` instead.'
},
{
name: 'plugin:verify',
message: 'After migrating your plugin to v5, use `strapi-plugin verify`'
},
{
name: 'plugin:watch',
message: 'After migrating your plugin to v5, use `strapi-plugin watch`'
},
{
name: 'plugin:watch:link',
message: 'After migrating your plugin to v5, use `strapi-plugin watch:link`'
},
{
name: 'plugin:build',
message: 'After migrating your plugin to v5, use `strapi-plugin build`'
}
];
// Add hidden commands for deprecatedCommands that output a warning that the command has been removed.
deprecatedCommands.forEach(({ name, message })=>{
const deprecated = new Command(name).command(name).description('(deprecated)').action(()=>{
console.warn(`The command ${name} has been deprecated. See the Strapi 5 migration guide for more information.`);
if (message) {
console.warn(message);
}
});
command.addCommand(deprecated, {
hidden: true
});
});
return command;
};
const runCLI = async (argv = process.argv, command = new Command())=>{
const commands = await createCLI(argv, command);
await commands.parseAsync(argv);
};
export { createCLI, runCLI };
//# sourceMappingURL=cli.mjs.map

1
server/node_modules/@strapi/strapi/dist/cli.mjs.map generated vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,17 @@
import type { StrapiCommand } from '../../types';
interface CmdOptions {
email?: string;
password?: string;
firstname?: string;
lastname?: string;
}
/**
* Create new admin user
*/
declare const action: (cmdOptions?: CmdOptions) => Promise<void>;
/**
* `$ strapi admin:create-user`
*/
declare const command: StrapiCommand;
export { action, command };
//# sourceMappingURL=create-user.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"create-user.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/admin/create-user.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,UAAU,UAAU;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAsFD;;GAEG;AACH,QAAA,MAAM,MAAM,gBAAsB,UAAU,kBA8B3C,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aASd,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,15 @@
import type { StrapiCommand } from '../../types';
interface CmdOptions {
email?: string;
password?: string;
}
/**
* Reset user's password
*/
declare const action: (cmdOptions?: CmdOptions) => Promise<void>;
/**
* `$ strapi admin:reset-user-password`
*/
declare const command: StrapiCommand;
export { action, command };
//# sourceMappingURL=reset-user-password.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"reset-user-password.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/admin/reset-user-password.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,UAAU,UAAU;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AA4BD;;GAEG;AACH,QAAA,MAAM,MAAM,gBAAsB,UAAU,kBAmB3C,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAOd,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,7 @@
import type { StrapiCommand } from '../types';
/**
* `$ strapi build`
*/
declare const command: StrapiCommand;
export { command };
//# sourceMappingURL=build.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/build.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAqB9C;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAYd,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,8 @@
import type { StrapiCommand } from '../../types';
declare const action: () => Promise<void>;
/**
* `$ strapi components:list`
*/
declare const command: StrapiCommand;
export { action, command };
//# sourceMappingURL=list.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/components/list.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,QAAA,MAAM,MAAM,qBAeX,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAId,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,16 @@
import type { StrapiCommand } from '../../types';
interface CmdOptions {
file?: string;
pretty?: boolean;
}
/**
* Will dump configurations to a file or stdout
* @param {string} file filepath to use as output
*/
declare const action: ({ file: filePath, pretty }: CmdOptions) => Promise<never>;
/**
* `$ strapi configuration:dump`
*/
declare const command: StrapiCommand;
export { action, command };
//# sourceMappingURL=dump.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"dump.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/configuration/dump.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,UAAU,UAAU;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAiBD;;;GAGG;AACH,QAAA,MAAM,MAAM,+BAAsC,UAAU,mBAyC3D,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAOd,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,16 @@
import type { StrapiCommand } from '../../types';
type Strategy = 'replace' | 'merge' | 'keep';
interface CmdOptions {
file?: string;
strategy?: Strategy;
}
/**
* Will restore configurations. It reads from a file or stdin
*/
declare const action: ({ file: filePath, strategy }: CmdOptions) => Promise<never>;
/**
* `$ strapi configuration:restore`
*/
declare const command: StrapiCommand;
export { action, command };
//# sourceMappingURL=restore.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"restore.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/configuration/restore.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,KAAK,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAE7C,UAAU,UAAU;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED;;GAEG;AACH,QAAA,MAAM,MAAM,iCAAoD,UAAU,mBAoCzE,CAAC;AAkIF;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAOd,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,8 @@
import type { StrapiCommand } from '../types';
declare const action: () => Promise<void>;
/**
* `$ strapi console`
*/
declare const command: StrapiCommand;
export { action, command };
//# sourceMappingURL=console.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/console.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAG9C,QAAA,MAAM,MAAM,qBAiBX,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAId,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,8 @@
import type { StrapiCommand } from '../../types';
declare const action: () => Promise<void>;
/**
* `$ strapi content-types:list`
*/
declare const command: StrapiCommand;
export { action, command };
//# sourceMappingURL=list.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/content-types/list.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,QAAA,MAAM,MAAM,qBAeX,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAId,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,8 @@
import type { StrapiCommand } from '../../types';
declare const action: () => Promise<void>;
/**
* `$ strapi controllers:list`
*/
declare const command: StrapiCommand;
export { action, command };
//# sourceMappingURL=list.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/controllers/list.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,QAAA,MAAM,MAAM,qBAeX,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAId,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,7 @@
import type { StrapiCommand } from '../types';
/**
* `$ strapi develop`
*/
declare const command: StrapiCommand;
export { command };
//# sourceMappingURL=develop.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"develop.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/develop.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAsB9C;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAcd,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,22 @@
import { engine as engineDataTransfer } from '@strapi/data-transfer';
interface CmdOptions {
file?: string;
encrypt?: boolean;
verbose?: boolean;
key?: string;
compress?: boolean;
only?: (keyof engineDataTransfer.TransferGroupFilter)[];
exclude?: (keyof engineDataTransfer.TransferGroupFilter)[];
throttle?: number;
maxSizeJsonl?: number;
}
/**
* Export command.
*
* It transfers data from a local Strapi instance to a file
*
* @param {ExportCommandOptions} opts
*/
declare const _default: (opts: CmdOptions) => Promise<void>;
export default _default;
//# sourceMappingURL=action.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/export/action.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,MAAM,IAAI,kBAAkB,EAG7B,MAAM,uBAAuB,CAAC;AAyB/B,UAAU,UAAU;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,CAAC,MAAM,kBAAkB,CAAC,mBAAmB,CAAC,EAAE,CAAC;IACxD,OAAO,CAAC,EAAE,CAAC,MAAM,kBAAkB,CAAC,mBAAmB,CAAC,EAAE,CAAC;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;GAMG;+BACyB,UAAU;AAAtC,wBA6FE"}

View File

@@ -0,0 +1,6 @@
/**
* `$ strapi export`
*/
declare const command: () => import("commander").Command;
export default command;
//# sourceMappingURL=command.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/export/command.ts"],"names":[],"mappings":"AAWA;;GAEG;AACH,QAAA,MAAM,OAAO,mCA4BZ,CAAC;AAEF,eAAe,OAAO,CAAC"}

View File

@@ -0,0 +1,7 @@
import type { StrapiCommand } from '../types';
/**
* `$ strapi generate`
*/
declare const command: StrapiCommand;
export { command };
//# sourceMappingURL=generate.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/generate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAUd,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,8 @@
import type { StrapiCommand } from '../../types';
declare const action: () => Promise<void>;
/**
* `$ strapi hooks:list`
*/
declare const command: StrapiCommand;
export { action, command };
//# sourceMappingURL=list.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/hooks/list.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,QAAA,MAAM,MAAM,qBAeX,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAId,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,21 @@
import { engine as engineDataTransfer } from '@strapi/data-transfer';
interface CmdOptions {
file?: string;
decompress?: boolean;
decrypt?: boolean;
verbose?: boolean;
key?: string;
conflictStrategy?: 'restore';
force?: boolean;
only?: (keyof engineDataTransfer.TransferGroupFilter)[];
exclude?: (keyof engineDataTransfer.TransferGroupFilter)[];
throttle?: number;
}
/**
* Import command.
*
* It transfers data from a file to a local Strapi instance
*/
declare const _default: (opts: CmdOptions) => Promise<void>;
export default _default;
//# sourceMappingURL=action.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/import/action.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,MAAM,IAAI,kBAAkB,EAG7B,MAAM,uBAAuB,CAAC;AA4B/B,UAAU,UAAU;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,CAAC,MAAM,kBAAkB,CAAC,mBAAmB,CAAC,EAAE,CAAC;IACxD,OAAO,CAAC,EAAE,CAAC,MAAM,kBAAkB,CAAC,mBAAmB,CAAC,EAAE,CAAC;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAID;;;;GAIG;+BACyB,UAAU;AAAtC,wBAkHE"}

View File

@@ -0,0 +1,6 @@
/**
* `$ strapi import`
*/
declare const command: () => import("commander").Command;
export default command;
//# sourceMappingURL=command.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/import/command.ts"],"names":[],"mappings":"AAaA;;GAEG;AACH,QAAA,MAAM,OAAO,mCAgFZ,CAAC;AAEF,eAAe,OAAO,CAAC"}

View File

@@ -0,0 +1,3 @@
import { StrapiCommand } from '../types';
export declare const commands: StrapiCommand[];
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/index.ts"],"names":[],"mappings":"AA6BA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,eAAO,MAAM,QAAQ,EAAE,aAAa,EA+BnC,CAAC"}

View File

@@ -0,0 +1,8 @@
import type { StrapiCommand } from '../../types';
declare const action: () => Promise<void>;
/**
* `$ strapi middlewares:list`
*/
declare const command: StrapiCommand;
export { action, command };
//# sourceMappingURL=list.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/middlewares/list.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,QAAA,MAAM,MAAM,qBAeX,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAId,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,22 @@
declare const ADMIN: {
tsconfigFile: {
name: string;
contents: string;
};
tsconfigBuildFile: {
name: string;
contents: string;
};
};
declare const SERVER: {
tsconfigFile: {
name: string;
contents: string;
};
tsconfigBuildFile: {
name: string;
contents: string;
};
};
export { ADMIN as adminTsconfigFiles, SERVER as serverTsconfigFiles };
//# sourceMappingURL=typescript.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../../../../../src/cli/commands/plugin/init/files/typescript.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,KAAK;;;;;;;;;CA4CV,CAAC;AAEF,QAAA,MAAM,MAAM;;;;;;;;;CA0CX,CAAC;AAEF,OAAO,EAAE,KAAK,IAAI,kBAAkB,EAAE,MAAM,IAAI,mBAAmB,EAAE,CAAC"}

View File

@@ -0,0 +1,8 @@
import type { StrapiCommand } from '../../types';
declare const action: () => Promise<void>;
/**
* `$ strapi policies:list`
*/
declare const command: StrapiCommand;
export { action, command };
//# sourceMappingURL=list.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/policies/list.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,QAAA,MAAM,MAAM,qBAeX,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAId,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,7 @@
import type { StrapiCommand } from '../types';
/**
* `$ strapi report`
*/
declare const command: StrapiCommand;
export { command };
//# sourceMappingURL=report.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/report.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAwC9C;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAOd,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,8 @@
import type { StrapiCommand } from '../../types';
declare const action: () => Promise<void>;
/**
* `$ strapi routes:list``
*/
declare const command: StrapiCommand;
export { action, command };
//# sourceMappingURL=list.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/routes/list.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,QAAA,MAAM,MAAM,qBAoBX,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAId,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,8 @@
import type { StrapiCommand } from '../../types';
declare const action: () => Promise<void>;
/**
* `$ strapi services:list`
*/
declare const command: StrapiCommand;
export { action, command };
//# sourceMappingURL=list.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/services/list.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,QAAA,MAAM,MAAM,qBAeX,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAId,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,7 @@
import type { StrapiCommand } from '../types';
/**
* `$ strapi start`
*/
declare const command: StrapiCommand;
export { command };
//# sourceMappingURL=start.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/start.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAoB9C;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAId,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,8 @@
import type { StrapiCommand } from '../../types';
declare const action: () => Promise<never>;
/**
* `$ strapi telemetry:disable`
*/
declare const command: StrapiCommand;
export { action, command };
//# sourceMappingURL=disable.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/telemetry/disable.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AA6BjD,QAAA,MAAM,MAAM,sBAsCX,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAId,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,8 @@
import type { StrapiCommand } from '../../types';
declare const action: () => Promise<never>;
/**
* `$ strapi telemetry:enable`
*/
declare const command: StrapiCommand;
export { action, command };
//# sourceMappingURL=enable.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/telemetry/enable.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAiEjD,QAAA,MAAM,MAAM,sBAiCX,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAId,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,7 @@
import type { StrapiCommand } from '../../types';
/**
*`$ strapi templates:generate <directory>`
*/
declare const command: StrapiCommand;
export { command };
//# sourceMappingURL=generate.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/templates/generate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAOd,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,20 @@
import { engine as engineDataTransfer } from '@strapi/data-transfer';
interface CmdOptions {
from?: URL;
fromToken: string;
to: URL;
toToken: string;
verbose?: boolean;
only?: (keyof engineDataTransfer.TransferGroupFilter)[];
exclude?: (keyof engineDataTransfer.TransferGroupFilter)[];
throttle?: number;
force?: boolean;
}
/**
* Transfer command.
*
* Transfers data between local Strapi and remote Strapi instances
*/
declare const _default: (opts: CmdOptions) => Promise<void>;
export default _default;
//# sourceMappingURL=action.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/transfer/action.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,IAAI,kBAAkB,EAAgC,MAAM,uBAAuB,CAAC;AA4BnG,UAAU,UAAU;IAClB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,GAAG,CAAC;IACR,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,CAAC,MAAM,kBAAkB,CAAC,mBAAmB,CAAC,EAAE,CAAC;IACxD,OAAO,CAAC,EAAE,CAAC,MAAM,kBAAkB,CAAC,mBAAmB,CAAC,EAAE,CAAC;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AACD;;;;GAIG;+BACyB,UAAU;AAAtC,wBAqJE"}

View File

@@ -0,0 +1,6 @@
/**
* `$ strapi transfer`
*/
declare const command: () => import("commander").Command;
export default command;
//# sourceMappingURL=command.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/transfer/command.ts"],"names":[],"mappings":"AAaA;;GAEG;AACH,QAAA,MAAM,OAAO,mCAiGZ,CAAC;AAEF,eAAe,OAAO,CAAC"}

View File

@@ -0,0 +1,14 @@
import type { StrapiCommand } from '../../types';
interface CmdOptions {
debug?: boolean;
silent?: boolean;
verbose?: boolean;
outDir?: string;
}
declare const action: ({ debug, silent, verbose, outDir }: CmdOptions) => Promise<void>;
/**
* `$ strapi ts:generate-types`
*/
declare const command: StrapiCommand;
export { action, command };
//# sourceMappingURL=generate-types.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"generate-types.d.ts","sourceRoot":"","sources":["../../../../src/cli/commands/ts/generate-types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,UAAU,UAAU;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,QAAA,MAAM,MAAM,uCAA8C,UAAU,kBAqBnE,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,OAAO,EAAE,aAUd,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,7 @@
import type { StrapiCommand } from '../types';
/**
* `$ strapi version`
*/
declare const command: StrapiCommand;
export { command };
//# sourceMappingURL=version.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/version.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAG9C;;GAEG;AAEH,QAAA,MAAM,OAAO,EAAE,aAQd,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}

View File

@@ -0,0 +1,5 @@
import { Command } from 'commander';
declare const createCLI: (argv: string[], command?: Command) => Promise<Command>;
declare const runCLI: (argv?: string[], command?: Command) => Promise<void>;
export { runCLI, createCLI };
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AASpC,QAAA,MAAM,SAAS,SAAgB,MAAM,EAAE,wCAgFtC,CAAC;AAEF,QAAA,MAAM,MAAM,uDAGX,CAAC;AAEF,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC"}

14
server/node_modules/@strapi/strapi/dist/cli/types.d.ts generated vendored Normal file
View File

@@ -0,0 +1,14 @@
import type { Command } from 'commander';
import { Logger } from './utils/logger';
import { TsConfig } from './utils/tsconfig';
export interface CLIContext {
cwd: string;
logger: Logger;
tsconfig?: TsConfig;
}
export type StrapiCommand = (params: {
command: Command;
argv: string[];
ctx: CLIContext;
}) => void | Command | Promise<void | Command>;
//# sourceMappingURL=types.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/cli/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB;AAED,MAAM,MAAM,aAAa,GAAG,CAAC,MAAM,EAAE;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,GAAG,EAAE,UAAU,CAAC;CACjB,KAAK,IAAI,GAAG,OAAO,GAAG,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,CAAC"}

View File

@@ -0,0 +1,36 @@
/**
* This file includes hooks to use for commander.hook and argParsers for commander.argParser
*/
import { Command, Option } from 'commander';
/**
* argParser: Parse a comma-delimited string as an array
*/
declare const parseList: (value: string) => string[];
/**
* Returns an argParser that returns a list
*/
declare const getParseListWithChoices: (choices: string[], errorMessage?: string) => (value: string) => string[];
/**
* argParser: Parse a string as an integer
*/
declare const parseInteger: (value: string) => number;
/**
* argParser: Parse a string as a URL object
*/
declare const parseURL: (value: string) => URL;
/**
* hook: if encrypt==true and key not provided, prompt for it
*/
declare const promptEncryptionKey: (thisCommand: Command) => Promise<void>;
/**
* hook: require a confirmation message to be accepted unless forceOption (-f,--force) is used
*/
declare const getCommanderConfirmMessage: (message: string, { failMessage }?: {
failMessage?: string;
}) => (command: Command) => Promise<void>;
declare const confirmMessage: (message: string, { force }?: {
force?: boolean;
}) => Promise<any>;
declare const forceOption: Option;
export { getParseListWithChoices, parseList, parseURL, parseInteger, promptEncryptionKey, getCommanderConfirmMessage, confirmMessage, forceOption, };
//# sourceMappingURL=commander.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"commander.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/commander.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,OAAO,EAA8B,MAAM,EAAE,MAAM,WAAW,CAAC;AAKxE;;GAEG;AACH,QAAA,MAAM,SAAS,UAAW,MAAM,aAQ/B,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,uBAAuB,YAAa,MAAM,EAAE,oCACjC,MAAM,aAYtB,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,YAAY,UAAW,MAAM,WAOlC,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,QAAQ,UAAW,MAAM,QAW9B,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,mBAAmB,gBAAuB,OAAO,kBA8BtD,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,0BAA0B,YACrB,MAAM,oBACE;IAAE,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,eAElB,OAAO,kBAM/B,CAAC;AAEF,QAAA,MAAM,cAAc,YAAmB,MAAM,cAAa;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,iBAkB5E,CAAC;AAEF,QAAA,MAAM,WAAW,QAGhB,CAAC;AAEF,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,mBAAmB,EACnB,0BAA0B,EAC1B,cAAc,EACd,WAAW,GACZ,CAAC"}

View File

@@ -0,0 +1,63 @@
import Table from 'cli-table3';
import { Command, Option } from 'commander';
import ora from 'ora';
import type { Core } from '@strapi/types';
import { engine as engineDataTransfer } from '@strapi/data-transfer';
declare const exitMessageText: (process: string, error?: boolean) => string;
declare const getDefaultExportName: () => string;
type ResultData = engineDataTransfer.ITransferResults<engineDataTransfer.ISourceProvider, engineDataTransfer.IDestinationProvider>['engine'];
declare const buildTransferTable: (resultData: ResultData) => Table.Table | undefined;
declare const DEFAULT_IGNORED_CONTENT_TYPES: string[];
declare const abortTransfer: ({ engine, strapi, }: {
engine: engineDataTransfer.TransferEngine;
strapi: Core.Strapi;
}) => Promise<boolean>;
declare const setSignalHandler: (handler: (...args: unknown[]) => void, signals?: string[]) => Promise<void>;
declare const createStrapiInstance: (opts?: {
logLevel?: string;
}) => Promise<Core.Strapi>;
declare const throttleOption: Option;
declare const excludeOption: Option;
declare const onlyOption: Option;
declare const validateExcludeOnly: (command: Command) => void;
declare const formatDiagnostic: (operation: string, info?: boolean) => Parameters<engineDataTransfer.TransferEngine['diagnostics']['onDiagnostic']>[0];
type Loaders = {
[key in engineDataTransfer.TransferStage]: ora.Ora;
};
type Data = {
[key in engineDataTransfer.TransferStage]?: {
startTime?: number;
endTime?: number;
bytes?: number;
count?: number;
};
};
declare const loadersFactory: (defaultLoaders?: Loaders) => {
updateLoader: (stage: engineDataTransfer.TransferStage, data: Data) => ora.Ora;
createLoader: (stage: engineDataTransfer.TransferStage) => ora.Ora;
getLoader: (stage: engineDataTransfer.TransferStage) => ora.Ora;
};
/**
* Get the telemetry data to be sent for a didDEITSProcess* event from an initialized transfer engine object
*/
declare const getTransferTelemetryPayload: (engine: engineDataTransfer.TransferEngine) => {
eventProperties: {
source: string;
destination: string;
};
};
/**
* Get a transfer engine schema diff handler that confirms with the user before bypassing a schema check
*/
declare const getDiffHandler: (engine: engineDataTransfer.TransferEngine, { force, action, }: {
force?: boolean;
action: string;
}) => (context: engineDataTransfer.SchemaDiffHandlerContext, next: (ctx: engineDataTransfer.SchemaDiffHandlerContext) => void) => Promise<void>;
declare const getAssetsBackupHandler: (engine: engineDataTransfer.TransferEngine, { force, action, }: {
force?: boolean;
action: string;
}) => (context: engineDataTransfer.ErrorHandlerContext, next: (ctx: engineDataTransfer.ErrorHandlerContext) => void) => Promise<void>;
declare const shouldSkipStage: (opts: Partial<engineDataTransfer.ITransferEngineOptions>, dataKind: engineDataTransfer.TransferFilterPreset) => boolean;
declare const parseRestoreFromOptions: (opts: Partial<engineDataTransfer.ITransferEngineOptions>) => import("@strapi/data-transfer/dist/strapi/providers/local-destination/strategies/restore").IRestoreOptions;
export { loadersFactory, buildTransferTable, getDefaultExportName, getTransferTelemetryPayload, DEFAULT_IGNORED_CONTENT_TYPES, createStrapiInstance, excludeOption, exitMessageText, onlyOption, throttleOption, validateExcludeOnly, formatDiagnostic, abortTransfer, setSignalHandler, getDiffHandler, getAssetsBackupHandler, shouldSkipStage, parseRestoreFromOptions, };
//# sourceMappingURL=data-transfer.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"data-transfer.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/data-transfer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,YAAY,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAG5C,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,MAAM,IAAI,kBAAkB,EAAgC,MAAM,uBAAuB,CAAC;AASnG,QAAA,MAAM,eAAe,YAAa,MAAM,4BAUvC,CAAC;AAmBF,QAAA,MAAM,oBAAoB,cAEzB,CAAC;AAEF,KAAK,UAAU,GAAG,kBAAkB,CAAC,gBAAgB,CACnD,kBAAkB,CAAC,eAAe,EAClC,kBAAkB,CAAC,oBAAoB,CACxC,CAAC,QAAQ,CAAC,CAAC;AAEZ,QAAA,MAAM,kBAAkB,eAAgB,UAAU,4BAoDjD,CAAC;AAEF,QAAA,MAAM,6BAA6B,UAWlC,CAAC;AAEF,QAAA,MAAM,aAAa,wBAGhB;IACD,MAAM,EAAE,mBAAmB,cAAc,CAAC;IAC1C,MAAM,EAAE,KAAK,MAAM,CAAC;CACrB,qBASA,CAAC;AAEF,QAAA,MAAM,gBAAgB,YACX,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,sCAStC,CAAC;AAEF,QAAA,MAAM,oBAAoB,UAAgB;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,KAAQ,QAAQ,KAAK,MAAM,CAczF,CAAC;AAIF,QAAA,MAAM,cAAc,QAKP,CAAC;AAEd,QAAA,MAAM,aAAa,QAGqE,CAAC;AAEzF,QAAA,MAAM,UAAU,QAGqE,CAAC;AAEtF,QAAA,MAAM,mBAAmB,YAAa,OAAO,SAiB5C,CAAC;AAQF,QAAA,MAAM,gBAAgB,cACT,MAAM,SACV,OAAO,KACb,WAAW,mBAAmB,cAAc,CAAC,aAAa,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CA2ChF,CAAC;AAEF,KAAK,OAAO,GAAG;KACZ,GAAG,IAAI,kBAAkB,CAAC,aAAa,GAAG,GAAG,CAAC,GAAG;CACnD,CAAC;AAEF,KAAK,IAAI,GAAG;KACT,GAAG,IAAI,kBAAkB,CAAC,aAAa,CAAC,CAAC,EAAE;QAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;CACF,CAAC;AAEF,QAAA,MAAM,cAAc,oBAAoB,OAAO;0BAEhB,mBAAmB,aAAa,QAAQ,IAAI;0BAqB5C,mBAAmB,aAAa;uBAKnC,mBAAmB,aAAa;CAS3D,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,2BAA2B,WAAY,mBAAmB,cAAc;;;;;CAO7E,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,cAAc,WACV,mBAAmB,cAAc,sBAItC;IACD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB,eAGU,mBAAmB,wBAAwB,QAC9C,CAAC,GAAG,EAAE,mBAAmB,wBAAwB,KAAK,IAAI,kBAqEnE,CAAC;AAEF,QAAA,MAAM,sBAAsB,WAClB,mBAAmB,cAAc,sBAItC;IACD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB,eAGU,mBAAmB,mBAAmB,QACzC,CAAC,GAAG,EAAE,mBAAmB,mBAAmB,KAAK,IAAI,kBA0B9D,CAAC;AAEF,QAAA,MAAM,eAAe,SACb,QAAQ,mBAAmB,sBAAsB,CAAC,YAC9C,mBAAmB,oBAAoB,YAUlD,CAAC;AAOF,QAAA,MAAM,uBAAuB,SAAU,QAAQ,mBAAmB,sBAAsB,CAAC,+GAsBxF,CAAC;AAEF,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,2BAA2B,EAC3B,6BAA6B,EAC7B,oBAAoB,EACpB,aAAa,EACb,eAAe,EACf,UAAU,EACV,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,cAAc,EACd,sBAAsB,EACtB,eAAe,EACf,uBAAuB,GACxB,CAAC"}

View File

@@ -0,0 +1,49 @@
/// <reference types="node" />
import type { Command } from 'commander';
/**
* Convert bytes to a human readable formatted string, for example "1024" becomes "1KB"
*/
declare const readableBytes: (bytes: number, decimals?: number, padStart?: number) => string;
interface ExitWithOptions {
logger?: Console;
prc?: NodeJS.Process;
}
/**
*
* Display message(s) to console and then call process.exit with code.
* If code is zero, console.log and green text is used for messages, otherwise console.error and red text.
*
*/
declare const exitWith: (code: number, message?: string | string[], options?: ExitWithOptions) => void;
/**
* assert that a URL object has a protocol value
*
*/
declare const assertUrlHasProtocol: (url: URL, protocol?: string | string[]) => void;
type ConditionCallback = (opts: Record<string, any>) => Promise<boolean>;
type IsMetCallback = (command: Command) => Promise<void>;
type IsNotMetCallback = (command: Command) => Promise<void>;
/**
* Passes commander options to conditionCallback(). If it returns true, call isMetCallback otherwise call isNotMetCallback
*/
declare const ifOptions: (conditionCallback: ConditionCallback, isMetCallback?: IsMetCallback, isNotMetCallback?: IsNotMetCallback) => (command: Command) => Promise<void>;
declare const assertCwdContainsStrapiProject: (name: string) => void;
declare const runAction: (name: string, action: (...args: any[]) => Promise<void>) => (...args: unknown[]) => void;
/**
* @description Notify users this is an experimental command and get them to approve first
* this can be opted out by passing `yes` as a property of the args object.
*
* @example
* ```ts
* const { notifyExperimentalCommand } = require('../utils/helpers');
*
* const myCommand = async ({ force }) => {
* await notifyExperimentalCommand('plugin:build', { force });
* }
* ```
*/
declare const notifyExperimentalCommand: (name: string, { force }?: {
force?: boolean;
}) => Promise<void>;
export { exitWith, assertUrlHasProtocol, ifOptions, readableBytes, runAction, assertCwdContainsStrapiProject, notifyExperimentalCommand, };
//# sourceMappingURL=helpers.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/helpers.ts"],"names":[],"mappings":";AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQzC;;GAEG;AACH,QAAA,MAAM,aAAa,UAAW,MAAM,iDAUnC,CAAC;AAEF,UAAU,eAAe;IACvB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC,OAAO,CAAC;CACtB;AAED;;;;;GAKG;AACH,QAAA,MAAM,QAAQ,SAAU,MAAM,YAAY,MAAM,GAAG,MAAM,EAAE,YAAW,eAAe,SAkBpF,CAAC;AAEF;;;GAGG;AACH,QAAA,MAAM,oBAAoB,QAAS,GAAG,aAAa,MAAM,GAAG,MAAM,EAAE,SAwBnE,CAAC;AAEF,KAAK,iBAAiB,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AACzE,KAAK,aAAa,GAAG,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AACzD,KAAK,gBAAgB,GAAG,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAE5D;;GAEG;AACH,QAAA,MAAM,SAAS,sBACM,iBAAiB,kBACrB,aAAa,qBACV,gBAAgB,eAEX,OAAO,kBAQ/B,CAAC;AAEF,QAAA,MAAM,8BAA8B,SAAU,MAAM,SAqBnD,CAAC;AAEF,QAAA,MAAM,SAAS,SACN,MAAM,UAAU,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,QAAQ,IAAI,CAAC,eAC9C,OAAO,EAAE,SAWlB,CAAC;AAEJ;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,yBAAyB,SAAgB,MAAM,cAAa;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,kBA4BpF,CAAC;AAEF,OAAO,EACL,QAAQ,EACR,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,SAAS,EACT,8BAA8B,EAC9B,yBAAyB,GAC1B,CAAC"}

View File

@@ -0,0 +1,22 @@
import ora from 'ora';
import * as cliProgress from 'cli-progress';
export interface LoggerOptions {
silent?: boolean;
debug?: boolean;
timestamp?: boolean;
}
export interface Logger {
warnings: number;
errors: number;
debug: (...args: unknown[]) => void;
info: (...args: unknown[]) => void;
success: (...args: unknown[]) => void;
warn: (...args: unknown[]) => void;
error: (...args: unknown[]) => void;
log: (...args: unknown[]) => void;
spinner: (text: string) => Pick<ora.Ora, 'succeed' | 'fail' | 'start' | 'text' | 'isSpinning'>;
progressBar: (totalSize: number, text: string) => Pick<cliProgress.SingleBar, 'start' | 'stop' | 'update'>;
}
declare const createLogger: (options?: LoggerOptions) => Logger;
export { createLogger };
//# sourceMappingURL=logger.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/logger.ts"],"names":[],"mappings":"AACA,OAAO,GAAY,MAAM,KAAK,CAAC;AAC/B,OAAO,KAAK,WAAW,MAAM,cAAc,CAAC;AAE5C,MAAM,WAAW,aAAa;IAC5B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,MAAM;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;IACpC,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;IACnC,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;IACtC,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;IACnC,KAAK,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;IACpC,GAAG,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;IAClC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,YAAY,CAAC,CAAC;IAC/F,WAAW,EAAE,CACX,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,KACT,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC,CAAC;CAC/D;AA4BD,QAAA,MAAM,YAAY,aAAa,aAAa,KAAQ,MA2GnD,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC"}

View File

@@ -0,0 +1,121 @@
import * as yup from 'yup';
import { Logger } from './logger';
interface Export {
types?: string;
source: string;
module?: string;
import?: string;
require?: string;
default: string;
}
declare const packageJsonSchema: import("yup/lib/object").OptionalObjectSchema<{
name: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
exports: import("yup/lib/Lazy").default<import("yup/lib/object").OptionalObjectSchema<Record<string, yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string> | yup.default<{
types: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
source: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
module: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
import: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
require: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
default: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
}, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<{
types: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
source: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
module: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
import: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
require: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
default: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
}>, import("yup/lib/object").AssertsShape<{
types: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
source: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
module: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
import: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
require: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
default: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
}>>>, Record<string, any>, import("yup/lib/object").TypeOfShape<Record<string, yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string> | yup.default<{
types: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
source: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
module: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
import: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
require: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
default: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
}, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<{
types: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
source: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
module: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
import: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
require: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
default: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
}>, import("yup/lib/object").AssertsShape<{
types: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
source: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
module: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
import: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
require: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
default: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
}>>>>>, any>;
}, Record<string, any>, import("yup/lib/object").TypeOfShape<{
name: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
exports: import("yup/lib/Lazy").default<import("yup/lib/object").OptionalObjectSchema<Record<string, yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string> | yup.default<{
types: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
source: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
module: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
import: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
require: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
default: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
}, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<{
types: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
source: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
module: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
import: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
require: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
default: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
}>, import("yup/lib/object").AssertsShape<{
types: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
source: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
module: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
import: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
require: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
default: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
}>>>, Record<string, any>, import("yup/lib/object").TypeOfShape<Record<string, yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string> | yup.default<{
types: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
source: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
module: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
import: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
require: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
default: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
}, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<{
types: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
source: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
module: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
import: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
require: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
default: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
}>, import("yup/lib/object").AssertsShape<{
types: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
source: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
module: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
import: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
require: yup.default<import("yup/lib/types").Maybe<string | undefined>, import("yup/lib/object").AnyObject, string | undefined>;
default: yup.default<import("yup/lib/types").Maybe<string>, import("yup/lib/object").AnyObject, string>;
}>>>>>, any>;
}>>;
/**
* @description being a task to load the package.json starting from the current working directory
* using a shallow find for the package.json and `fs` to read the file. If no package.json is found,
* the process will throw with an appropriate error message.
*/
declare const loadPkg: ({ cwd, logger }: {
cwd: string;
logger: Logger;
}) => Promise<object>;
type PackageJson = yup.Asserts<typeof packageJsonSchema>;
/**
* @description validate the package.json against a standardised schema using `yup`.
* If the validation fails, the process will throw with an appropriate error message.
*/
declare const validatePkg: ({ pkg }: {
pkg: object;
}) => Promise<PackageJson>;
export type { PackageJson, Export };
export { loadPkg, validatePkg };
//# sourceMappingURL=pkg.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"pkg.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/pkg.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,UAAU,MAAM;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCrB,CAAC;AAEH;;;;GAIG;AACH,QAAA,MAAM,OAAO,oBAA2B;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,KAAG,QAAQ,MAAM,CAcvF,CAAC;AAEF,KAAK,WAAW,GAAG,GAAG,CAAC,OAAO,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEzD;;;GAGG;AACH,QAAA,MAAM,WAAW,YAAmB;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,KAAG,QAAQ,WAAW,CA+CxE,CAAC;AAEF,YAAY,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC"}

View File

@@ -0,0 +1,2 @@
export declare const sendEvent: (event: string, uuid: string, installId?: any) => Promise<void>;
//# sourceMappingURL=telemetry.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/telemetry.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,UAAiB,MAAM,QAAQ,MAAM,cAAc,GAAG,kBAiB3E,CAAC"}

View File

@@ -0,0 +1,19 @@
import ts from 'typescript';
import type { Logger } from './logger';
interface TsConfig {
config: ts.ParsedCommandLine;
path: string;
}
/**
* @description Load a tsconfig.json file and return the parsed config.
*
* @internal
*/
declare const loadTsConfig: ({ cwd, path, logger, }: {
cwd: string;
path: string;
logger: Logger;
}) => TsConfig | undefined;
export { loadTsConfig };
export type { TsConfig };
//# sourceMappingURL=tsconfig.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"tsconfig.d.ts","sourceRoot":"","sources":["../../../src/cli/utils/tsconfig.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,UAAU,QAAQ;IAChB,MAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;GAIG;AACH,QAAA,MAAM,YAAY,2BAIf;IACD,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB,KAAG,QAAQ,GAAG,SAiBd,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,YAAY,EAAE,QAAQ,EAAE,CAAC"}

4
server/node_modules/@strapi/strapi/dist/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,4 @@
export * from '@strapi/core';
export type * from '@strapi/types';
export type * from './cli/types';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAE7B,mBAAmB,eAAe,CAAC;AACnC,mBAAmB,aAAa,CAAC"}

13
server/node_modules/@strapi/strapi/dist/index.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
'use strict';
var core = require('@strapi/core');
Object.keys(core).forEach(function (k) {
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
enumerable: true,
get: function () { return core[k]; }
});
});
//# sourceMappingURL=index.js.map

1
server/node_modules/@strapi/strapi/dist/index.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}

Some files were not shown because too many files have changed in this diff Show More