fix merge conflict
This commit is contained in:
parent
8e2a889b1d
commit
6d6556107a
@ -16,10 +16,7 @@
|
|||||||
entrypoint: add
|
entrypoint: add
|
||||||
parameters: 5, 6
|
parameters: 5, 6
|
||||||
generateDeployScript:
|
generateDeployScript:
|
||||||
<<<<<<< HEAD
|
|
||||||
tool: tezos-client
|
tool: tezos-client
|
||||||
=======
|
|
||||||
>>>>>>> bc2d95d6f6dd4959097e5b6cdb19bce0cc6b3c01
|
|
||||||
entrypoint: main
|
entrypoint: main
|
||||||
storage: 0
|
storage: 0
|
||||||
*_*)
|
*_*)
|
||||||
|
@ -16,10 +16,7 @@
|
|||||||
entrypoint: add
|
entrypoint: add
|
||||||
parameters: (5, 6)
|
parameters: (5, 6)
|
||||||
generateDeployScript:
|
generateDeployScript:
|
||||||
<<<<<<< HEAD
|
|
||||||
tool: tezos-client
|
tool: tezos-client
|
||||||
=======
|
|
||||||
>>>>>>> bc2d95d6f6dd4959097e5b6cdb19bce0cc6b3c01
|
|
||||||
entrypoint: main
|
entrypoint: main
|
||||||
storage: 0
|
storage: 0
|
||||||
*_*)
|
*_*)
|
||||||
|
@ -16,10 +16,7 @@
|
|||||||
entrypoint: add
|
entrypoint: add
|
||||||
parameters: (5, 6)
|
parameters: (5, 6)
|
||||||
generateDeployScript:
|
generateDeployScript:
|
||||||
<<<<<<< HEAD
|
|
||||||
tool: tezos-client
|
tool: tezos-client
|
||||||
=======
|
|
||||||
>>>>>>> bc2d95d6f6dd4959097e5b6cdb19bce0cc6b3c01
|
|
||||||
entrypoint: main
|
entrypoint: main
|
||||||
storage: 0
|
storage: 0
|
||||||
*_*)
|
*_*)
|
||||||
|
@ -9,11 +9,7 @@ import {
|
|||||||
ChangeToolAction,
|
ChangeToolAction,
|
||||||
GenerateDeployScriptState,
|
GenerateDeployScriptState,
|
||||||
} from '../../redux/generate-deploy-script';
|
} from '../../redux/generate-deploy-script';
|
||||||
<<<<<<< HEAD:tools/webide/packages/client/src/components/configure/generate-deploy-script-pane.tsx
|
|
||||||
import { Tool } from '../../redux/types';
|
import { Tool } from '../../redux/types';
|
||||||
=======
|
|
||||||
import { Tool, ToolCommand } from '../../redux/types';
|
|
||||||
>>>>>>> bc2d95d6f6dd4959097e5b6cdb19bce0cc6b3c01:tools/webide/packages/client/src/components/configure/generate-command-pane.tsx
|
|
||||||
import { AccessFunctionLabel, Group, Input, Label, Textarea } from '../form/inputs';
|
import { AccessFunctionLabel, Group, Input, Label, Textarea } from '../form/inputs';
|
||||||
import { Option, Select } from '../form/select';
|
import { Option, Select } from '../form/select';
|
||||||
|
|
||||||
@ -28,21 +24,10 @@ export const GenerateDeployScriptPane = () => {
|
|||||||
state => state.generateDeployScript.tool
|
state => state.generateDeployScript.tool
|
||||||
);
|
);
|
||||||
|
|
||||||
<<<<<<< HEAD:tools/webide/packages/client/src/components/configure/generate-deploy-script-pane.tsx
|
|
||||||
const entrypoint = useSelector<AppState, GenerateDeployScriptState['entrypoint']>(
|
const entrypoint = useSelector<AppState, GenerateDeployScriptState['entrypoint']>(
|
||||||
state => state.generateDeployScript.entrypoint
|
state => state.generateDeployScript.entrypoint
|
||||||
);
|
);
|
||||||
|
|
||||||
=======
|
|
||||||
const command = useSelector<AppState, GenerateDeployScriptState['command']>(
|
|
||||||
state => state.generateDeployScript.command
|
|
||||||
);
|
|
||||||
|
|
||||||
const entrypoint = useSelector<AppState, GenerateDeployScriptState['entrypoint']>(
|
|
||||||
state => state.generateDeployScript.entrypoint
|
|
||||||
);
|
|
||||||
|
|
||||||
>>>>>>> bc2d95d6f6dd4959097e5b6cdb19bce0cc6b3c01:tools/webide/packages/client/src/components/configure/generate-command-pane.tsx
|
|
||||||
const storage = useSelector<AppState, GenerateDeployScriptState['storage']>(
|
const storage = useSelector<AppState, GenerateDeployScriptState['storage']>(
|
||||||
state => state.generateDeployScript.storage
|
state => state.generateDeployScript.storage
|
||||||
);
|
);
|
||||||
|
@ -82,11 +82,7 @@ export class GenerateDeployScriptAction extends CancellableAction {
|
|||||||
|
|
||||||
const title = slugify(editor.title).toLowerCase() || 'untitled';
|
const title = slugify(editor.title).toLowerCase() || 'untitled';
|
||||||
const output = `tezos-client \\
|
const output = `tezos-client \\
|
||||||
<<<<<<< HEAD:tools/webide/packages/client/src/redux/actions/generate-deploy-script.ts
|
|
||||||
originate \\
|
originate \\
|
||||||
=======
|
|
||||||
${generateDeployScript.command} \\
|
|
||||||
>>>>>>> bc2d95d6f6dd4959097e5b6cdb19bce0cc6b3c01:tools/webide/packages/client/src/redux/actions/generate-command.ts
|
|
||||||
contract \\
|
contract \\
|
||||||
${title} \\
|
${title} \\
|
||||||
transferring 0 \\
|
transferring 0 \\
|
||||||
|
@ -1,16 +1,8 @@
|
|||||||
import { ActionType as ExamplesActionType, ChangeSelectedAction as ChangeSelectedExampleAction } from './examples';
|
import { ActionType as ExamplesActionType, ChangeSelectedAction as ChangeSelectedExampleAction } from './examples';
|
||||||
<<<<<<< HEAD:tools/webide/packages/client/src/redux/generate-deploy-script.ts
|
|
||||||
import { Tool } from './types';
|
import { Tool } from './types';
|
||||||
|
|
||||||
export enum ActionType {
|
export enum ActionType {
|
||||||
ChangeTool = 'generate-deploy-script-change-tool',
|
ChangeTool = 'generate-deploy-script-change-tool',
|
||||||
=======
|
|
||||||
import { Tool, ToolCommand } from './types';
|
|
||||||
|
|
||||||
export enum ActionType {
|
|
||||||
ChangeTool = 'generate-deploy-script-change-tool',
|
|
||||||
ChangeCommand = 'generate-deploy-script-change-command',
|
|
||||||
>>>>>>> bc2d95d6f6dd4959097e5b6cdb19bce0cc6b3c01:tools/webide/packages/client/src/redux/generate-command.ts
|
|
||||||
ChangeEntrypoint = 'generate-deploy-script-change-entrypoint',
|
ChangeEntrypoint = 'generate-deploy-script-change-entrypoint',
|
||||||
ChangeStorage = 'generate-deploy-script-change-storage'
|
ChangeStorage = 'generate-deploy-script-change-storage'
|
||||||
}
|
}
|
||||||
@ -26,14 +18,6 @@ export interface GenerateDeployScriptState {
|
|||||||
export class ChangeToolAction {
|
export class ChangeToolAction {
|
||||||
public readonly type = ActionType.ChangeTool;
|
public readonly type = ActionType.ChangeTool;
|
||||||
constructor(public payload: GenerateDeployScriptState['tool']) {}
|
constructor(public payload: GenerateDeployScriptState['tool']) {}
|
||||||
<<<<<<< HEAD:tools/webide/packages/client/src/redux/generate-deploy-script.ts
|
|
||||||
=======
|
|
||||||
}
|
|
||||||
|
|
||||||
export class ChangeCommandAction {
|
|
||||||
public readonly type = ActionType.ChangeCommand;
|
|
||||||
constructor(public payload: GenerateDeployScriptState['command']) {}
|
|
||||||
>>>>>>> bc2d95d6f6dd4959097e5b6cdb19bce0cc6b3c01:tools/webide/packages/client/src/redux/generate-command.ts
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export class ChangeEntrypointAction {
|
export class ChangeEntrypointAction {
|
||||||
@ -66,14 +50,6 @@ export default (
|
|||||||
): GenerateDeployScriptState => {
|
): GenerateDeployScriptState => {
|
||||||
switch (action.type) {
|
switch (action.type) {
|
||||||
case ExamplesActionType.ChangeSelected:
|
case ExamplesActionType.ChangeSelected:
|
||||||
<<<<<<< HEAD:tools/webide/packages/client/src/redux/generate-deploy-script.ts
|
|
||||||
=======
|
|
||||||
return {
|
|
||||||
...state,
|
|
||||||
...(!action.payload ? DEFAULT_STATE : action.payload.generateDeployScript)
|
|
||||||
};
|
|
||||||
case ActionType.ChangeTool:
|
|
||||||
>>>>>>> bc2d95d6f6dd4959097e5b6cdb19bce0cc6b3c01:tools/webide/packages/client/src/redux/generate-command.ts
|
|
||||||
return {
|
return {
|
||||||
...state,
|
...state,
|
||||||
...(!action.payload ? DEFAULT_STATE : action.payload.generateDeployScript)
|
...(!action.payload ? DEFAULT_STATE : action.payload.generateDeployScript)
|
||||||
|
Loading…
Reference in New Issue
Block a user