pull/5370/head
yann300 11 months ago committed by Aniket
parent 937fa20686
commit a078a90221
  1. 3
      libs/remix-ui/workspace/src/lib/actions/workspace.ts
  2. 9
      libs/remix-ui/workspace/src/lib/utils/constants.ts
  3. 8
      libs/remix-ui/workspace/src/lib/utils/types.ts

@ -1,7 +1,8 @@
import React from 'react'
import { bufferToHex } from '@ethereumjs/util'
import { hash } from '@remix-project/remix-lib'
import { TEMPLATE_METADATA, TEMPLATE_NAMES, TemplateType } from '../utils/constants'
import { TEMPLATE_METADATA, TEMPLATE_NAMES } from '../utils/constants'
import { TemplateType } from '../utils/types'
import axios, { AxiosResponse } from 'axios'
import {
addInputFieldSuccess,

@ -1,3 +1,4 @@
import { TemplateType } from './types'
export const ROOT_PATH = '/'
export const solTestYml = `
name: Running Solidity Unit Tests
@ -109,11 +110,3 @@ export const TEMPLATE_METADATA: Record<string, TemplateType> = {
}
}
export type TemplateType = {
type: 'git' | 'plugin'
url?: string
branch?: string
name?: string
endpoint?: string
params?: any[]
}

@ -0,0 +1,8 @@
export type TemplateType = {
type: 'git' | 'plugin'
url?: string
branch?: string
name?: string
endpoint?: string
params?: any[]
}
Loading…
Cancel
Save