From debb3021350fe7c55f16e143f01de89de63fa556 Mon Sep 17 00:00:00 2001 From: Freeze455 Date: Sat, 4 Sep 2021 08:48:00 +0200 Subject: [PATCH] :sparkles: Work in progress --- src/assets/application-lifecycle.svg | 1 + src/components/CtaSplitImage.vue | 2 +- .../modules/documentation/base/Command.vue | 9 +++++ .../documentation/base/Environment.vue | 37 ------------------- .../modules/documentation/base/Hook.vue | 8 ++++ yarn.lock | 12 ++++++ 6 files changed, 31 insertions(+), 38 deletions(-) create mode 100644 src/assets/application-lifecycle.svg diff --git a/src/assets/application-lifecycle.svg b/src/assets/application-lifecycle.svg new file mode 100644 index 0000000..ecc17f5 --- /dev/null +++ b/src/assets/application-lifecycle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/CtaSplitImage.vue b/src/components/CtaSplitImage.vue index e50be3f..795cec5 100644 --- a/src/components/CtaSplitImage.vue +++ b/src/components/CtaSplitImage.vue @@ -5,7 +5,7 @@
-
+
Workflow
diff --git a/src/templates/modules/documentation/base/Command.vue b/src/templates/modules/documentation/base/Command.vue index 41ba393..67d845b 100644 --- a/src/templates/modules/documentation/base/Command.vue +++ b/src/templates/modules/documentation/base/Command.vue @@ -28,6 +28,7 @@

+

Decorator options

@@ -35,6 +36,14 @@

+ +
+

Operation of the controls

+

+ Open a new terminal in your project and write the following command : +

+ Workflow +
diff --git a/src/templates/modules/documentation/base/Environment.vue b/src/templates/modules/documentation/base/Environment.vue index 6b1c70c..f99cd58 100644 --- a/src/templates/modules/documentation/base/Environment.vue +++ b/src/templates/modules/documentation/base/Environment.vue @@ -5,7 +5,6 @@ The Discord Factory framework offers you the possibility to choose between 3 types of files :

    -
  • • Env
  • • Json
  • • Yaml
@@ -22,11 +21,6 @@

When you create a new project, you can choose between three types of environment :

- -
-

.env

- -

json

@@ -50,37 +44,6 @@ import LinkExternal from '../../../../components/LinkExternal.vue' import AlertWarn from '../../../../components/AlertWarn.vue' import AlertSuccess from '../../../../components/AlertSuccess.vue' import AlertInfo from '../../../../components/AlertInfo.vue' -const env = ` -APP_PREFIX = "your prefix" -APP_TOKEN = "your token" -PRESET_COMMAND_AUTO_REMOVE = true - -PARTIAL_MESSAGE = true -PARTIAL_CHANNEL = true -PARTIAL_REACTION = true - -INTENT_GUILDS = true -INTENT_GUILD_MEMBERS = true -INTENT_GUILD_BANS = true -INTENT_GUILD_EMOJIS_AND_STICKERS = true -INTENT_GUILD_INTEGRATIONS = true -INTENT_GUILD_WEBHOOKS = true -INTENT_GUILD_INVITES = true -INTENT_GUILD_VOICE_STATES = true -INTENT_GUILD_PRESENCES = true -INTENT_GUILD_MESSAGES = true -INTENT_GUILD_MESSAGE_REACTIONS = true -INTENT_GUILD_MESSAGE_TYPING = true -INTENT_DIRECT_MESSAGES = true -INTENT_DIRECT_MESSAGE_REACTIONS = true -INTENT_DIRECT_MESSAGE_TYPING = true - -MESSAGE_COMMAND_MISSING_PERMISSION = "You're not authorized to execute this command" -MESSAGE_COMMAND_MISSING_ROLES = "You're not authorized to execute this command" -MESSAGE_ENVIRONMENT_FILE_PREFIX_MISSING = "The prefix is missing in the environment file." -MESSAGE_ENVIRONMENT_FILE_TOKEN_MISSING = "The token is missing in the environment file." -MESSAGE_ENVIRONMENT_FILE_MISSING = "Environment file is missing, please create one." -` const json = ` { diff --git a/src/templates/modules/documentation/base/Hook.vue b/src/templates/modules/documentation/base/Hook.vue index 292e221..61ec747 100644 --- a/src/templates/modules/documentation/base/Hook.vue +++ b/src/templates/modules/documentation/base/Hook.vue @@ -29,6 +29,14 @@

+ +
+

Issuing of events

+

+ Open a new terminal in your project and write the following command : +

+ Workflow +
diff --git a/yarn.lock b/yarn.lock index 5017158..0a9b4c5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -270,6 +270,13 @@ arg@^5.0.0: resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.0.tgz#a20e2bb5710e82950a516b3f933fee5ed478be90" integrity sha512-4P8Zm2H+BRS+c/xX1LrHw0qKpEhdlZjLCgWy+d78T9vqa2Z2SiD2wMrYuWIAFy5IZUD7nnNXroRttz+0RzlrzQ== +axios@^0.21.1: + version "0.21.1" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + dependencies: + follow-redirects "^1.10.0" + balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" @@ -523,6 +530,11 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" +follow-redirects@^1.10.0: + version "1.14.3" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.3.tgz#6ada78118d8d24caee595595accdc0ac6abd022e" + integrity sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw== + fs-extra@^10.0.0: version "10.0.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.0.0.tgz#9ff61b655dde53fb34a82df84bb214ce802e17c1"