Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
cordis-decorators
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
3rdeye
cordis-decorators
Commits
e106b522
Commit
e106b522
authored
Jul 20, 2022
by
nanahira
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no split export
parent
ccf387f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
index.ts
index.ts
+1
-1
tests/on-apply.spec.ts
tests/on-apply.spec.ts
+4
-1
No files found.
index.ts
View file @
e106b522
//
export * from './src/decorators';
export
*
from
'
./src/decorators
'
;
export
*
from
'
./src/def
'
;
export
*
from
'
./src/plugin-def
'
;
export
*
from
'
./src/registrar
'
;
...
...
tests/on-apply.spec.ts
View file @
e106b522
import
{
Inject
,
Provide
}
from
'
../src/decorators
'
;
import
{
Apply
,
Inject
,
Provide
}
from
'
../src/decorators
'
;
import
{
DefinePlugin
,
StarterPlugin
}
from
'
./utility/decorators
'
;
import
{
LifecycleEvents
}
from
'
../src/plugin-def
'
;
import
{
Context
}
from
'
cordis
'
;
...
...
@@ -23,6 +23,9 @@ class NonImmediateDependency extends StarterPlugin() {}
@
Provide
(
'
myPlugin
'
,
{
immediate
:
true
})
@
DefinePlugin
()
class
TestingBase
extends
StarterPlugin
()
implements
LifecycleEvents
{
@
Apply
()
onApply2
()
{}
onApply
()
{
this
.
applied
=
true
;
}
...
...
nanahira
@nanahira
mentioned in commit
a1d9e941
·
Jul 20, 2022
mentioned in commit
a1d9e941
mentioned in commit a1d9e941e84341532510d43cd21d461d8d8277d5
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment