mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-06 07:26:43 -04:00
Removed // @ts-ignore directive from generated files and fixes associated errors (#3228)
# Description of Changes Previously all TypeScript generated code had a `// @ts-ignore` directive at the top to suppress unused variable errors that users may have run into with their generated code. This worked to suppress unused, but it was too broad and suppressed actual errors with our generated code. This PR removes that directive and fixes the latent errors. Most notably this fixes the issue in the quickstart where we were getting `serialize` is not a function. # API and ABI breaking changes None # Expected complexity level and risk 1 # Testing <!-- Describe any testing you've done, and any testing you'd like your reviewers to do, so that you're confident that all the changes work as expected! --> - [x] This PR increases the test surface only by now typechecking the typescript generated code within our repository
This commit is contained in:
@@ -3,31 +3,24 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { SumType } from './sum_type_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_SumType = SumType;
|
||||
import { ProductType } from './product_type_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_ProductType = ProductType;
|
||||
|
||||
import * as AlgebraicTypeVariants from './algebraic_type_variants';
|
||||
|
||||
|
||||
@@ -3,32 +3,27 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { AlgebraicType as AlgebraicTypeType } from './algebraic_type_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_AlgebraicTypeType = AlgebraicTypeType;
|
||||
import { SumType as SumTypeType } from './sum_type_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_SumTypeType = SumTypeType;
|
||||
import { ProductType as ProductTypeType } from './product_type_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_ProductTypeType = ProductTypeType;
|
||||
|
||||
export type Ref = { tag: 'Ref'; value: number };
|
||||
export type Sum = { tag: 'Sum'; value: SumTypeType };
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import * as IndexTypeVariants from './index_type_variants';
|
||||
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
|
||||
export type BTree = { tag: 'BTree' };
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import * as LifecycleVariants from './lifecycle_variants';
|
||||
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
|
||||
export type Init = { tag: 'Init' };
|
||||
|
||||
@@ -3,30 +3,21 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { TypeAlias } from './type_alias_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_TypeAlias = TypeAlias;
|
||||
|
||||
import * as MiscModuleExportVariants from './misc_module_export_variants';
|
||||
|
||||
|
||||
@@ -3,29 +3,20 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { TypeAlias as TypeAliasType } from './type_alias_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_TypeAliasType = TypeAliasType;
|
||||
|
||||
export type TypeAlias = { tag: 'TypeAlias'; value: TypeAliasType };
|
||||
|
||||
@@ -3,30 +3,21 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { AlgebraicType } from './algebraic_type_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_AlgebraicType = AlgebraicType;
|
||||
|
||||
export type ProductTypeElement = {
|
||||
name: string | undefined;
|
||||
|
||||
@@ -3,30 +3,21 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { ProductTypeElement } from './product_type_element_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_ProductTypeElement = ProductTypeElement;
|
||||
|
||||
export type ProductType = {
|
||||
elements: ProductTypeElement[];
|
||||
|
||||
@@ -3,30 +3,21 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { AlgebraicType } from './algebraic_type_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_AlgebraicType = AlgebraicType;
|
||||
|
||||
export type RawColumnDefV8 = {
|
||||
colName: string;
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
|
||||
export type RawColumnDefaultValueV9 = {
|
||||
|
||||
@@ -3,30 +3,21 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { RawUniqueConstraintDataV9 } from './raw_unique_constraint_data_v_9_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawUniqueConstraintDataV9 = RawUniqueConstraintDataV9;
|
||||
|
||||
import * as RawConstraintDataV9Variants from './raw_constraint_data_v_9_variants';
|
||||
|
||||
|
||||
@@ -3,29 +3,21 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { RawUniqueConstraintDataV9 as RawUniqueConstraintDataV9Type } from './raw_unique_constraint_data_v_9_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawUniqueConstraintDataV9Type =
|
||||
RawUniqueConstraintDataV9Type;
|
||||
|
||||
export type Unique = { tag: 'Unique'; value: RawUniqueConstraintDataV9Type };
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
|
||||
export type RawConstraintDefV8 = {
|
||||
|
||||
@@ -3,30 +3,21 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { RawConstraintDataV9 } from './raw_constraint_data_v_9_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawConstraintDataV9 = RawConstraintDataV9;
|
||||
|
||||
export type RawConstraintDefV9 = {
|
||||
name: string | undefined;
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import * as RawIndexAlgorithmVariants from './raw_index_algorithm_variants';
|
||||
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
|
||||
export type BTree = { tag: 'BTree'; value: number[] };
|
||||
|
||||
@@ -3,30 +3,21 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { IndexType } from './index_type_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_IndexType = IndexType;
|
||||
|
||||
export type RawIndexDefV8 = {
|
||||
indexName: string;
|
||||
|
||||
@@ -3,30 +3,21 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { RawIndexAlgorithm } from './raw_index_algorithm_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawIndexAlgorithm = RawIndexAlgorithm;
|
||||
|
||||
export type RawIndexDefV9 = {
|
||||
name: string | undefined;
|
||||
|
||||
@@ -3,30 +3,21 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { RawColumnDefaultValueV9 } from './raw_column_default_value_v_9_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawColumnDefaultValueV9 = RawColumnDefaultValueV9;
|
||||
|
||||
import * as RawMiscModuleExportV9Variants from './raw_misc_module_export_v_9_variants';
|
||||
|
||||
|
||||
@@ -3,30 +3,21 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { RawColumnDefaultValueV9 as RawColumnDefaultValueV9Type } from './raw_column_default_value_v_9_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawColumnDefaultValueV9Type = RawColumnDefaultValueV9Type;
|
||||
|
||||
export type ColumnDefaultValue = {
|
||||
tag: 'ColumnDefaultValue';
|
||||
|
||||
@@ -3,31 +3,24 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { RawModuleDefV8 } from './raw_module_def_v_8_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawModuleDefV8 = RawModuleDefV8;
|
||||
import { RawModuleDefV9 } from './raw_module_def_v_9_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawModuleDefV9 = RawModuleDefV9;
|
||||
|
||||
import * as RawModuleDefVariants from './raw_module_def_variants';
|
||||
|
||||
|
||||
@@ -3,33 +3,30 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { Typespace } from './typespace_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_Typespace = Typespace;
|
||||
import { TableDesc } from './table_desc_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_TableDesc = TableDesc;
|
||||
import { ReducerDef } from './reducer_def_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_ReducerDef = ReducerDef;
|
||||
import { MiscModuleExport } from './misc_module_export_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_MiscModuleExport = MiscModuleExport;
|
||||
|
||||
export type RawModuleDefV8 = {
|
||||
typespace: Typespace;
|
||||
|
||||
@@ -3,35 +3,36 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { Typespace } from './typespace_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_Typespace = Typespace;
|
||||
import { RawTableDefV9 } from './raw_table_def_v_9_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawTableDefV9 = RawTableDefV9;
|
||||
import { RawReducerDefV9 } from './raw_reducer_def_v_9_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawReducerDefV9 = RawReducerDefV9;
|
||||
import { RawTypeDefV9 } from './raw_type_def_v_9_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawTypeDefV9 = RawTypeDefV9;
|
||||
import { RawMiscModuleExportV9 } from './raw_misc_module_export_v_9_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawMiscModuleExportV9 = RawMiscModuleExportV9;
|
||||
import { RawRowLevelSecurityDefV9 } from './raw_row_level_security_def_v_9_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawRowLevelSecurityDefV9 = RawRowLevelSecurityDefV9;
|
||||
|
||||
export type RawModuleDefV9 = {
|
||||
typespace: Typespace;
|
||||
|
||||
@@ -3,31 +3,24 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { RawModuleDefV8 as RawModuleDefV8Type } from './raw_module_def_v_8_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawModuleDefV8Type = RawModuleDefV8Type;
|
||||
import { RawModuleDefV9 as RawModuleDefV9Type } from './raw_module_def_v_9_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawModuleDefV9Type = RawModuleDefV9Type;
|
||||
|
||||
export type V8BackCompat = { tag: 'V8BackCompat'; value: RawModuleDefV8Type };
|
||||
export type V9 = { tag: 'V9'; value: RawModuleDefV9Type };
|
||||
|
||||
@@ -3,31 +3,24 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { ProductType } from './product_type_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_ProductType = ProductType;
|
||||
import { Lifecycle } from './lifecycle_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_Lifecycle = Lifecycle;
|
||||
|
||||
export type RawReducerDefV9 = {
|
||||
name: string;
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
|
||||
export type RawRowLevelSecurityDefV9 = {
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
|
||||
export type RawScheduleDefV9 = {
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
|
||||
export type RawScopedTypeNameV9 = {
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
|
||||
export type RawSequenceDefV8 = {
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
|
||||
export type RawSequenceDefV9 = {
|
||||
|
||||
@@ -3,33 +3,30 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { RawColumnDefV8 } from './raw_column_def_v_8_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawColumnDefV8 = RawColumnDefV8;
|
||||
import { RawIndexDefV8 } from './raw_index_def_v_8_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawIndexDefV8 = RawIndexDefV8;
|
||||
import { RawConstraintDefV8 } from './raw_constraint_def_v_8_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawConstraintDefV8 = RawConstraintDefV8;
|
||||
import { RawSequenceDefV8 } from './raw_sequence_def_v_8_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawSequenceDefV8 = RawSequenceDefV8;
|
||||
|
||||
export type RawTableDefV8 = {
|
||||
tableName: string;
|
||||
|
||||
@@ -3,35 +3,36 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { RawIndexDefV9 } from './raw_index_def_v_9_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawIndexDefV9 = RawIndexDefV9;
|
||||
import { RawConstraintDefV9 } from './raw_constraint_def_v_9_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawConstraintDefV9 = RawConstraintDefV9;
|
||||
import { RawSequenceDefV9 } from './raw_sequence_def_v_9_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawSequenceDefV9 = RawSequenceDefV9;
|
||||
import { RawScheduleDefV9 } from './raw_schedule_def_v_9_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawScheduleDefV9 = RawScheduleDefV9;
|
||||
import { TableType } from './table_type_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_TableType = TableType;
|
||||
import { TableAccess } from './table_access_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_TableAccess = TableAccess;
|
||||
|
||||
export type RawTableDefV9 = {
|
||||
name: string;
|
||||
|
||||
@@ -3,30 +3,21 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { RawScopedTypeNameV9 } from './raw_scoped_type_name_v_9_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawScopedTypeNameV9 = RawScopedTypeNameV9;
|
||||
|
||||
export type RawTypeDefV9 = {
|
||||
name: RawScopedTypeNameV9;
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
|
||||
export type RawUniqueConstraintDataV9 = {
|
||||
|
||||
@@ -3,30 +3,21 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { ProductTypeElement } from './product_type_element_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_ProductTypeElement = ProductTypeElement;
|
||||
|
||||
export type ReducerDef = {
|
||||
name: string;
|
||||
|
||||
@@ -3,30 +3,21 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { SumTypeVariant } from './sum_type_variant_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_SumTypeVariant = SumTypeVariant;
|
||||
|
||||
export type SumType = {
|
||||
variants: SumTypeVariant[];
|
||||
|
||||
@@ -3,30 +3,21 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { AlgebraicType } from './algebraic_type_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_AlgebraicType = AlgebraicType;
|
||||
|
||||
export type SumTypeVariant = {
|
||||
name: string | undefined;
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import * as TableAccessVariants from './table_access_variants';
|
||||
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
|
||||
export type Public = { tag: 'Public' };
|
||||
|
||||
@@ -3,30 +3,21 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { RawTableDefV8 } from './raw_table_def_v_8_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RawTableDefV8 = RawTableDefV8;
|
||||
|
||||
export type TableDesc = {
|
||||
schema: RawTableDefV8;
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import * as TableTypeVariants from './table_type_variants';
|
||||
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
|
||||
export type System = { tag: 'System' };
|
||||
|
||||
@@ -3,28 +3,17 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
|
||||
export type TypeAlias = {
|
||||
|
||||
@@ -3,30 +3,21 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
Identity as __Identity,
|
||||
SubscriptionBuilderImpl as __SubscriptionBuilderImpl,
|
||||
TableCache as __TableCache,
|
||||
TimeDuration as __TimeDuration,
|
||||
Timestamp as __Timestamp,
|
||||
deepEqual as __deepEqual,
|
||||
type AlgebraicType as __AlgebraicTypeType,
|
||||
type AlgebraicTypeVariants as __AlgebraicTypeVariants,
|
||||
type CallReducerFlags as __CallReducerFlags,
|
||||
type ErrorContextInterface as __ErrorContextInterface,
|
||||
type Event as __Event,
|
||||
type EventContextInterface as __EventContextInterface,
|
||||
type ReducerEventContextInterface as __ReducerEventContextInterface,
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { AlgebraicType } from './algebraic_type_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_AlgebraicType = AlgebraicType;
|
||||
|
||||
export type Typespace = {
|
||||
types: AlgebraicType[];
|
||||
|
||||
@@ -40,6 +40,27 @@ fn main() -> anyhow::Result<()> {
|
||||
return Ok(());
|
||||
}
|
||||
let code = regex_replace!(&code, r"@clockworklabs/spacetimedb-sdk", "../index");
|
||||
|
||||
// Elide types which are related to client-side only things
|
||||
let code = regex_replace!(&code, r"type CallReducerFlags as __CallReducerFlags,", r"");
|
||||
let code = regex_replace!(&code, r"type ErrorContextInterface as __ErrorContextInterface,", r"");
|
||||
let code = regex_replace!(&code, r"type Event as __Event,", r"");
|
||||
let code = regex_replace!(&code, r"type EventContextInterface as __EventContextInterface,", r"");
|
||||
let code = regex_replace!(
|
||||
&code,
|
||||
r"type ReducerEventContextInterface as __ReducerEventContextInterface,",
|
||||
r""
|
||||
);
|
||||
let code = regex_replace!(
|
||||
&code,
|
||||
r"type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,",
|
||||
r""
|
||||
);
|
||||
let code = regex_replace!(&code, r"DbConnectionBuilder as __DbConnectionBuilder,", r"");
|
||||
let code = regex_replace!(&code, r"DbConnectionImpl as __DbConnectionImpl,", r"");
|
||||
let code = regex_replace!(&code, r"SubscriptionBuilderImpl as __SubscriptionBuilderImpl,", r"");
|
||||
let code = regex_replace!(&code, r"TableCache as __TableCache,", r"");
|
||||
let code = regex_replace!(&code, r"ClientCache as __ClientCache,", r"");
|
||||
fs::write(dir.join(filename), code.as_bytes())
|
||||
})?;
|
||||
|
||||
|
||||
@@ -142,6 +142,12 @@ impl Lang for TypeScript {
|
||||
"import {{ type EventContext, type Reducer, RemoteReducers, RemoteTables }} from \".\";"
|
||||
);
|
||||
|
||||
// Mark potentially unused types
|
||||
writeln!(
|
||||
out,
|
||||
"declare type __keep = [EventContext, Reducer, RemoteReducers, RemoteTables];"
|
||||
);
|
||||
|
||||
let table_name = table.name.deref();
|
||||
let table_name_pascalcase = table.name.deref().to_case(Case::Pascal);
|
||||
let table_handle = table_name_pascalcase.clone() + "TableHandle";
|
||||
@@ -532,7 +538,7 @@ fn print_remote_reducers(module: &ModuleDef, out: &mut Indenter) {
|
||||
writeln!(out, "let __writer = new __BinaryWriter(1024);");
|
||||
writeln!(
|
||||
out,
|
||||
"{reducer_variant}.getTypeScriptAlgebraicType().serialize(__writer, __args);"
|
||||
"{reducer_variant}.serialize(__writer, __args);"
|
||||
);
|
||||
writeln!(out, "let __argsBuffer = __writer.getBuffer();");
|
||||
writeln!(out, "this.connection.callReducer(\"{reducer_name}\", __argsBuffer, this.setCallReducerFlags.{reducer_function_name}Flags);");
|
||||
@@ -606,9 +612,10 @@ fn print_remote_tables(module: &ModuleDef, out: &mut Indenter) {
|
||||
let row_type = type_ref_name(module, type_ref);
|
||||
writeln!(out, "get {table_name_camelcase}(): {table_handle} {{");
|
||||
out.with_indent(|out| {
|
||||
writeln!(out, "// clientCache is a private property");
|
||||
writeln!(
|
||||
out,
|
||||
"return new {table_handle}(this.connection.clientCache.getOrCreateTable<{row_type}>(REMOTE_MODULE.tables.{table_name}));"
|
||||
"return new {table_handle}((this.connection as unknown as {{ clientCache: __ClientCache }}).clientCache.getOrCreateTable<{row_type}>(REMOTE_MODULE.tables.{table_name}));"
|
||||
);
|
||||
});
|
||||
writeln!(out, "}}");
|
||||
@@ -673,6 +680,7 @@ fn print_spacetimedb_imports(out: &mut Indenter) {
|
||||
"AlgebraicType as __AlgebraicTypeValue",
|
||||
"type AlgebraicTypeVariants as __AlgebraicTypeVariants",
|
||||
"Identity as __Identity",
|
||||
"ClientCache as __ClientCache",
|
||||
"ConnectionId as __ConnectionId",
|
||||
"Timestamp as __Timestamp",
|
||||
"TimeDuration as __TimeDuration",
|
||||
@@ -712,7 +720,6 @@ fn print_file_header(output: &mut Indenter, include_version: bool) {
|
||||
fn print_lint_suppression(output: &mut Indenter) {
|
||||
writeln!(output, "/* eslint-disable */");
|
||||
writeln!(output, "/* tslint:disable */");
|
||||
writeln!(output, "// @ts-nocheck");
|
||||
}
|
||||
|
||||
fn write_get_algebraic_type_for_product(
|
||||
@@ -1202,8 +1209,12 @@ fn print_imports(module: &ModuleDef, out: &mut Indenter, imports: Imports, suffi
|
||||
out,
|
||||
"import {{ {type_name} as {type_name}{suffix} }} from \"./{module_name}\";"
|
||||
);
|
||||
writeln!(out, "// Mark import as potentially unused");
|
||||
writeln!(out, "declare type __keep_{type_name}{suffix} = {type_name}{suffix};");
|
||||
} else {
|
||||
writeln!(out, "import {{ {type_name} }} from \"./{module_name}\";");
|
||||
writeln!(out, "// Mark import as potentially unused");
|
||||
writeln!(out, "declare type __keep_{type_name} = {type_name};");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,11 +8,11 @@ expression: outfiles
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -70,11 +70,11 @@ export default AddPlayer;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -132,11 +132,11 @@ export default AddPrivate;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -196,11 +196,11 @@ export default Add;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -255,11 +255,11 @@ export default AssertCallerIdentityIsModuleIdentity;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -318,11 +318,11 @@ export default Baz;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -377,11 +377,11 @@ export default ClientConnected;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -439,11 +439,11 @@ export default DeletePlayer;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -501,11 +501,11 @@ export default DeletePlayersByName;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -525,6 +525,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
import { Baz } from "./baz_type";
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_Baz = Baz;
|
||||
|
||||
import * as FoobarVariants from './foobar_variants'
|
||||
|
||||
@@ -575,11 +577,11 @@ export default Foobar;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -599,6 +601,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
import { Baz as BazType } from "./baz_type";
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_BazType = BazType;
|
||||
|
||||
|
||||
export type Baz = { tag: "Baz", value: BazType };
|
||||
@@ -612,11 +616,11 @@ export type Har = { tag: "Har", value: number };
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -637,6 +641,7 @@ import {
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
import { HasSpecialStuff } from "./has_special_stuff_type";
|
||||
import { type EventContext, type Reducer, RemoteReducers, RemoteTables } from ".";
|
||||
declare type __keep = [EventContext, Reducer, RemoteReducers, RemoteTables];
|
||||
|
||||
/**
|
||||
* Table handle for the table `has_special_stuff`.
|
||||
@@ -686,11 +691,11 @@ export class HasSpecialStuffTableHandle {
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -753,11 +758,11 @@ VERSION_COMMENT
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -1057,7 +1062,7 @@ export class RemoteReducers {
|
||||
add(name: string, age: number) {
|
||||
const __args = { name, age };
|
||||
let __writer = new __BinaryWriter(1024);
|
||||
Add.getTypeScriptAlgebraicType().serialize(__writer, __args);
|
||||
Add.serialize(__writer, __args);
|
||||
let __argsBuffer = __writer.getBuffer();
|
||||
this.connection.callReducer("add", __argsBuffer, this.setCallReducerFlags.addFlags);
|
||||
}
|
||||
@@ -1073,7 +1078,7 @@ export class RemoteReducers {
|
||||
addPlayer(name: string) {
|
||||
const __args = { name };
|
||||
let __writer = new __BinaryWriter(1024);
|
||||
AddPlayer.getTypeScriptAlgebraicType().serialize(__writer, __args);
|
||||
AddPlayer.serialize(__writer, __args);
|
||||
let __argsBuffer = __writer.getBuffer();
|
||||
this.connection.callReducer("add_player", __argsBuffer, this.setCallReducerFlags.addPlayerFlags);
|
||||
}
|
||||
@@ -1089,7 +1094,7 @@ export class RemoteReducers {
|
||||
addPrivate(name: string) {
|
||||
const __args = { name };
|
||||
let __writer = new __BinaryWriter(1024);
|
||||
AddPrivate.getTypeScriptAlgebraicType().serialize(__writer, __args);
|
||||
AddPrivate.serialize(__writer, __args);
|
||||
let __argsBuffer = __writer.getBuffer();
|
||||
this.connection.callReducer("add_private", __argsBuffer, this.setCallReducerFlags.addPrivateFlags);
|
||||
}
|
||||
@@ -1125,7 +1130,7 @@ export class RemoteReducers {
|
||||
deletePlayer(id: bigint) {
|
||||
const __args = { id };
|
||||
let __writer = new __BinaryWriter(1024);
|
||||
DeletePlayer.getTypeScriptAlgebraicType().serialize(__writer, __args);
|
||||
DeletePlayer.serialize(__writer, __args);
|
||||
let __argsBuffer = __writer.getBuffer();
|
||||
this.connection.callReducer("delete_player", __argsBuffer, this.setCallReducerFlags.deletePlayerFlags);
|
||||
}
|
||||
@@ -1141,7 +1146,7 @@ export class RemoteReducers {
|
||||
deletePlayersByName(name: string) {
|
||||
const __args = { name };
|
||||
let __writer = new __BinaryWriter(1024);
|
||||
DeletePlayersByName.getTypeScriptAlgebraicType().serialize(__writer, __args);
|
||||
DeletePlayersByName.serialize(__writer, __args);
|
||||
let __argsBuffer = __writer.getBuffer();
|
||||
this.connection.callReducer("delete_players_by_name", __argsBuffer, this.setCallReducerFlags.deletePlayersByNameFlags);
|
||||
}
|
||||
@@ -1157,7 +1162,7 @@ export class RemoteReducers {
|
||||
listOverAge(age: number) {
|
||||
const __args = { age };
|
||||
let __writer = new __BinaryWriter(1024);
|
||||
ListOverAge.getTypeScriptAlgebraicType().serialize(__writer, __args);
|
||||
ListOverAge.serialize(__writer, __args);
|
||||
let __argsBuffer = __writer.getBuffer();
|
||||
this.connection.callReducer("list_over_age", __argsBuffer, this.setCallReducerFlags.listOverAgeFlags);
|
||||
}
|
||||
@@ -1197,7 +1202,7 @@ export class RemoteReducers {
|
||||
repeatingTest(arg: RepeatingTestArg) {
|
||||
const __args = { arg };
|
||||
let __writer = new __BinaryWriter(1024);
|
||||
RepeatingTest.getTypeScriptAlgebraicType().serialize(__writer, __args);
|
||||
RepeatingTest.serialize(__writer, __args);
|
||||
let __argsBuffer = __writer.getBuffer();
|
||||
this.connection.callReducer("repeating_test", __argsBuffer, this.setCallReducerFlags.repeatingTestFlags);
|
||||
}
|
||||
@@ -1225,7 +1230,7 @@ export class RemoteReducers {
|
||||
test(arg: TestA, arg2: TestB, arg3: NamespaceTestC, arg4: NamespaceTestF) {
|
||||
const __args = { arg, arg2, arg3, arg4 };
|
||||
let __writer = new __BinaryWriter(1024);
|
||||
Test.getTypeScriptAlgebraicType().serialize(__writer, __args);
|
||||
Test.serialize(__writer, __args);
|
||||
let __argsBuffer = __writer.getBuffer();
|
||||
this.connection.callReducer("test", __argsBuffer, this.setCallReducerFlags.testFlags);
|
||||
}
|
||||
@@ -1324,51 +1329,63 @@ export class RemoteTables {
|
||||
constructor(private connection: __DbConnectionImpl) {}
|
||||
|
||||
get hasSpecialStuff(): HasSpecialStuffTableHandle {
|
||||
return new HasSpecialStuffTableHandle(this.connection.clientCache.getOrCreateTable<HasSpecialStuff>(REMOTE_MODULE.tables.has_special_stuff));
|
||||
// clientCache is a private property
|
||||
return new HasSpecialStuffTableHandle((this.connection as unknown as { clientCache: __ClientCache }).clientCache.getOrCreateTable<HasSpecialStuff>(REMOTE_MODULE.tables.has_special_stuff));
|
||||
}
|
||||
|
||||
get loggedOutPlayer(): LoggedOutPlayerTableHandle {
|
||||
return new LoggedOutPlayerTableHandle(this.connection.clientCache.getOrCreateTable<Player>(REMOTE_MODULE.tables.logged_out_player));
|
||||
// clientCache is a private property
|
||||
return new LoggedOutPlayerTableHandle((this.connection as unknown as { clientCache: __ClientCache }).clientCache.getOrCreateTable<Player>(REMOTE_MODULE.tables.logged_out_player));
|
||||
}
|
||||
|
||||
get person(): PersonTableHandle {
|
||||
return new PersonTableHandle(this.connection.clientCache.getOrCreateTable<Person>(REMOTE_MODULE.tables.person));
|
||||
// clientCache is a private property
|
||||
return new PersonTableHandle((this.connection as unknown as { clientCache: __ClientCache }).clientCache.getOrCreateTable<Person>(REMOTE_MODULE.tables.person));
|
||||
}
|
||||
|
||||
get pkMultiIdentity(): PkMultiIdentityTableHandle {
|
||||
return new PkMultiIdentityTableHandle(this.connection.clientCache.getOrCreateTable<PkMultiIdentity>(REMOTE_MODULE.tables.pk_multi_identity));
|
||||
// clientCache is a private property
|
||||
return new PkMultiIdentityTableHandle((this.connection as unknown as { clientCache: __ClientCache }).clientCache.getOrCreateTable<PkMultiIdentity>(REMOTE_MODULE.tables.pk_multi_identity));
|
||||
}
|
||||
|
||||
get player(): PlayerTableHandle {
|
||||
return new PlayerTableHandle(this.connection.clientCache.getOrCreateTable<Player>(REMOTE_MODULE.tables.player));
|
||||
// clientCache is a private property
|
||||
return new PlayerTableHandle((this.connection as unknown as { clientCache: __ClientCache }).clientCache.getOrCreateTable<Player>(REMOTE_MODULE.tables.player));
|
||||
}
|
||||
|
||||
get points(): PointsTableHandle {
|
||||
return new PointsTableHandle(this.connection.clientCache.getOrCreateTable<Point>(REMOTE_MODULE.tables.points));
|
||||
// clientCache is a private property
|
||||
return new PointsTableHandle((this.connection as unknown as { clientCache: __ClientCache }).clientCache.getOrCreateTable<Point>(REMOTE_MODULE.tables.points));
|
||||
}
|
||||
|
||||
get privateTable(): PrivateTableTableHandle {
|
||||
return new PrivateTableTableHandle(this.connection.clientCache.getOrCreateTable<PrivateTable>(REMOTE_MODULE.tables.private_table));
|
||||
// clientCache is a private property
|
||||
return new PrivateTableTableHandle((this.connection as unknown as { clientCache: __ClientCache }).clientCache.getOrCreateTable<PrivateTable>(REMOTE_MODULE.tables.private_table));
|
||||
}
|
||||
|
||||
get repeatingTestArg(): RepeatingTestArgTableHandle {
|
||||
return new RepeatingTestArgTableHandle(this.connection.clientCache.getOrCreateTable<RepeatingTestArg>(REMOTE_MODULE.tables.repeating_test_arg));
|
||||
// clientCache is a private property
|
||||
return new RepeatingTestArgTableHandle((this.connection as unknown as { clientCache: __ClientCache }).clientCache.getOrCreateTable<RepeatingTestArg>(REMOTE_MODULE.tables.repeating_test_arg));
|
||||
}
|
||||
|
||||
get testA(): TestATableHandle {
|
||||
return new TestATableHandle(this.connection.clientCache.getOrCreateTable<TestA>(REMOTE_MODULE.tables.test_a));
|
||||
// clientCache is a private property
|
||||
return new TestATableHandle((this.connection as unknown as { clientCache: __ClientCache }).clientCache.getOrCreateTable<TestA>(REMOTE_MODULE.tables.test_a));
|
||||
}
|
||||
|
||||
get testD(): TestDTableHandle {
|
||||
return new TestDTableHandle(this.connection.clientCache.getOrCreateTable<TestD>(REMOTE_MODULE.tables.test_d));
|
||||
// clientCache is a private property
|
||||
return new TestDTableHandle((this.connection as unknown as { clientCache: __ClientCache }).clientCache.getOrCreateTable<TestD>(REMOTE_MODULE.tables.test_d));
|
||||
}
|
||||
|
||||
get testE(): TestETableHandle {
|
||||
return new TestETableHandle(this.connection.clientCache.getOrCreateTable<TestE>(REMOTE_MODULE.tables.test_e));
|
||||
// clientCache is a private property
|
||||
return new TestETableHandle((this.connection as unknown as { clientCache: __ClientCache }).clientCache.getOrCreateTable<TestE>(REMOTE_MODULE.tables.test_e));
|
||||
}
|
||||
|
||||
get testF(): TestFTableHandle {
|
||||
return new TestFTableHandle(this.connection.clientCache.getOrCreateTable<TestFoobar>(REMOTE_MODULE.tables.test_f));
|
||||
// clientCache is a private property
|
||||
return new TestFTableHandle((this.connection as unknown as { clientCache: __ClientCache }).clientCache.getOrCreateTable<TestFoobar>(REMOTE_MODULE.tables.test_f));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1394,11 +1411,11 @@ export type ErrorContext = __ErrorContextInterface<RemoteTables, RemoteReducers,
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -1456,11 +1473,11 @@ export default ListOverAge;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -1515,11 +1532,11 @@ export default LogModuleIdentity;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -1540,6 +1557,7 @@ import {
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
import { Player } from "./player_type";
|
||||
import { type EventContext, type Reducer, RemoteReducers, RemoteTables } from ".";
|
||||
declare type __keep = [EventContext, Reducer, RemoteReducers, RemoteTables];
|
||||
|
||||
/**
|
||||
* Table handle for the table `logged_out_player`.
|
||||
@@ -1663,11 +1681,11 @@ export class LoggedOutPlayerTableHandle {
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -1732,11 +1750,11 @@ export default NamespaceTestC;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -1766,11 +1784,11 @@ export type Bar = { tag: "Bar" };
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -1838,11 +1856,11 @@ export default NamespaceTestF;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -1873,11 +1891,11 @@ export type Baz = { tag: "Baz", value: string };
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -1898,6 +1916,7 @@ import {
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
import { Person } from "./person_type";
|
||||
import { type EventContext, type Reducer, RemoteReducers, RemoteTables } from ".";
|
||||
declare type __keep = [EventContext, Reducer, RemoteReducers, RemoteTables];
|
||||
|
||||
/**
|
||||
* Table handle for the table `person`.
|
||||
@@ -1977,11 +1996,11 @@ export class PersonTableHandle {
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -2044,11 +2063,11 @@ export default Person;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -2069,6 +2088,7 @@ import {
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
import { PkMultiIdentity } from "./pk_multi_identity_type";
|
||||
import { type EventContext, type Reducer, RemoteReducers, RemoteTables } from ".";
|
||||
declare type __keep = [EventContext, Reducer, RemoteReducers, RemoteTables];
|
||||
|
||||
/**
|
||||
* Table handle for the table `pk_multi_identity`.
|
||||
@@ -2170,11 +2190,11 @@ export class PkMultiIdentityTableHandle {
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -2235,11 +2255,11 @@ export default PkMultiIdentity;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -2260,6 +2280,7 @@ import {
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
import { Player } from "./player_type";
|
||||
import { type EventContext, type Reducer, RemoteReducers, RemoteTables } from ".";
|
||||
declare type __keep = [EventContext, Reducer, RemoteReducers, RemoteTables];
|
||||
|
||||
/**
|
||||
* Table handle for the table `player`.
|
||||
@@ -2383,11 +2404,11 @@ export class PlayerTableHandle {
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -2450,11 +2471,11 @@ export default Player;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -2515,11 +2536,11 @@ export default Point;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -2540,6 +2561,7 @@ import {
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
import { Point } from "./point_type";
|
||||
import { type EventContext, type Reducer, RemoteReducers, RemoteTables } from ".";
|
||||
declare type __keep = [EventContext, Reducer, RemoteReducers, RemoteTables];
|
||||
|
||||
/**
|
||||
* Table handle for the table `points`.
|
||||
@@ -2589,11 +2611,11 @@ export class PointsTableHandle {
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -2614,6 +2636,7 @@ import {
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
import { PrivateTable } from "./private_table_type";
|
||||
import { type EventContext, type Reducer, RemoteReducers, RemoteTables } from ".";
|
||||
declare type __keep = [EventContext, Reducer, RemoteReducers, RemoteTables];
|
||||
|
||||
/**
|
||||
* Table handle for the table `private_table`.
|
||||
@@ -2663,11 +2686,11 @@ export class PrivateTableTableHandle {
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -2726,11 +2749,11 @@ export default PrivateTable;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -2785,11 +2808,11 @@ export default QueryPrivate;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -2810,6 +2833,7 @@ import {
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
import { RepeatingTestArg } from "./repeating_test_arg_type";
|
||||
import { type EventContext, type Reducer, RemoteReducers, RemoteTables } from ".";
|
||||
declare type __keep = [EventContext, Reducer, RemoteReducers, RemoteTables];
|
||||
|
||||
/**
|
||||
* Table handle for the table `repeating_test_arg`.
|
||||
@@ -2889,11 +2913,11 @@ export class RepeatingTestArgTableHandle {
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -2956,11 +2980,11 @@ export default RepeatingTestArg;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -2981,6 +3005,8 @@ import {
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
|
||||
import { RepeatingTestArg } from "./repeating_test_arg_type";
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RepeatingTestArg = RepeatingTestArg;
|
||||
|
||||
export type RepeatingTest = {
|
||||
arg: RepeatingTestArg,
|
||||
@@ -3020,11 +3046,11 @@ export default RepeatingTest;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -3079,11 +3105,11 @@ export default SayHello;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -3104,6 +3130,7 @@ import {
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
import { TestA } from "./test_a_type";
|
||||
import { type EventContext, type Reducer, RemoteReducers, RemoteTables } from ".";
|
||||
declare type __keep = [EventContext, Reducer, RemoteReducers, RemoteTables];
|
||||
|
||||
/**
|
||||
* Table handle for the table `test_a`.
|
||||
@@ -3153,11 +3180,11 @@ export class TestATableHandle {
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -3220,11 +3247,11 @@ export default TestA;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -3283,11 +3310,11 @@ export default TestB;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -3342,11 +3369,11 @@ export default TestBtreeIndexArgs;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -3367,8 +3394,11 @@ import {
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
import { TestD } from "./test_d_type";
|
||||
import { NamespaceTestC } from "./namespace_test_c_type";
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_NamespaceTestC = NamespaceTestC;
|
||||
|
||||
import { type EventContext, type Reducer, RemoteReducers, RemoteTables } from ".";
|
||||
declare type __keep = [EventContext, Reducer, RemoteReducers, RemoteTables];
|
||||
|
||||
/**
|
||||
* Table handle for the table `test_d`.
|
||||
@@ -3418,11 +3448,11 @@ export class TestDTableHandle {
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -3442,6 +3472,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
import { NamespaceTestC } from "./namespace_test_c_type";
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_NamespaceTestC = NamespaceTestC;
|
||||
|
||||
|
||||
export type TestD = {
|
||||
@@ -3483,11 +3515,11 @@ export default TestD;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -3508,6 +3540,7 @@ import {
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
import { TestE } from "./test_e_type";
|
||||
import { type EventContext, type Reducer, RemoteReducers, RemoteTables } from ".";
|
||||
declare type __keep = [EventContext, Reducer, RemoteReducers, RemoteTables];
|
||||
|
||||
/**
|
||||
* Table handle for the table `test_e`.
|
||||
@@ -3587,11 +3620,11 @@ export class TestETableHandle {
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -3652,11 +3685,11 @@ export default TestE;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -3677,8 +3710,11 @@ import {
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
import { TestFoobar } from "./test_foobar_type";
|
||||
import { Foobar } from "./foobar_type";
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_Foobar = Foobar;
|
||||
|
||||
import { type EventContext, type Reducer, RemoteReducers, RemoteTables } from ".";
|
||||
declare type __keep = [EventContext, Reducer, RemoteReducers, RemoteTables];
|
||||
|
||||
/**
|
||||
* Table handle for the table `test_f`.
|
||||
@@ -3728,11 +3764,11 @@ export class TestFTableHandle {
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -3752,6 +3788,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
import { Foobar } from "./foobar_type";
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_Foobar = Foobar;
|
||||
|
||||
|
||||
export type TestFoobar = {
|
||||
@@ -3793,11 +3831,11 @@ export default TestFoobar;
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -3818,9 +3856,17 @@ import {
|
||||
} from "@clockworklabs/spacetimedb-sdk";
|
||||
|
||||
import { TestA } from "./test_a_type";
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_TestA = TestA;
|
||||
import { TestB } from "./test_b_type";
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_TestB = TestB;
|
||||
import { NamespaceTestC } from "./namespace_test_c_type";
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_NamespaceTestC = NamespaceTestC;
|
||||
import { NamespaceTestF } from "./namespace_test_f_type";
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_NamespaceTestF = NamespaceTestF;
|
||||
|
||||
export type Test = {
|
||||
arg: TestA,
|
||||
|
||||
Generated
+1
-1
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
|
||||
Generated
+1
-1
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
|
||||
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
|
||||
|
||||
// This was generated using spacetimedb cli version 1.4.0 (commit 5901fb5063808c4dbf2030beb935441a19f37102).
|
||||
// This was generated using spacetimedb cli version 1.4.0 (commit 9e4684ee0f7b78689c60efbdcb7a9e23e34eea15).
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -153,7 +153,7 @@ export class RemoteReducers {
|
||||
sendMessage(text: string) {
|
||||
const __args = { text };
|
||||
let __writer = new __BinaryWriter(1024);
|
||||
SendMessage.getTypeScriptAlgebraicType().serialize(__writer, __args);
|
||||
SendMessage.serialize(__writer, __args);
|
||||
let __argsBuffer = __writer.getBuffer();
|
||||
this.connection.callReducer(
|
||||
'send_message',
|
||||
@@ -175,7 +175,7 @@ export class RemoteReducers {
|
||||
setName(name: string) {
|
||||
const __args = { name };
|
||||
let __writer = new __BinaryWriter(1024);
|
||||
SetName.getTypeScriptAlgebraicType().serialize(__writer, __args);
|
||||
SetName.serialize(__writer, __args);
|
||||
let __argsBuffer = __writer.getBuffer();
|
||||
this.connection.callReducer(
|
||||
'set_name',
|
||||
@@ -209,18 +209,20 @@ export class RemoteTables {
|
||||
constructor(private connection: __DbConnectionImpl) {}
|
||||
|
||||
get message(): MessageTableHandle {
|
||||
// clientCache is a private property
|
||||
return new MessageTableHandle(
|
||||
this.connection.clientCache.getOrCreateTable<Message>(
|
||||
REMOTE_MODULE.tables.message
|
||||
)
|
||||
(
|
||||
this.connection as unknown as { clientCache: __ClientCache }
|
||||
).clientCache.getOrCreateTable<Message>(REMOTE_MODULE.tables.message)
|
||||
);
|
||||
}
|
||||
|
||||
get user(): UserTableHandle {
|
||||
// clientCache is a private property
|
||||
return new UserTableHandle(
|
||||
this.connection.clientCache.getOrCreateTable<User>(
|
||||
REMOTE_MODULE.tables.user
|
||||
)
|
||||
(
|
||||
this.connection as unknown as { clientCache: __ClientCache }
|
||||
).clientCache.getOrCreateTable<User>(REMOTE_MODULE.tables.user)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
+2
-1
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -33,6 +33,7 @@ import {
|
||||
RemoteReducers,
|
||||
RemoteTables,
|
||||
} from '.';
|
||||
declare type __keep = [EventContext, Reducer, RemoteReducers, RemoteTables];
|
||||
|
||||
/**
|
||||
* Table handle for the table `message`.
|
||||
|
||||
+1
-1
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
|
||||
+1
-1
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
|
||||
+1
-1
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
|
||||
+2
-1
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -33,6 +33,7 @@ import {
|
||||
RemoteReducers,
|
||||
RemoteTables,
|
||||
} from '.';
|
||||
declare type __keep = [EventContext, Reducer, RemoteReducers, RemoteTables];
|
||||
|
||||
/**
|
||||
* Table handle for the table `user`.
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
"pnpm": ">=9.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "cd packages/sdk && pnpm build",
|
||||
"changeset": "changeset",
|
||||
"ci:release": "changeset publish",
|
||||
"ci:version": "changeset version",
|
||||
"format": "prettier --write .",
|
||||
"lint": "prettier . --check",
|
||||
"test": "pnpm -r --filter \"./packages/*\" run test",
|
||||
"generate": "pnpm -r --filter \"./packages/*\" run generate"
|
||||
"build": "pnpm --filter ./packages/sdk run build && pnpm --filter ./packages/test-app run build && pnpm --filter ./examples/quickstart-chat run build",
|
||||
"test": "pnpm --filter ./packages/sdk run test && pnpm --filter ./packages/test-app run test && pnpm --filter ./examples/quickstart-chat run test",
|
||||
"generate": "pnpm --filter ./packages/sdk run generate && pnpm --filter ./packages/test-app run generate && pnpm --filter ./examples/quickstart-chat run generate"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@changesets/changelog-github": "^0.5.0",
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { RowSizeHint } from './row_size_hint_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_RowSizeHint = RowSizeHint;
|
||||
|
||||
export type BsatnRowList = {
|
||||
sizeHint: RowSizeHint;
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,12 +27,26 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { CallReducer } from './call_reducer_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_CallReducer = CallReducer;
|
||||
import { Subscribe } from './subscribe_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_Subscribe = Subscribe;
|
||||
import { OneOffQuery } from './one_off_query_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_OneOffQuery = OneOffQuery;
|
||||
import { SubscribeSingle } from './subscribe_single_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_SubscribeSingle = SubscribeSingle;
|
||||
import { SubscribeMulti } from './subscribe_multi_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_SubscribeMulti = SubscribeMulti;
|
||||
import { Unsubscribe } from './unsubscribe_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_Unsubscribe = Unsubscribe;
|
||||
import { UnsubscribeMulti } from './unsubscribe_multi_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_UnsubscribeMulti = UnsubscribeMulti;
|
||||
|
||||
import * as ClientMessageVariants from './client_message_variants';
|
||||
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,12 +27,26 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { CallReducer as CallReducerType } from './call_reducer_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_CallReducerType = CallReducerType;
|
||||
import { Subscribe as SubscribeType } from './subscribe_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_SubscribeType = SubscribeType;
|
||||
import { OneOffQuery as OneOffQueryType } from './one_off_query_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_OneOffQueryType = OneOffQueryType;
|
||||
import { SubscribeSingle as SubscribeSingleType } from './subscribe_single_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_SubscribeSingleType = SubscribeSingleType;
|
||||
import { SubscribeMulti as SubscribeMultiType } from './subscribe_multi_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_SubscribeMultiType = SubscribeMultiType;
|
||||
import { Unsubscribe as UnsubscribeType } from './unsubscribe_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_UnsubscribeType = UnsubscribeType;
|
||||
import { UnsubscribeMulti as UnsubscribeMultiType } from './unsubscribe_multi_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_UnsubscribeMultiType = UnsubscribeMultiType;
|
||||
|
||||
export type CallReducer = { tag: 'CallReducer'; value: CallReducerType };
|
||||
export type Subscribe = { tag: 'Subscribe'; value: SubscribeType };
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { QueryUpdate } from './query_update_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_QueryUpdate = QueryUpdate;
|
||||
|
||||
import * as CompressableQueryUpdateVariants from './compressable_query_update_variants';
|
||||
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { QueryUpdate as QueryUpdateType } from './query_update_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_QueryUpdateType = QueryUpdateType;
|
||||
|
||||
export type Uncompressed = { tag: 'Uncompressed'; value: QueryUpdateType };
|
||||
export type Brotli = { tag: 'Brotli'; value: Uint8Array };
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { TableUpdate } from './table_update_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_TableUpdate = TableUpdate;
|
||||
|
||||
export type DatabaseUpdate = {
|
||||
tables: TableUpdate[];
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
|
||||
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
|
||||
|
||||
// This was generated using spacetimedb cli version 1.4.0 (commit 5901fb5063808c4dbf2030beb935441a19f37102).
|
||||
// This was generated using spacetimedb cli version 1.4.0 (commit 9e4684ee0f7b78689c60efbdcb7a9e23e34eea15).
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { DatabaseUpdate } from './database_update_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_DatabaseUpdate = DatabaseUpdate;
|
||||
|
||||
export type InitialSubscription = {
|
||||
databaseUpdate: DatabaseUpdate;
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { OneOffTable } from './one_off_table_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_OneOffTable = OneOffTable;
|
||||
|
||||
export type OneOffQueryResponse = {
|
||||
messageId: Uint8Array;
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { BsatnRowList } from './bsatn_row_list_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_BsatnRowList = BsatnRowList;
|
||||
|
||||
export type OneOffTable = {
|
||||
tableName: string;
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { BsatnRowList } from './bsatn_row_list_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_BsatnRowList = BsatnRowList;
|
||||
|
||||
export type QueryUpdate = {
|
||||
deletes: BsatnRowList;
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,15 +27,35 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { InitialSubscription } from './initial_subscription_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_InitialSubscription = InitialSubscription;
|
||||
import { TransactionUpdate } from './transaction_update_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_TransactionUpdate = TransactionUpdate;
|
||||
import { TransactionUpdateLight } from './transaction_update_light_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_TransactionUpdateLight = TransactionUpdateLight;
|
||||
import { IdentityToken } from './identity_token_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_IdentityToken = IdentityToken;
|
||||
import { OneOffQueryResponse } from './one_off_query_response_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_OneOffQueryResponse = OneOffQueryResponse;
|
||||
import { SubscribeApplied } from './subscribe_applied_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_SubscribeApplied = SubscribeApplied;
|
||||
import { UnsubscribeApplied } from './unsubscribe_applied_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_UnsubscribeApplied = UnsubscribeApplied;
|
||||
import { SubscriptionError } from './subscription_error_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_SubscriptionError = SubscriptionError;
|
||||
import { SubscribeMultiApplied } from './subscribe_multi_applied_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_SubscribeMultiApplied = SubscribeMultiApplied;
|
||||
import { UnsubscribeMultiApplied } from './unsubscribe_multi_applied_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_UnsubscribeMultiApplied = UnsubscribeMultiApplied;
|
||||
|
||||
import * as ServerMessageVariants from './server_message_variants';
|
||||
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,15 +27,35 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { InitialSubscription as InitialSubscriptionType } from './initial_subscription_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_InitialSubscriptionType = InitialSubscriptionType;
|
||||
import { TransactionUpdate as TransactionUpdateType } from './transaction_update_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_TransactionUpdateType = TransactionUpdateType;
|
||||
import { TransactionUpdateLight as TransactionUpdateLightType } from './transaction_update_light_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_TransactionUpdateLightType = TransactionUpdateLightType;
|
||||
import { IdentityToken as IdentityTokenType } from './identity_token_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_IdentityTokenType = IdentityTokenType;
|
||||
import { OneOffQueryResponse as OneOffQueryResponseType } from './one_off_query_response_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_OneOffQueryResponseType = OneOffQueryResponseType;
|
||||
import { SubscribeApplied as SubscribeAppliedType } from './subscribe_applied_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_SubscribeAppliedType = SubscribeAppliedType;
|
||||
import { UnsubscribeApplied as UnsubscribeAppliedType } from './unsubscribe_applied_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_UnsubscribeAppliedType = UnsubscribeAppliedType;
|
||||
import { SubscriptionError as SubscriptionErrorType } from './subscription_error_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_SubscriptionErrorType = SubscriptionErrorType;
|
||||
import { SubscribeMultiApplied as SubscribeMultiAppliedType } from './subscribe_multi_applied_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_SubscribeMultiAppliedType = SubscribeMultiAppliedType;
|
||||
import { UnsubscribeMultiApplied as UnsubscribeMultiAppliedType } from './unsubscribe_multi_applied_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_UnsubscribeMultiAppliedType = UnsubscribeMultiAppliedType;
|
||||
|
||||
export type InitialSubscription = {
|
||||
tag: 'InitialSubscription';
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,7 +27,11 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { QueryId } from './query_id_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_QueryId = QueryId;
|
||||
import { SubscribeRows } from './subscribe_rows_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_SubscribeRows = SubscribeRows;
|
||||
|
||||
export type SubscribeApplied = {
|
||||
requestId: number;
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,7 +27,11 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { QueryId } from './query_id_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_QueryId = QueryId;
|
||||
import { DatabaseUpdate } from './database_update_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_DatabaseUpdate = DatabaseUpdate;
|
||||
|
||||
export type SubscribeMultiApplied = {
|
||||
requestId: number;
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { QueryId } from './query_id_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_QueryId = QueryId;
|
||||
|
||||
export type SubscribeMulti = {
|
||||
queryStrings: string[];
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { TableUpdate } from './table_update_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_TableUpdate = TableUpdate;
|
||||
|
||||
export type SubscribeRows = {
|
||||
tableId: number;
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { QueryId } from './query_id_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_QueryId = QueryId;
|
||||
|
||||
export type SubscribeSingle = {
|
||||
query: string;
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { CompressableQueryUpdate } from './compressable_query_update_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_CompressableQueryUpdate = CompressableQueryUpdate;
|
||||
|
||||
export type TableUpdate = {
|
||||
tableId: number;
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { DatabaseUpdate } from './database_update_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_DatabaseUpdate = DatabaseUpdate;
|
||||
|
||||
export type TransactionUpdateLight = {
|
||||
requestId: number;
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,8 +27,14 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { UpdateStatus } from './update_status_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_UpdateStatus = UpdateStatus;
|
||||
import { ReducerCallInfo } from './reducer_call_info_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_ReducerCallInfo = ReducerCallInfo;
|
||||
import { EnergyQuanta } from './energy_quanta_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_EnergyQuanta = EnergyQuanta;
|
||||
|
||||
export type TransactionUpdate = {
|
||||
status: UpdateStatus;
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,7 +27,11 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { QueryId } from './query_id_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_QueryId = QueryId;
|
||||
import { SubscribeRows } from './subscribe_rows_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_SubscribeRows = SubscribeRows;
|
||||
|
||||
export type UnsubscribeApplied = {
|
||||
requestId: number;
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,7 +27,11 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { QueryId } from './query_id_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_QueryId = QueryId;
|
||||
import { DatabaseUpdate } from './database_update_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_DatabaseUpdate = DatabaseUpdate;
|
||||
|
||||
export type UnsubscribeMultiApplied = {
|
||||
requestId: number;
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { QueryId } from './query_id_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_QueryId = QueryId;
|
||||
|
||||
export type UnsubscribeMulti = {
|
||||
requestId: number;
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { QueryId } from './query_id_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_QueryId = QueryId;
|
||||
|
||||
export type Unsubscribe = {
|
||||
requestId: number;
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { DatabaseUpdate } from './database_update_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_DatabaseUpdate = DatabaseUpdate;
|
||||
|
||||
import * as UpdateStatusVariants from './update_status_variants';
|
||||
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '../index';
|
||||
import { DatabaseUpdate as DatabaseUpdateType } from './database_update_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_DatabaseUpdateType = DatabaseUpdateType;
|
||||
|
||||
export type Committed = { tag: 'Committed'; value: DatabaseUpdateType };
|
||||
export type Failed = { tag: 'Failed'; value: string };
|
||||
|
||||
+3
-1
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -28,6 +28,8 @@ import {
|
||||
} from '@clockworklabs/spacetimedb-sdk';
|
||||
|
||||
import { Point } from './point_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_Point = Point;
|
||||
|
||||
export type CreatePlayer = {
|
||||
name: string;
|
||||
|
||||
+15
-10
@@ -1,15 +1,15 @@
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED BY SPACETIMEDB. EDITS TO THIS FILE
|
||||
// WILL NOT BE SAVED. MODIFY TABLES IN YOUR MODULE SOURCE CODE INSTEAD.
|
||||
|
||||
// This was generated using spacetimedb cli version 1.4.0 (commit 5901fb5063808c4dbf2030beb935441a19f37102).
|
||||
// This was generated using spacetimedb cli version 1.4.0 (commit 9e4684ee0f7b78689c60efbdcb7a9e23e34eea15).
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -131,7 +131,7 @@ export class RemoteReducers {
|
||||
createPlayer(name: string, location: Point) {
|
||||
const __args = { name, location };
|
||||
let __writer = new __BinaryWriter(1024);
|
||||
CreatePlayer.getTypeScriptAlgebraicType().serialize(__writer, __args);
|
||||
CreatePlayer.serialize(__writer, __args);
|
||||
let __argsBuffer = __writer.getBuffer();
|
||||
this.connection.callReducer(
|
||||
'create_player',
|
||||
@@ -164,26 +164,31 @@ export class RemoteTables {
|
||||
constructor(private connection: __DbConnectionImpl) {}
|
||||
|
||||
get player(): PlayerTableHandle {
|
||||
// clientCache is a private property
|
||||
return new PlayerTableHandle(
|
||||
this.connection.clientCache.getOrCreateTable<Player>(
|
||||
REMOTE_MODULE.tables.player
|
||||
)
|
||||
(
|
||||
this.connection as unknown as { clientCache: __ClientCache }
|
||||
).clientCache.getOrCreateTable<Player>(REMOTE_MODULE.tables.player)
|
||||
);
|
||||
}
|
||||
|
||||
get unindexedPlayer(): UnindexedPlayerTableHandle {
|
||||
// clientCache is a private property
|
||||
return new UnindexedPlayerTableHandle(
|
||||
this.connection.clientCache.getOrCreateTable<UnindexedPlayer>(
|
||||
(
|
||||
this.connection as unknown as { clientCache: __ClientCache }
|
||||
).clientCache.getOrCreateTable<UnindexedPlayer>(
|
||||
REMOTE_MODULE.tables.unindexed_player
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
get user(): UserTableHandle {
|
||||
// clientCache is a private property
|
||||
return new UserTableHandle(
|
||||
this.connection.clientCache.getOrCreateTable<User>(
|
||||
REMOTE_MODULE.tables.user
|
||||
)
|
||||
(
|
||||
this.connection as unknown as { clientCache: __ClientCache }
|
||||
).clientCache.getOrCreateTable<User>(REMOTE_MODULE.tables.user)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -28,6 +28,8 @@ import {
|
||||
} from '@clockworklabs/spacetimedb-sdk';
|
||||
import { Player } from './player_type';
|
||||
import { Point } from './point_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_Point = Point;
|
||||
|
||||
import {
|
||||
type EventContext,
|
||||
@@ -35,6 +37,7 @@ import {
|
||||
RemoteReducers,
|
||||
RemoteTables,
|
||||
} from '.';
|
||||
declare type __keep = [EventContext, Reducer, RemoteReducers, RemoteTables];
|
||||
|
||||
/**
|
||||
* Table handle for the table `player`.
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
/* eslint-disable */
|
||||
/* tslint:disable */
|
||||
// @ts-nocheck
|
||||
import {
|
||||
AlgebraicType as __AlgebraicTypeValue,
|
||||
BinaryReader as __BinaryReader,
|
||||
BinaryWriter as __BinaryWriter,
|
||||
ClientCache as __ClientCache,
|
||||
ConnectionId as __ConnectionId,
|
||||
DbConnectionBuilder as __DbConnectionBuilder,
|
||||
DbConnectionImpl as __DbConnectionImpl,
|
||||
@@ -27,6 +27,8 @@ import {
|
||||
type SubscriptionEventContextInterface as __SubscriptionEventContextInterface,
|
||||
} from '@clockworklabs/spacetimedb-sdk';
|
||||
import { Point } from './point_type';
|
||||
// Mark import as potentially unused
|
||||
declare type __keep_Point = Point;
|
||||
|
||||
export type Player = {
|
||||
ownerId: string;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user