Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
f1ce49ec
Commit
f1ce49ec
authored
Sep 27, 2021
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use package.json version 1
parent
47506d90
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
52 additions
and
51 deletions
+52
-51
config.yml
.circleci/config.yml
+2
-0
index.d.ts
apps/remix-ide-e2e/src/types/index.d.ts
+3
-4
package.json
libs/remix-analyzer/package.json
+1
-1
package.json
libs/remix-debug/package.json
+1
-1
types.d.ts
libs/remix-ui/plugin-manager/src/types.d.ts
+45
-45
No files found.
.circleci/config.yml
View file @
f1ce49ec
...
...
@@ -428,3 +428,4 @@ workflows:
filters
:
branches
:
only
:
remix_beta
\ No newline at end of file
apps/remix-ide-e2e/src/types/index.d.ts
View file @
f1ce49ec
// Merge custom command types with nightwatch types
import
{
NightwatchBrowser
,
NightwatchBrowser
,
NightwatchBrowser
}
from
"nightwatch"
;
import
{
NightwatchBrowser
}
from
'nightwatch'
declare
module
"nightwatch"
{
declare
module
'nightwatch'
{
export
interface
NightwatchCustomCommands
{
clickLaunchIcon
(
icon
:
string
):
NightwatchBrowser
,
switchBrowserTab
(
index
:
number
):
NightwatchBrowser
,
...
...
@@ -90,4 +90,4 @@ declare module "nightwatch" {
}
export
type
NightwatchCheckVariableDebugValue
=
NightwatchTestFunctionExpectedInput
}
\ No newline at end of file
}
libs/remix-analyzer/package.json
View file @
f1ce49ec
...
...
@@ -22,7 +22,7 @@
"@ethereumjs/block"
:
"^3.4.0"
,
"@ethereumjs/tx"
:
"^3.3.0"
,
"@ethereumjs/vm"
:
"^5.5.0"
,
"@remix-project/remix-astwalker"
:
"^0.0.
26
"
,
"@remix-project/remix-astwalker"
:
"^0.0.
37
"
,
"@remix-project/remix-lib"
:
"^0.5.7"
,
"async"
:
"^2.6.2"
,
"ethereumjs-util"
:
"^7.0.10"
,
...
...
libs/remix-debug/package.json
View file @
f1ce49ec
...
...
@@ -22,7 +22,7 @@
"@ethereumjs/common"
:
"^2.2.0"
,
"@ethereumjs/tx"
:
"^3.3.0"
,
"@ethereumjs/vm"
:
"^5.5.0"
,
"@remix-project/remix-astwalker"
:
"^0.0.
26
"
,
"@remix-project/remix-astwalker"
:
"^0.0.
37
"
,
"@remix-project/remix-lib"
:
"^0.5.7"
,
"async"
:
"^2.6.2"
,
"commander"
:
"^2.19.0"
,
...
...
libs/remix-ui/plugin-manager/src/types.d.ts
View file @
f1ce49ec
...
...
@@ -11,12 +11,12 @@ interface SetPluginOptionType {
}
export
class
RemixEngine
extends
Engine
{
event
:
EventEmitter
;
event
:
EventEmitter
setPluginOption
({
name
,
kind
})
:
SetPluginOptionType
onRegistration
(
plugin
)
:
void
}
export
function
isNative
(
name
:
any
):
any
;
export
function
isNative
(
name
:
any
):
any
/**
* Checks if plugin caller 'from' is allowed to activate plugin 'to'
* The caller can have 'canActivate' as a optional property in the plugin profile.
...
...
@@ -27,33 +27,33 @@ export function isNative(name: any): any;
* @param {any, any}
* @returns {boolean}
*/
export
function
canActivate
(
from
:
any
,
to
:
any
):
boolean
;
export
function
canActivate
(
from
:
any
,
to
:
any
):
boolean
export
class
RemixAppManager
extends
PluginManager
{
constructor
()
;
event
:
EventEmitter
;
pluginsDirectory
:
string
;
pluginLoader
:
PluginLoader
;
permissionHandler
:
PermissionHandler
;
getAll
():
import
(
'@remixproject/plugin-utils'
).
Profile
<
any
>
[];
getIds
():
string
[];
isDependent
(
name
:
any
):
any
;
isRequired
(
name
:
any
):
any
;
registeredPlugins
():
Promise
<
any
>
;
turnPluginOn
(
name
:
string
|
string
[]);
turnPluginOff
(
name
:
string
);
constructor
()
event
:
EventEmitter
pluginsDirectory
:
string
pluginLoader
:
PluginLoader
permissionHandler
:
PermissionHandler
getAll
():
import
(
'@remixproject/plugin-utils'
).
Profile
<
any
>
[]
getIds
():
string
[]
isDependent
(
name
:
any
):
any
isRequired
(
name
:
any
):
any
registeredPlugins
():
Promise
<
any
>
turnPluginOn
(
name
:
string
|
string
[])
turnPluginOff
(
name
:
string
)
}
export
class
PluginManagerSettings
{
openDialog
():
void
;
permissions
:
any
;
currentSetting
:
any
;
onValidation
():
void
;
openDialog
():
void
permissions
:
any
currentSetting
:
any
onValidation
():
void
/** Clear one permission from a plugin */
clearPersmission
(
from
:
string
,
to
:
string
,
method
:
string
):
void
;
clearPersmission
(
from
:
string
,
to
:
string
,
method
:
string
):
void
/** Clear all persmissions from a plugin */
clearAllPersmission
(
to
:
string
):
void
;
settings
():
any
;
render
():
any
;
clearAllPersmission
(
to
:
string
):
void
settings
():
any
render
():
any
}
export
type
PluginPermissions
=
{
...
...
@@ -94,7 +94,7 @@ export class PluginManagerComponent extends ViewPlugin extends Plugin implements
}
// eslint-disable-next-line no-use-before-define
export
=
LocalPlugin
;
export
=
LocalPlugin
declare
class
LocalPlugin
{
/**
* Open a modal to create a local plugin
...
...
@@ -102,34 +102,34 @@ declare class LocalPlugin {
* @returns {Promise<{api: any, profile: any}>} A promise with the new plugin profile
*/
open
(
plugins
:
any
[]):
Promise
<
{
api
:
any
;
profile
:
any
;
}
>
;
api
:
any
profile
:
any
}
>
profile
:
any
;
profile
:
any
/**
* Create the object to add to the plugin-list
*/
create
():
any
;
create
():
any
updateName
({
target
}:
{
target
:
any
;
}):
void
;
target
:
any
}):
void
updateUrl
({
target
}:
{
target
:
any
;
}):
void
;
target
:
any
}):
void
updateDisplayName
({
target
}:
{
target
:
any
;
}):
void
;
target
:
any
}):
void
updateProfile
(
key
:
any
,
e
:
any
):
void
;
updateProfile
(
key
:
any
,
e
:
any
):
void
updateMethods
({
target
}:
{
target
:
any
;
}):
void
;
target
:
any
}):
void
/** The form to create a local plugin */
form
():
any
;
form
():
any
}
export
interface
PluginManagerContextProviderProps
{
...
...
@@ -146,12 +146,12 @@ export interface RemixUiPluginManagerProps {
* (localStorage, queryParams)
**/
declare
class
PluginLoader
{
get
currentLoader
():
any
;
donotAutoReload
:
string
[]
;
loaders
:
{}
;
current
:
string
;
set
(
plugin
:
any
,
actives
:
any
):
void
;
get
():
any
;
get
currentLoader
():
any
donotAutoReload
:
string
[]
loaders
:
{}
current
:
string
set
(
plugin
:
any
,
actives
:
any
):
void
get
():
any
}
export
type
PluginManagerSettings
=
{
...
...
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