1
1
import type { SnippetSourceDefinition } from './types'
2
- import { IROHA_JAVA_REV_DEV , IROHA_JS_REV , IROHA_REV_DEV } from './meta'
2
+ import { IROHA_JAVA_REV_DEV , IROHA_JS_REV , IROHA_RC_1 } from './meta'
3
3
import { render as renderDataModelSchema } from './schema'
4
4
5
5
// *****
@@ -102,11 +102,11 @@ const javascriptSnippets = [
102
102
103
103
export default [
104
104
{
105
- src : `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${ IROHA_REV_DEV } /MAINTAINERS.md` ,
105
+ src : `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${ IROHA_RC_1 } /MAINTAINERS.md` ,
106
106
filename : 'iroha-maintainers.md' ,
107
107
} ,
108
108
{
109
- src : `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${ IROHA_REV_DEV } /docs/source/references/schema.json` ,
109
+ src : `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${ IROHA_RC_1 } /docs/source/references/schema.json` ,
110
110
filename : `data-model-schema.md` ,
111
111
transform : ( source ) => {
112
112
return renderDataModelSchema ( JSON . parse ( source ) )
@@ -116,18 +116,18 @@ export default [
116
116
src : './src/example_code/lorem.rs' ,
117
117
} ,
118
118
{
119
- src : `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${ IROHA_REV_DEV } /configs /client.template.toml` ,
119
+ src : `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${ IROHA_RC_1 } /docs/source/references /client.template.toml` ,
120
120
filename : 'client-cli-config-template.toml' ,
121
121
} ,
122
122
{
123
- src : `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${ IROHA_REV_DEV } /configs /peer.template.toml` ,
123
+ src : `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${ IROHA_RC_1 } /docs/source/references /peer.template.toml` ,
124
124
filename : 'peer-config-template.toml' ,
125
125
} ,
126
126
{
127
- src : `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${ IROHA_REV_DEV } /configs/swarm /genesis.json` ,
127
+ src : `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${ IROHA_RC_1 } /defaults /genesis.json` ,
128
128
} ,
129
129
{
130
- src : `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${ IROHA_REV_DEV } /client /examples/tutorial.rs` ,
130
+ src : `https://raw.githubusercontent.com/hyperledger-iroha/iroha/${ IROHA_RC_1 } /crates/iroha /examples/tutorial.rs` ,
131
131
filename : 'tutorial-snippets.rs' ,
132
132
} ,
133
133
0 commit comments