11import 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'
33import { render as renderDataModelSchema } from './schema'
44
55// *****
@@ -102,11 +102,11 @@ const javascriptSnippets = [
102102
103103export default [
104104 {
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` ,
106106 filename : 'iroha-maintainers.md' ,
107107 } ,
108108 {
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` ,
110110 filename : `data-model-schema.md` ,
111111 transform : ( source ) => {
112112 return renderDataModelSchema ( JSON . parse ( source ) )
@@ -116,18 +116,18 @@ export default [
116116 src : './src/example_code/lorem.rs' ,
117117 } ,
118118 {
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` ,
120120 filename : 'client-cli-config-template.toml' ,
121121 } ,
122122 {
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` ,
124124 filename : 'peer-config-template.toml' ,
125125 } ,
126126 {
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` ,
128128 } ,
129129 {
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` ,
131131 filename : 'tutorial-snippets.rs' ,
132132 } ,
133133
0 commit comments