Jacob Nguyen
1fa7eef336
chore: remove dependence on discord.js Awaitable type
2023-04-16 14:17:56 -05:00
Jacob Nguyen
37ddef170f
chore: remove deprecated support for plugins
2023-04-16 14:13:17 -05:00
Jacob Nguyen
195c155769
docs: add documentation to internal function
2023-04-16 13:33:35 -05:00
Jacob Nguyen
458a0b978f
chore: remove deprecated symbols
2023-04-16 13:30:20 -05:00
Jacob Nguyen
bc4802f261
chore:remove const function
2023-04-16 13:27:17 -05:00
Jacob Nguyen
8e2ba871c4
chore:update paths
2023-04-15 16:48:04 -05:00
Jacob Nguyen
83f6568d84
add deprecation warning
2023-04-15 12:12:02 -05:00
Jacob Nguyen
f02bbbf54e
add wrapper platform field
2023-04-15 12:12:02 -05:00
jacoobes
89bb50794b
chore: fix paths
2023-04-14 13:05:27 -05:00
jacoobes
1a4e046f50
chore: move operators into core
2023-04-14 12:59:13 -05:00
jacoobes
09e57c73ac
moving and fixing imports
2023-04-14 12:45:41 -05:00
jacoobes
457cb25cb2
refactor: remove dependence on discord.js for module stoore
2023-04-14 12:17:11 -05:00
Jacob Nguyen
b40f8905ea
remove id from lifted Context
2023-04-12 17:06:54 -05:00
Jacob Nguyen
8bdb6d8216
work on strategy and lifted Context
2023-04-12 17:03:35 -05:00
Jacob Nguyen
58b3d85da8
refactor: move things to core, imports not fixed yet
2023-04-12 13:08:45 -05:00
Jacob Nguyen
94070d99e8
refactor/decoupling ( #265 )
...
* fix npm script for workflows
* filter lazy modules
* lift inline function for readability
* perf: use one instance of operator instead of creating instances
* chore: move fmt closer to call site
* refactor: inline function lifting and readability
* add import payload type
* refactor: remove redundant pipe for single function operators
* refactor: clearer naming for resultResolver
* refactor: no unused variable warning for updateAlive
* style: pretty
* refactor: remove redundant getter
* style: pretty
* fix: typescript needs explicit definition for defineAllFields
* add LazyPaths map
* chore: update tsup and typescript
* chore: revert lazy module work and work on decoupling core
* fix npm script for workflows
* chore: fix typings
* refactor: inline function `defineAllFields`
* docs: add @since annotation
* style: prettier
* docs: add since annotations
* fix: typings
* chore: update dependencies
* chore: remove unused import
* style: pretty
* merge on home pc
* refactor: use dependencies less
---------
Co-authored-by: jacoobes <jacobnguyend@gmail.com >
2023-04-10 22:12:26 -05:00
github-actions[bot]
cee740ea3f
style: pretty please ( #260 )
...
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2023-03-17 17:01:20 -05:00
Jacob Nguyen
a3064aa915
chore: audit & remove tspattern ( #256 )
...
* chore: move import
* build: remove ts pattern
* fix: forgot to convert to switch
* fix workflow
* refactor: lift function out of readyHandler
* refactor: clean up errTap signature
* fix: sern emitter emitting wrong payload
* wa
* style: space
* chore: remove old errTap
* chore:bump discord.js
* chore: eslint format
2023-03-17 16:30:27 -05:00
github-actions[bot]
0a53a48521
style: pretty please ( #255 )
...
Co-authored-by: jacoobes <jacoobes@users.noreply.github.com >
2023-03-15 21:16:58 -05:00
Jacob Nguyen
05037b5315
build: prettier ignore
2023-03-15 21:15:33 -05:00
Jacob Nguyen
06a3e69210
feat: prettier ignore
2023-03-15 21:13:42 -05:00
Jacob Nguyen
74c4b77d4b
build: refactor/building ( #252 )
...
* refactor: conditional compilation of loading esm/cjs modules
* refactor: move file loading file
* refactor: add conditional compilation for building modules
* refactor: add conditional compilation for building modules
* perf: decrease build times
* test
* revert: typo and clean code
* build: smaller build
* chore:cleanscripts
* chore:refactor readme
* build:automerge lockfile
* chore: remove build and upgrade readme
* fix: dropdown
* chore: fix
* chore: more docs
---------
Co-authored-by: jacoobes <jacobnguyend@gmail.com >
2023-03-15 21:08:27 -05:00
github-actions[bot]
507c9e7939
style: pretty please ( #247 )
...
Co-authored-by: jacoobes <jacoobes@users.noreply.github.com >
2023-03-09 16:11:29 -06:00
Jacob Nguyen
09610d0501
refactor: eventhandlers ( #246 )
...
* refactor:import
* feat: save progress
* feat:progress
* refactor: event handlers
* fix: merge all subscriptions into event handler
* fix: remove duplicate minify key
* fix: leftover this
* docs: jsdoc
* chore: clean pnpm
---------
Co-authored-by: jacoobes <jacobnguyend@gmail.com >
2023-03-09 16:09:35 -06:00
Jacob Nguyen
d20d01524b
feat: adding pure annotation for better tree shaking
2023-02-17 15:40:32 -06:00
github-actions[bot]
529edb7da5
style: pretty please ( #224 )
...
Co-authored-by: jacoobes <jacoobes@users.noreply.github.com >
2023-02-12 12:59:34 -06:00
Jacob Nguyen
1860b898f3
fix: autocomplete
2023-02-12 12:51:49 -06:00
github-actions[bot]
1d6751a9cd
style: pretty please ( #207 )
...
Co-authored-by: jacoobes <jacoobes@users.noreply.github.com >
2023-01-30 12:35:37 -06:00
Jacob Nguyen
33f14467ec
feat!: simpler plugins ( #193 )
...
* feat: experimental plugin changes
* more refactors and name changes
* feat: update name usage and update dispatchers.ts
* fix:naming
* feat: slightly safer typings than any[]
* fix: forgot to destructure arguments
* feat: add special function
* fix: typings
* feat: SUPER SIMPLIFY!!!
* refactor: move promisifiedPlugins closer to call site
* refactor: typings
* refactor: typings
* refactor: consolidate resolving initplugins into one function
* refactor: better types
* revert: remove unneeded function
* revert: remove unneeded function
* feat: dispatch work, simplify
* feat: move some observableHandling function to operators for clarity
* feat: simplify and document
* feat: simplifying sern and docs
* fix: typings
* docs: clarity of function name
* docs: add documentation for executeModule
* feat: contextArgs overloads
* docs: found out why
* fix: typings
* feat: shorten operators signature
* refactor: switch to correct convention
* refactor: take(1) -> first()
* refactor: revert
* refactor: safer typings (less any) and more accurate typings
* style: prettier and short type aliases
* fix: typings
* fix: typings
* docs: add deprecations
* refactor: organization and moving stuff
* pretty: prettey
* docs: describe file
* chore: update dependencies and version
* docs: fix link for docasaurus
* refactor: using a more appropriate operator function for closing an observable on crash
* fix!: changing single and many
* refactor: typings and simplifying composeRoot
* fix: re-add logger into handleError
* docs: comment
* docs: new section
* feat: help mitigate breaking changes
* feat: help mitigate breaking changes
* feat: help mitigate breaking changes and function overloads
* feat: deprecate instead of remove
* feat: partial remove and deprecate old symbols
* revert: trying to accommodate old plugins is too difficult
* docs: add many as deprecated
* docs: update
* feat: partial backwards compatability
* refactor: renaming, docs, and exports more clean
* refactor: context got a lot simpler
* refactor: imports
* docs: explain methods
2023-01-26 12:06:04 -06:00
Jacob Nguyen
a13df6fb42
fix: modals remapping
2022-12-31 13:41:20 -06:00
github-actions[bot]
1b6c413fc2
style: pretty please ( #175 )
...
Co-authored-by: jacoobes <jacoobes@users.noreply.github.com >
2022-12-30 10:56:23 -06:00
Jacob Nguyen
e986535935
fix: multi parameter events
2022-12-30 10:45:02 -06:00
github-actions[bot]
8d18c4b182
style: pretty please ( #162 )
...
* style: pretty please
* feat: no package.lock.json anymore
Co-authored-by: jacoobes <jacoobes@users.noreply.github.com >
Co-authored-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com >
2022-12-28 14:40:19 -06:00
Jacob Nguyen
14556223fd
feat!:(2.0 global services) ( #156 )
...
* style: prettier line feed changes
* style: prettier line feed changes
* feat: prototyping module manager
* feat: removing unused types
* feat: update location of module typings
* revert: port back to original interaction type checkers
* revert: port back to original interaction type checkers
* revert: remove unneeded type predicates
* feat: moving modules to its own contained class
* feat: getting global plugins some typings and adding contracts
* chore: fixing up and cleaning code
* feat: adding ModuleConfiguration helper fn and default module manager
* feat: solidifying contract
* revert: delete files
* chore: saving for later
* feat: prototyping module manager
* feat: removing unused types
* feat: update location of module typings
* revert: port back to original interaction type checkers
* revert: port back to original interaction type checkers
* revert: remove unneeded type predicates
* feat: moving modules to its own contained class
* feat: getting global plugins some typings and adding contracts
* chore: fixing up and cleaning code
* feat: adding ModuleConfiguration helper fn and default module manager
* feat: solidifying contract
* revert: delete files
* chore: saving for later
* feat: more merge conflicts
* feat: starting from scratch, add new typings
* feat: refactor ScopedPlugin typing
* feat: strengthening contracts
* chore: edit eslint
* feat: add addDependencies
* feat: add iti di
* feat: constfn util
* revert: delete old files
* remove: ModuleConfiguration
* feat: add sanity checker
* feat: add new error and update dependency
* feat: add sanity check for iti
* feat: add function helpers for di
* feat: add POC for sern di IOC
* feat: refactor DependenciesMap
* revert: remove old code
* feat: refactor makeDependencies fn
* chore(deps): update dependency @typescript-eslint/parser to v5.36.1 (#127 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.36.1 (#126 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* docs: Fix the code example (#128 )
* chore(deps): update dependency @typescript-eslint/eslint-plugin to v5.36.2 (#130 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com >
* chore(deps): update dependency @typescript-eslint/parser to v5.36.2 (#131 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com >
* feat: allow constructable modules (#133 )
* Update readFile.ts
* Update userDefinedEventsHandling.ts
* Update readyHandler.ts
* fix: ts error
Co-authored-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com >
Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com >
* revert: feat of allow constructable modules (#138 )
Revert "feat: allow constructable modules (#133 )"
This reverts commit 03936eb2ea .
* feat: update CODEOWNERS
* feat: classmodules@arcs (#143 )
* feat: add class based commands
* docs: add deprecation warnings
* feat: add deprecation warnings
* feat: add more deprecation warnings
* feat: add prototype ClassModule abstract class
* feat: add EventModuleClass prototype, change names
* feat: more flexible contract
* feat: EventExecutable
* fix: typo
* feat: made abstract classes because of defaults
* fix: typings
* feat: update Context typings, update to djs v15
* chore: update typescript dependency
* chore: bump version
* chore: update ignore
* chore: prettier
* docs: change readme to be docusaurus compliant
* chore(main): release 1.2.0 (#145 )
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix(autocomplete): now support multiple autocomplete options (#147 )
* chore(main): release 1.2.1 (#148 )
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* feat: update location of module typings
* feat: getting global plugins some typings and adding contracts
* feat: adding ModuleConfiguration helper fn and default module manager
* feat: solidifying contract
* feat: removing unused types
* feat: update location of module typings
* feat: moving modules to its own contained class
* feat: getting global plugins some typings and adding contracts
* feat: solidifying contract
* revert: delete files
* chore: saving for later
* feat: more merge conflicts
* feat: starting from scratch, add new typings
* feat: strengthening contracts
* feat: add sanity check for iti
* feat: refactor DependenciesMap
* feat: adding POC back
* docs: add some deprecation warnings
* feat: remove client and sernEmitter
* feat: rebase global_services
* chore: oops rebase pkgjson fix
* fix: typings
* feat: iti update and getting di working
* feat: adding contracts and default provider
* feat: update typings and change logger
* fix: MapDeps typings and useContainer typings
* feat: moving handlers to 2.0
* feat: injecting crash handler
* feat: alpha logging injection?
* feat: injecting modulemanager in interactionhandler
* fix: typos and fixups
* fix: typos and fixups
* feat: moduleManager injection
* fix: crash on no module
* feat: i think optional dependencies work
* feat: add more optional support
* feat: make exclusion optional
* perf: simplify typings and reduce compile time
* fix: some typings adjustment, deprecating a field
* perf: simplifying plugin typings
* feat: remove addExternal
* feat: more simplifying typings
* perf: allow any and interfacify some types
* revert: remove horrendous Override type
* revert: delete interaction type predicates
* fix: unchecked cast to EventEmitter
* perf: remove unneeded creation of instance members
* feat: init test dir
* refactor: rename fn and short circuit name fn
* refactor: insert function
* feat: starting event module onEvent plugins and log payload
* feat: basic eventmodule event plugins?
* refactor: DRY
* feat: unify warning typing
* fix: typings
* feat: more progress on new eventModules
* feat: event modules with plugins!!?!?
* feat: making sernEmitter create default!!, readjust typings
* feat: inject sernEmitter emits and catch possible errors
* feat: add optionality to Logger dep type
* feat: context upgrade, fix circular emissions, crap ton of shit
* feat!: Module -> AnyModule, Added new SelectMenuInteractions, Changed some CommandType names
* feat: rudimentary onClick handler
* feat!: rename select menu command types, no distinguishing between text and alias
* docs: adding docs
* fix: forgot to change
* fix: logging undefined
* revert: remove spreadparams
* feat: export useContainerRaw function and fix smol bug
* feat: add iti DI disposeAll on crash
* fix: deferred execute
* feat!: rename BasePlugin -> Plugin
* feat: commandplugins for event modules, ill test later
* refactor: rename
* refactor: remove import
* feat: add deprecation warnings
* feat: update documentation comments
* perf: static'ify command plugin and event plugin typings
* refactor: remove redundant assignment
* feat: switch to pnpm
* chore: update pnpm lock
* fix: errors crashing and completing subscription
* feat: update example
* fix: overriding dependencies no matter what
* fix: bad rxjs docs
* refactor: destructuring
* feat: update typings for addDisposer
* feat: update packageManager field in package.json
* feat: grammar
Co-authored-by: jacoobes <jacobnguyend@gmail.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com >
Co-authored-by: Arcs <73959934+HighArcs@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Evo <85353424+EvolutionX-10@users.noreply.github.com >
2022-12-28 14:18:36 -06:00
Evo
cbad7380e1
fix(autocomplete): now support multiple autocomplete options ( #147 )
2022-10-03 11:50:49 -05:00
Jacob Nguyen
50288867a5
feat: classmodules@arcs ( #143 )
...
* feat: add class based commands
* docs: add deprecation warnings
* feat: add deprecation warnings
* feat: add more deprecation warnings
* feat: add prototype ClassModule abstract class
* feat: add EventModuleClass prototype, change names
* feat: more flexible contract
* feat: EventExecutable
* fix: typo
* feat: made abstract classes because of defaults
* fix: typings
* feat: update Context typings, update to djs v15
* chore: update typescript dependency
* chore: bump version
* chore: update ignore
* chore: prettier
* docs: change readme to be docusaurus compliant
2022-09-28 11:52:25 -05:00
xxDeveloper
82bbddac8d
revert: feat of allow constructable modules ( #138 )
...
Revert "feat: allow constructable modules (#133 )"
This reverts commit 03936eb2ea .
2022-09-13 14:36:15 -05:00
Arcs
03936eb2ea
feat: allow constructable modules ( #133 )
...
* Update readFile.ts
* Update userDefinedEventsHandling.ts
* Update readyHandler.ts
* fix: ts error
Co-authored-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com >
Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com >
2022-09-13 21:46:06 +03:00
Jacob Nguyen
395549c173
feat: add proper error handling ( #115 )
2022-08-29 08:09:52 +05:30
github-actions[bot]
ff5c161469
stlye: pretty please ( #124 )
...
Co-authored-by: EvolutionX-10 <EvolutionX-10@users.noreply.github.com >
2022-08-29 07:12:33 +05:30
Jacob Nguyen
3dec347ef0
feat: remove externallyUsed.ts
2022-08-14 12:53:16 -05:00
Jacob Nguyen
74378f0f12
feat: shrink package size, improve dev deps, esm and cjs support ( #98 )
...
* chore: fix tsc predicate type checking
* build: add tsup as bundler
* chore: revert text
* chore: fix predicates.ts, update dependencies, bump version
* docs: update example
* build: update dependencies
* fix: crash on collectors (#89 )
* fix: crash on collectors
* feat: bump version for bug fix
* fix: crash on collectors pt
* docs: adding some documentation for docasaurus
* docs: add errors.ts comments
* docs: refactor comments
* docs: adding examples
* feat: refresh package-lock.json
* refactor: destructure and clean namespaces
* feat: add regen package.json script
* feat: add tsup, remove tsc, add scripts
* feat: update ts-results import style
* feat: readd typescript because idk if i should
* feat: breakup tsconfigs and add tsup config
* feat: add esm json tsconfig to git
* build: update dependencies and move to ts-result-es
* feat: remove unused function
* feat: update ts-results for esm/cjs interop!
* revert: remove version.txt
* build: goodbye tsc, hello tsup
* build: moving discord.js as dev dependency
* style: requested changes
* feat: add tsc back ( i missed you )
* build: bump version -> 1.0.0
* feat: syncing to main
* style: pretty
* feat: fix tsconfig issues with tsup
* revert: remove ExternallyUsed
* feat: update scripts
* build: update tsup and pkg-lock.json
* feat: refresh package-lock.json
* feat: test
2022-08-06 15:51:19 -05:00
Jacob Nguyen
70d7bdb8c5
fix: autocomplete in nested form ( #97 )
...
Co-authored-by: Evo <85353424+EvolutionX-10@users.noreply.github.com >
2022-08-03 00:21:31 +05:30
Jacob Nguyen
7da7bff700
fix: crash on collectors pt
2022-07-20 14:36:32 -05:00
Jacob Nguyen
a0587f59d4
fix: crash on collectors ( #89 )
...
* fix: crash on collectors
* feat: bump version for bug fix
2022-07-20 14:00:49 -05:00
Jacob Nguyen
d96681bfb5
chore: fix predicates.ts, update dependencies, bump version
2022-07-18 12:21:23 -05:00
Jacob Nguyen
d1b034b826
chore: revert text
2022-07-18 12:18:12 -05:00
Jacob Nguyen
07e6dabce1
bug(observableHandling.ts): fix https://github.com/sern-handler/handler/issues/86
2022-07-16 15:37:43 -05:00
Jacob Nguyen
17eb816ec9
refactor(events): use of classes for scalability & maintainability ( #83 )
...
Co-authored-by: EvolutionX-10 <evolutionx9777@gmail.com >
2022-07-16 23:38:11 +05:30
Evo
9340cf229c
refactor(*): use enums for payloadtype & fix type warns ( #69 )
...
* refactor(*): use enums and fix type warns
* style: pretty pretty prettier
2022-06-30 00:55:54 -05:00