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

37
server/node_modules/@strapi/strapi/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,37 @@
Copyright (c) 2015-present Strapi Solutions SAS
Portions of the Strapi software are licensed as follows:
* All software that resides under an "ee/" directory (the “EE Software”), if that directory exists, is licensed under the license defined below.
Enterprise License
If you or the company you represent has entered into a written agreement referencing the Enterprise Edition of the Strapi source code available at
https://github.com/strapi/strapi, then such agreement applies to your use of the Enterprise Edition of the Strapi Software. If you or the company you
represent is using the Enterprise Edition of the Strapi Software in connection with a subscription to our cloud offering, then the agreement you have
agreed to with respect to our cloud offering and the licenses included in such agreement apply to your use of the Enterprise Edition of the Strapi Software.
Otherwise, the Strapi Enterprise Software License Agreement (found here https://strapi.io/enterprise-terms) applies to your use of the Enterprise Edition of the Strapi Software.
BY ACCESSING OR USING THE ENTERPRISE EDITION OF THE STRAPI SOFTWARE, YOU ARE AGREEING TO BE BOUND BY THE RELEVANT REFERENCED AGREEMENT.
IF YOU ARE NOT AUTHORIZED TO ACCEPT THESE TERMS ON BEHALF OF THE COMPANY YOU REPRESENT OR IF YOU DO NOT AGREE TO ALL OF THE RELEVANT TERMS AND CONDITIONS REFERENCED AND YOU
HAVE NOT OTHERWISE EXECUTED A WRITTEN AGREEMENT WITH STRAPI, YOU ARE NOT AUTHORIZED TO ACCESS OR USE OR ALLOW ANY USER TO ACCESS OR USE ANY PART OF
THE ENTERPRISE EDITION OF THE STRAPI SOFTWARE. YOUR ACCESS RIGHTS ARE CONDITIONAL ON YOUR CONSENT TO THE RELEVANT REFERENCED TERMS TO THE EXCLUSION OF ALL OTHER TERMS;
IF THE RELEVANT REFERENCED TERMS ARE CONSIDERED AN OFFER BY YOU, ACCEPTANCE IS EXPRESSLY LIMITED TO THE RELEVANT REFERENCED TERMS.
* All software outside of the above-mentioned directories or restrictions above is available under the "MIT Expat" license as set forth below.
MIT Expat License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

173
server/node_modules/@strapi/strapi/README.md generated vendored Normal file
View File

@@ -0,0 +1,173 @@
<p align="center">
<a href="https://strapi.io/#gh-light-mode-only">
<img src="https://strapi.io/assets/strapi-logo-dark.svg" width="318px" alt="Strapi logo" />
</a>
<a href="https://strapi.io/#gh-dark-mode-only">
<img src="https://strapi.io/assets/strapi-logo-light.svg" width="318px" alt="Strapi logo" />
</a>
</p>
<h3 align="center">Open-source headless CMS, self-hosted or Cloud youre in control.</h3>
<p align="center">The leading open-source headless CMS, 100% JavaScript/TypeScript, flexible and fully customizable.</p>
<p align="center"><a href="https://cloud.strapi.io/signups?source=github1">Cloud</a> · <a href="https://strapi.io/demo">Try live demo</a></p>
<br />
<p align="center">
<a href="https://www.npmjs.org/package/@strapi/strapi">
<img src="https://img.shields.io/npm/v/@strapi/strapi/latest.svg" alt="NPM Version" />
</a>
<a href="https://github.com/strapi/strapi/actions/workflows/tests.yml">
<img src="https://github.com/strapi/strapi/actions/workflows/tests.yml/badge.svg?branch=main" alt="Tests" />
</a>
<a href="https://discord.strapi.io">
<img src="https://img.shields.io/discord/811989166782021633?label=Discord" alt="Strapi on Discord" />
</a>
<a href="https://github.com/strapi/strapi/actions/workflows/nightly.yml">
<img src="https://github.com/strapi/strapi/actions/workflows/nightly.yml/badge.svg" alt="Strapi Nightly Release Build Status" />
</a>
</p>
<br>
<p align="center">
<a href="https://strapi.io">
<img src="https://raw.githubusercontent.com/strapi/strapi/main/public/assets/admin-demo.gif" alt="Administration panel" />
</a>
</p>
<br>
Strapi Community Edition is a free and open-source headless CMS enabling you to manage any content, anywhere.
- **Self-hosted or Cloud**: You can host and scale Strapi projects the way you want. You can save time by deploying to [Strapi Cloud](https://cloud.strapi.io/signups?source=github1) or deploy to the hosting platform you want\*\*: AWS, Azure, Google Cloud, DigitalOcean.
- **Modern Admin Pane**: Elegant, entirely customizable and a fully extensible admin panel.
- **Multi-database support**: You can choose the database you prefer: PostgreSQL, MySQL, MariaDB, and SQLite.
- **Customizable**: You can quickly build your logic by fully customizing APIs, routes, or plugins to fit your needs perfectly.
- **Blazing Fast and Robust**: Built on top of Node.js and TypeScript, Strapi delivers reliable and solid performance.
- **Front-end Agnostic**: Use any front-end framework (React, Next.js, Vue, Angular, etc.), mobile apps or even IoT.
- **Secure by default**: Reusable policies, CORS, CSP, P3P, Xframe, XSS, and more.
- **Powerful CLI**: Scaffold projects and APIs on the fly.
## Getting Started
<a href="https://docs.strapi.io/developer-docs/latest/getting-started/quick-start.html" target="_blank">Read the Getting Started tutorial</a> or follow the steps below:
### ⏳ Installation
Install Strapi with this **Quickstart** command to create a Strapi project instantly:
- (Use **yarn** to install the Strapi project (recommended). [Install yarn with these docs](https://yarnpkg.com/lang/en/docs/install/).)
```bash
yarn create strapi
```
**or**
- (Using npx to install the Strapi project.)
```bash
npx create-strapi@latest
```
This command generates a brand new project with the default features (authentication, permissions, content management, content type builder & file upload).
Enjoy 🎉
### 🖐 Requirements
Complete installation requirements can be found in the documentation under <a href="https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/deployment.html">Installation Requirements</a>.
**Supported operating systems**:
- Ubuntu LTS/Debian 9.x
- CentOS/RHEL 8
- macOS Mojave
- Windows 10
- Docker
(Please note that Strapi may work on other operating systems, but these are not tested nor officially supported at this time.)
**Node:**
Strapi only supports maintenance and LTS versions of Node.js. Please refer to the <a href="https://nodejs.org/en/about/releases/">Node.js release schedule</a> for more information. NPM versions installed by default with Node.js are supported. Generally it's recommended to use yarn over npm where possible.
| Strapi Version | Recommended | Minimum |
| --------------- | ----------- | ------- |
| 5.0.0 and up | 20.x | 18.x |
| 4.14.5 and up | 20.x | 18.x |
| 4.11.0 and up | 18.x | 16.x |
| 4.3.9 to 4.10.x | 18.x | 14.x |
| 4.0.x to 4.3.8 | 16.x | 14.x |
**Database:**
| Database | Recommended | Minimum |
| ---------- | ----------- | ------- |
| MySQL | 8.0 | 8.0 |
| MariaDB | 10.6 | 10.3 |
| PostgreSQL | 14.0 | 11.0 |
| SQLite | 3 | 3 |
**Minimum Database Driver:**
Database driver packages often have their own minimum versions for each version of Node, so here you can find the minimum required versions
| Node Version | PostgreSQL (pg) | MySQL (mysql2) | SQLite (better-sqlite3) |
| ------------ | --------------- | -------------- | ----------------------- |
| 18 | pg@8.x | mysql2@2.x | better-sqlite3@7.6.2 |
| 20 | pg@8.x | mysql2@3.x | better-sqlite3@9.4.x |
| 22 | pg@8.x | mysql2@3.x | better-sqlite3@11.x |
**We recommend always using the latest version of Strapi stable to start your new projects**.
## Features
- **Content Types Builder**: Build the most flexible publishing experience for your content managers, by giving them the freedom to create any page on the go with [fields](https://docs.strapi.io/user-docs/content-manager/writing-content#filling-up-fields), components and [Dynamic Zones](https://docs.strapi.io/user-docs/content-manager/writing-content#dynamic-zones).
- **Media Library**: Upload your images, videos, audio or documents to the media library. Easily find the right asset, edit and reuse it.
- **Internationalization**: The Internationalization (i18n) plugin allows Strapi users to create, manage and distribute localized content in different languages, called "locales
- **Role Based Access Control**: Create an unlimited number of custom roles and permissions for admin and end users.
- **GraphQL or REST**: Consume the API using REST or GraphQL
You can unlock additional features such as SSO, Audit Logs, Review Workflows in [Strapi Cloud](https://cloud.strapi.io/login?source=github1) or [Strapi Enterprise](https://strapi.io/enterprise?source=github1).
**[See more on our website](https://strapi.io/overview)**.
## Contributing
Please read our [Contributing Guide](./CONTRIBUTING.md) before submitting a Pull Request to the project.
## Community support
For general help using Strapi, please refer to [the official Strapi documentation](https://docs.strapi.io). For additional help, you can use one of these channels to ask a question:
- [Discord](https://discord.strapi.io) (For live discussion with the Community and Strapi team)
- [GitHub](https://github.com/strapi/strapi) (Bug reports, Contributions)
- [Community Forum](https://forum.strapi.io) (Questions and Discussions)
- [Feedback section](https://feedback.strapi.io) (Roadmap, Feature requests)
- [Twitter](https://twitter.com/strapijs) (Get the news fast)
- [Facebook](https://www.facebook.com/Strapi-616063331867161)
- [YouTube Channel](https://www.youtube.com/strapi) (Learn from Video Tutorials)
## Migration
Follow our [migration guides](https://docs.strapi.io/developer-docs/latest/update-migration-guides/migration-guides.html) on the documentation to keep your projects up-to-date.
## Roadmap
Check out our [roadmap](https://feedback.strapi.io) to get informed of the latest features released and the upcoming ones. You may also give us insights and vote for a specific feature.
## Documentation
See our dedicated [repository](https://github.com/strapi/documentation) for the Strapi documentation, or view our documentation live:
- [Developer docs](https://docs.strapi.io/developer-docs/latest/getting-started/introduction.html)
- [User guide](https://docs.strapi.io/user-docs/latest/getting-started/introduction.html)
## Try live demo
See for yourself what's under the hood by getting access to a [hosted Strapi project](https://strapi.io/demo) with sample data.
## License
See the [LICENSE](./LICENSE) file for licensing information.

4
server/node_modules/@strapi/strapi/bin/strapi.js generated vendored Executable file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env node
const { runCLI } = require('../dist/cli');
runCLI(process.argv);

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

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