Implement events for external use + Rename interfaces with a I prefix + add some documentation (#26)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Implement events for external use Rename interfaces with a I prefix Add some documentation Co-authored-by: Eric NGUYEN <enguyen@techform.fr> Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/26
This commit is contained in:
parent
6c601429b9
commit
c81a6fe44b
38 changed files with 228 additions and 116 deletions
|
@ -1,7 +1,7 @@
|
|||
import { Configuration } from '../Interfaces/Configuration';
|
||||
import Properties from '../Interfaces/Properties';
|
||||
import { IConfiguration } from '../Interfaces/IConfiguration';
|
||||
import IProperties from '../Interfaces/IProperties';
|
||||
|
||||
export const DEFAULT_CONFIG: Configuration = {
|
||||
export const DEFAULT_CONFIG: IConfiguration = {
|
||||
AvailableContainers: [
|
||||
{
|
||||
Type: 'Container',
|
||||
|
@ -25,7 +25,7 @@ export const DEFAULT_CONFIG: Configuration = {
|
|||
}
|
||||
};
|
||||
|
||||
export const DEFAULT_MAINCONTAINER_PROPS: Properties = {
|
||||
export const DEFAULT_MAINCONTAINER_PROPS: IProperties = {
|
||||
id: 'main',
|
||||
parentId: 'null',
|
||||
x: 0,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { IContainerModel } from '../Interfaces/ContainerModel';
|
||||
import { IContainerModel } from '../Interfaces/IContainerModel';
|
||||
|
||||
/**
|
||||
* Returns a Generator iterating of over the children depth-first
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { findContainerById, MakeIterator } from './itertools';
|
||||
import { IEditorState } from '../Components/Editor/Editor';
|
||||
import { IEditorState } from '../Interfaces/IEditorState';
|
||||
|
||||
/**
|
||||
* Revive the Editor state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue