This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Organizations: | |
- &hktfp | |
Name: hktfp | |
ID: HktfpMSP | |
MSPDir: /var/artifacts/crypto-config/HktfpMSP/msp | |
Policies: | |
Readers: | |
Type: Signature |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############## | |
# Environments | |
############## | |
export RED='\033[0;31m' | |
export GREEN='\033[0;32m' | |
export YELLOW='\033[0;33m' | |
export NC='\033[0m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# $1 - docker compose files | |
# $2 - orderer code ("org0") | |
# $3 - first org ("org1") | |
# $4 - list of remaining orgs ("org2 org3") | |
# $5 - number of orgs (2org / 3org) | |
. ./scripts/setup.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Commit } from '../types'; | |
export const isCommitRecord = (input: unknown): input is Record<string, Commit> => | |
Object.entries(input) | |
.map( | |
([key, value]) => | |
value?.commitId !== undefined && | |
value?.id !== undefined && | |
value?.entityId !== undefined && | |
value?.version !== undefined && |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MIT License | |
// Copyright (c) 2020 Szabolcs Gelencsér | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
networks: | |
openplatform: | |
services: | |
auth: | |
image: fabric-es/auth-server:1.0 | |
container_name: auth | |
environment: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as Primitive from './modified_xml-primitives'; | |
// Source files: | |
// https://www.iso20022.org/sites/default/files/documents/messages/pacs/schemas/pacs.008.001.07.xsd | |
interface BaseType { | |
_exists: boolean; | |
_namespace: string; | |
} | |
interface _AccountIdentification4Choice extends BaseType { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import util from 'util'; | |
import Debug from 'debug'; | |
import filter from 'lodash/filter'; | |
import groupBy from 'lodash/groupBy'; | |
import isEqual from 'lodash/isEqual'; | |
import { FTSearchParameters, Redisearch } from 'redis-modules-sdk'; | |
import { Commit, computeEntity, HandlerResponse } from '../types'; | |
import { getLogger, isCommit } from '../utils'; | |
import { | |
INVALID_ARG, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
parser: '@typescript-eslint/parser', | |
parserOptions: { | |
ecmaVersion: 2021, | |
requireConfigFile: false, | |
sourceType: 'module' | |
}, | |
plugins: ['@typescript-eslint', 'unused-imports', 'simple-import-sort', 'tailwindcss'], | |
extends: ['next', 'next/core-web-vitals', 'plugin:tailwindcss/recommended'], | |
rules: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"target": "ES2019", | |
"lib": [ | |
"dom", | |
"dom.iterable", | |
"esnext" | |
], | |
"allowJs": true, | |
"skipLibCheck": true, |
OlderNewer