Skip to content

Commit

Permalink
feat: add delete strategy modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Jandiasnow authored and Carrotzpc committed Mar 15, 2023
1 parent 1fa6808 commit fee9da9
Show file tree
Hide file tree
Showing 5 changed files with 268 additions and 11 deletions.
10 changes: 10 additions & 0 deletions bff-sdk/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,8 @@ export type NewChaincodebuild = {
displayName: Scalars['String'];
/** 合约文件 */
file?: InputMaybe<Scalars['Upload']>;
/** 文件夹内文件的相对路径 */
fileRelativePaths?: InputMaybe<Array<Scalars['String']>>;
/** 合约文件夹 */
files?: InputMaybe<Array<Scalars['Upload']>>;
/** 选择语言 */
Expand Down Expand Up @@ -725,6 +727,8 @@ export type UpgradeChaincodebuild = {
displayName: Scalars['String'];
/** 合约文件 */
file?: InputMaybe<Scalars['Upload']>;
/** 文件夹内文件的相对路径 */
fileRelativePaths?: InputMaybe<Array<Scalars['String']>>;
/** 合约文件夹 */
files?: InputMaybe<Array<Scalars['Upload']>>;
/** 选择语言 */
Expand Down Expand Up @@ -805,6 +809,7 @@ export type CreateChaincodebuildMutationVariables = Exact<{
version: Scalars['String'];
file?: InputMaybe<Scalars['Upload']>;
files?: InputMaybe<Array<Scalars['Upload']> | Scalars['Upload']>;
fileRelativePaths?: InputMaybe<Array<Scalars['String']> | Scalars['String']>;
}>;

export type CreateChaincodebuildMutation = {
Expand Down Expand Up @@ -894,6 +899,7 @@ export type UpgradeChaincodebuildMutationVariables = Exact<{
language?: InputMaybe<Scalars['String']>;
network: Scalars['String'];
newVersion: Scalars['String'];
fileRelativePaths?: InputMaybe<Array<Scalars['String']> | Scalars['String']>;
}>;

export type UpgradeChaincodebuildMutation = {
Expand Down Expand Up @@ -1596,6 +1602,7 @@ export const CreateChaincodebuildDocument = gql`
$version: String!
$file: Upload
$files: [Upload!]
$fileRelativePaths: [String!]
) {
chaincodebuildCreate(
chaincodebuild: {
Expand All @@ -1606,6 +1613,7 @@ export const CreateChaincodebuildDocument = gql`
version: $version
file: $file
files: $files
fileRelativePaths: $fileRelativePaths
}
) {
name
Expand Down Expand Up @@ -1679,6 +1687,7 @@ export const UpgradeChaincodebuildDocument = gql`
$language: String
$network: String!
$newVersion: String!
$fileRelativePaths: [String!]
) {
chaincodebuildUpgrade(
chaincodebuild: {
Expand All @@ -1688,6 +1697,7 @@ export const UpgradeChaincodebuildDocument = gql`
language: $language
network: $network
newVersion: $newVersion
fileRelativePaths: $fileRelativePaths
}
) {
name
Expand Down
8 changes: 8 additions & 0 deletions src/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ const i18nConfig = {
'i18n-cprrxhrkty': 'Configuration member',
'i18n-csjzk2p708j': 'Financial security edition',
'i18n-csxel0bc': 'Number of networks',
'i18n-ctwrr17g': 'Failed to delete a policy',
'i18n-cue05btw': 'Confirm the launch of new alliance proposal',
'i18n-d3zo18q4hrn': 'Proposed name',
'i18n-d4bbvp00v5t': 'New federation success',
Expand Down Expand Up @@ -324,6 +325,7 @@ const i18nConfig = {
'i18n-ohwea8x7': 'The proposal will be sent to the constituent members',
'i18n-oi2oqdfkq6i': 'Engine type',
'i18n-ol5awdwa': 'The contract description consists of 0 to 200 characters',
'i18n-ol5t1k5q': 'Confirm delete policy',
'i18n-onidezp69vb': 'Please choose to decide',
'i18n-ot1siqdw': 'Version number',
'i18n-p17ll5b2': 'The next step',
Expand All @@ -336,6 +338,7 @@ const i18nConfig = {
'i18n-pjvvvoe9': 'Channel management',
'i18n-pmpcxrn4hxn': 'Pending',
'i18n-popfra0p': 'SDK development performance is superior',
'i18n-ppwtxqzo': 'Policy deletion',
'i18n-pra1gymtjol': 'Maturity time',
'i18n-qg8otk6r': 'Application contract',
'i18n-qsvtbgvf': 'The network description consists of 0 to 200 characters',
Expand Down Expand Up @@ -382,6 +385,7 @@ const i18nConfig = {
'i18n-txk6oui9mfs':
'After the successful purchase of block chain network, the affiliate cannot be replaced. You can',
'i18n-tzncutaq': 'Number of organizational nodes',
'i18n-u1byeit6': 'Succeeded in deleting the policy',
'i18n-ugehpppw': 'Purchase time',
'i18n-uq1hm9mlcqd': '1 year',
'i18n-urdvb24dc3': 'node',
Expand Down Expand Up @@ -609,6 +613,7 @@ const i18nConfig = {
'i18n-cprrxhrkty': '配置成员',
'i18n-csjzk2p708j': '金融安全版',
'i18n-csxel0bc': '网络数',
'i18n-ctwrr17g': '删除策略失败',
'i18n-cue05btw': '确认发起新建联盟提议',
'i18n-d3zo18q4hrn': '提议名称',
'i18n-d4bbvp00v5t': '新建联盟成功',
Expand Down Expand Up @@ -748,6 +753,7 @@ const i18nConfig = {
'i18n-ohwea8x7': '申请提议将发送给组建成员',
'i18n-oi2oqdfkq6i': '引擎类型',
'i18n-ol5awdwa': '合约描述由 0 ~ 200 字符组成',
'i18n-ol5t1k5q': '确认删除策略',
'i18n-onidezp69vb': '请选择决定',
'i18n-ot1siqdw': '版本号',
'i18n-p17ll5b2': '下一步',
Expand All @@ -760,6 +766,7 @@ const i18nConfig = {
'i18n-pjvvvoe9': '通道管理',
'i18n-pmpcxrn4hxn': '等待中',
'i18n-popfra0p': 'SDK 开发性能优越',
'i18n-ppwtxqzo': '策略删除',
'i18n-pra1gymtjol': '到期时间',
'i18n-qg8otk6r': '应用合约',
'i18n-qsvtbgvf': '网络描述由 0 ~ 200 字符组成',
Expand Down Expand Up @@ -804,6 +811,7 @@ const i18nConfig = {
'i18n-twykcar3l6l': '共识算法',
'i18n-txk6oui9mfs': '区块链网络购买成功后,所属联盟不能更换。您可以',
'i18n-tzncutaq': '组织节点数',
'i18n-u1byeit6': '删除策略成功',
'i18n-ugehpppw': '购买时长',
'i18n-uq1hm9mlcqd': '1年',
'i18n-urdvb24dc3': '个节点',
Expand Down
Loading

0 comments on commit fee9da9

Please sign in to comment.