@arkiv-network/sdk
Version:
TypeScript client library for Arkiv's blockchains interactions
75 lines (74 loc) • 1.47 kB
text/typescript
export type { AttributeSchema, Attributes } from "./attributes"
export { MAX_ENTITY_BYTES } from "./attributes"
export type { AnyColumn, Column, ValueArgument } from "./column"
export { isColumn } from "./column"
export { DECIMAL_SCALE, DECIMAL_UNIT } from "./decimal"
export {
ConflictingMutationError,
EntityTooLargeError,
InvalidAttributeNameError,
InvalidValueError,
MissingValueError,
SchemaDefinitionError,
SchemaMismatchError,
TooManyAttributesError,
UnknownAttributeTypeError,
UntypedValueError,
} from "./errors"
export { isValidAttributeName, MAX_NAME_BYTES, validateAttributeName } from "./names"
export type {
ColumnInput,
Columns,
ColumnsOf,
CreateEntityValues,
IndexedColumnName,
OptionalColumnName,
PatchEntityValues,
Schema,
} from "./schema"
export {
defineSchema,
describeColumns,
isSchema,
lookupColumn,
MAX_ATTRIBUTES,
SCHEMA_ATTRIBUTE,
} from "./schema"
export type {
AddrValue,
ArkivValue,
BoolValue,
BytesValue,
DecValue,
I32Value,
IndexableTypeTag,
IndexableValue,
KeyValue,
StrValue,
TypeTag,
U64Value,
U256Value,
ValueOf,
} from "./types"
export { INDEXED_FLAG, isArkivValue } from "./types"
export type { BareOf, TagOf, ValueInput } from "./values"
export {
addr,
bool,
bytes,
dec,
decFromUnits,
decUnits,
I32_MAX,
I32_MIN,
i32,
key,
MAX_BYTES_LENGTH,
MAX_STRING_BYTES,
str,
toValue,
U64_MAX,
U256_MAX,
u64,
u256,
} from "./values"