mirror of
https://github.com/Instadapp/boardroom-inc-protocol-Info.git
synced 2024-07-29 22:37:02 +00:00
fix: remove dist files
This commit is contained in:
parent
6e9353d159
commit
d010fececa
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
||||||
|
types.js
|
||||||
|
types.d.ts
|
||||||
.DS_Store
|
.DS_Store
|
||||||
node_modules
|
node_modules
|
||||||
dist
|
dist
|
||||||
|
@ -5,4 +7,5 @@ dist
|
||||||
# Remove some common IDE working directories
|
# Remove some common IDE working directories
|
||||||
.idea
|
.idea
|
||||||
.vscode
|
.vscode
|
||||||
.env
|
.env
|
||||||
|
|
||||||
|
|
35
types.d.ts
vendored
35
types.d.ts
vendored
|
@ -1,35 +0,0 @@
|
||||||
import * as t from "io-ts";
|
|
||||||
export declare const ProtocolIo: t.TypeC<{
|
|
||||||
cname: t.StringC;
|
|
||||||
name: t.StringC;
|
|
||||||
description: t.StringC;
|
|
||||||
path: t.StringC;
|
|
||||||
previousPaths: t.UnionC<[t.ArrayC<t.StringC>, t.UndefinedC]>;
|
|
||||||
folder: t.StringC;
|
|
||||||
type: t.UnionC<[t.LiteralC<"snapshot">, t.LiteralC<"compoundish">]>;
|
|
||||||
suffix: t.StringC;
|
|
||||||
claim: t.UnionC<[t.PartialC<{
|
|
||||||
isClaimed: t.BooleanC;
|
|
||||||
claimer: t.StringC;
|
|
||||||
signature: t.StringC;
|
|
||||||
}>, t.UndefinedC]>;
|
|
||||||
coinGeckoPriceString: t.StringC;
|
|
||||||
tokenContractAddress: t.StringC;
|
|
||||||
governanceContractAddress: t.UnionC<[t.StringC, t.UndefinedC]>;
|
|
||||||
isEnabled: t.BooleanC;
|
|
||||||
hasOnchain: t.BooleanC;
|
|
||||||
isHybrid: t.BooleanC;
|
|
||||||
hasDelegation: t.BooleanC;
|
|
||||||
snapshotSpaceName: t.UnionC<[t.StringC, t.UndefinedC]>;
|
|
||||||
invalidSnapshots: t.UnionC<[t.ArrayC<t.StringC>, t.UndefinedC]>;
|
|
||||||
branding: t.UnionC<[t.PartialC<{
|
|
||||||
primaryColor: t.StringC;
|
|
||||||
accentColor: t.StringC;
|
|
||||||
}>, t.UndefinedC]>;
|
|
||||||
discourseForum: t.UnionC<[t.PartialC<{
|
|
||||||
url: t.StringC;
|
|
||||||
categoryId: t.StringC;
|
|
||||||
}>, t.UndefinedC]>;
|
|
||||||
safeAddress: t.UnionC<[t.StringC, t.NullC]>;
|
|
||||||
}>;
|
|
||||||
export declare type Protocol = t.TypeOf<typeof ProtocolIo>;
|
|
65
types.js
65
types.js
|
@ -1,65 +0,0 @@
|
||||||
"use strict";
|
|
||||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
||||||
if (k2 === undefined) k2 = k;
|
|
||||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
||||||
}) : (function(o, m, k, k2) {
|
|
||||||
if (k2 === undefined) k2 = k;
|
|
||||||
o[k2] = m[k];
|
|
||||||
}));
|
|
||||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
||||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
||||||
}) : function(o, v) {
|
|
||||||
o["default"] = v;
|
|
||||||
});
|
|
||||||
var __importStar = (this && this.__importStar) || function (mod) {
|
|
||||||
if (mod && mod.__esModule) return mod;
|
|
||||||
var result = {};
|
|
||||||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
||||||
__setModuleDefault(result, mod);
|
|
||||||
return result;
|
|
||||||
};
|
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
|
||||||
exports.ProtocolIo = void 0;
|
|
||||||
var t = __importStar(require("io-ts"));
|
|
||||||
exports.ProtocolIo = t.type({
|
|
||||||
cname: t.string,
|
|
||||||
name: t.string,
|
|
||||||
description: t.string,
|
|
||||||
path: t.string,
|
|
||||||
previousPaths: t.union([t.array(t.string), t.undefined]),
|
|
||||||
folder: t.string,
|
|
||||||
type: t.union([t.literal("snapshot"), t.literal("compoundish")]),
|
|
||||||
suffix: t.string,
|
|
||||||
claim: t.union([
|
|
||||||
t.partial({
|
|
||||||
isClaimed: t.boolean,
|
|
||||||
claimer: t.string,
|
|
||||||
signature: t.string,
|
|
||||||
}),
|
|
||||||
t.undefined,
|
|
||||||
]),
|
|
||||||
coinGeckoPriceString: t.string,
|
|
||||||
tokenContractAddress: t.string,
|
|
||||||
governanceContractAddress: t.union([t.string, t.undefined]),
|
|
||||||
isEnabled: t.boolean,
|
|
||||||
hasOnchain: t.boolean,
|
|
||||||
isHybrid: t.boolean,
|
|
||||||
hasDelegation: t.boolean,
|
|
||||||
snapshotSpaceName: t.union([t.string, t.undefined]),
|
|
||||||
invalidSnapshots: t.union([t.array(t.string), t.undefined]),
|
|
||||||
branding: t.union([
|
|
||||||
t.partial({
|
|
||||||
primaryColor: t.string,
|
|
||||||
accentColor: t.string,
|
|
||||||
}),
|
|
||||||
t.undefined,
|
|
||||||
]),
|
|
||||||
discourseForum: t.union([
|
|
||||||
t.partial({
|
|
||||||
url: t.string,
|
|
||||||
categoryId: t.string,
|
|
||||||
}),
|
|
||||||
t.undefined,
|
|
||||||
]),
|
|
||||||
safeAddress: t.union([t.string, t.null]),
|
|
||||||
});
|
|
Loading…
Reference in New Issue
Block a user