@graphite-sports/sdk 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +131 -96
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -11,19 +11,58 @@ import { RefObject } from 'react';
11
11
  import { toast } from 'react-hot-toast';
12
12
  import type { UnusedSkipTokenOptions } from '@tanstack/react-query';
13
13
 
14
- declare type AnyQuerySchema = QuerySchema<QueryFields>;
14
+ export declare type AnyQuerySchema = QuerySchema<QueryFields>;
15
15
 
16
- export declare function AppButton({ type, onClick, disabled: disabledProp, mutates, children, submit, className, loading, value, ref, href, }: Props): JSX.Element;
16
+ export declare function AppButton({ type, onClick, disabled: disabledProp, mutates, children, submit, className, loading, value, ref, href, }: AppButtonProps): JSX.Element;
17
17
 
18
- declare type AppButtonType = 'primary' | 'secondary' | 'danger';
18
+ export declare type AppButtonProps = {
19
+ type?: AppButtonType;
20
+ onClick?: () => void;
21
+ disabled?: boolean;
22
+ /** Disabled while read-only (see `useIsReadonly`). */
23
+ mutates?: boolean;
24
+ children?: ReactNode;
25
+ submit?: boolean;
26
+ className?: string;
27
+ loading?: boolean;
28
+ value?: string;
29
+ ref?: RefObject<HTMLButtonElement | null>;
30
+ /** Makes the button a link to this route, so it can also be opened in a new tab. `onClick` runs before routing. */
31
+ href?: string;
32
+ };
33
+
34
+ export declare type AppButtonType = 'primary' | 'secondary' | 'danger';
19
35
 
20
36
  export declare const AppInput: {
21
- ({ ref, inputRef, ...props }: Props_2 & {
37
+ ({ ref, inputRef, ...props }: AppInputProps & {
22
38
  ref?: React.RefObject<HTMLInputElement | null>;
23
39
  }): JSX.Element;
24
40
  displayName: string;
25
41
  };
26
42
 
43
+ export declare type AppInputProps = {
44
+ label?: string;
45
+ description?: string;
46
+ value?: string;
47
+ onChange?: ChangeEventHandler<HTMLInputElement>;
48
+ onBlur?: FocusEventHandler<HTMLInputElement>;
49
+ onFocus?: FocusEventHandler<HTMLInputElement>;
50
+ onKeyDown?: KeyboardEventHandler<HTMLInputElement>;
51
+ type?: HTMLInputTypeAttribute;
52
+ placeholder?: string;
53
+ required?: boolean;
54
+ maxLength?: number;
55
+ pattern?: string;
56
+ disabled?: boolean;
57
+ className?: string;
58
+ tabIndex?: number;
59
+ readonly?: boolean;
60
+ layout?: InputLayout;
61
+ inputRef?: React.RefObject<HTMLInputElement | null>;
62
+ endAdornment?: ReactNode;
63
+ autoFocus?: boolean;
64
+ };
65
+
27
66
  declare type ArithmeticOperator = "add" | "subtract";
28
67
 
29
68
  declare type ArrayValue<T = Primitive> = Value<T>[];
@@ -36,7 +75,7 @@ declare type BIB = Brand<number, 'bib'>;
36
75
  * `#/components/schemas/<Name>` entry in the OpenAPI schema - see the `DOMAIN_ID_NAMES` redirect in
37
76
  * generate-openapi-types.js, which points the generated schema types at these instead of `number`/`string`.
38
77
  */
39
- declare type Brand<T, B> = T & {
78
+ export declare type Brand<T, B> = T & {
40
79
  readonly __brand: B;
41
80
  };
42
81
 
@@ -142,7 +181,7 @@ export declare type ClassDAO = components['schemas']['ClassDAO'];
142
181
 
143
182
  export declare type ClassId = Brand<number, 'classId'>;
144
183
 
145
- declare type ClassResponse = components['schemas']['ClassResponse'];
184
+ export declare type ClassResponse = components['schemas']['ClassResponse'];
146
185
 
147
186
  declare type CommonApiKeyId = Brand<number, 'commonApiKeyId'>;
148
187
 
@@ -152,7 +191,7 @@ export declare type CompetitorDAO = components['schemas']['CompetitorDAO'];
152
191
 
153
192
  export declare type CompetitorId = Brand<number, 'competitorId'>;
154
193
 
155
- declare type CompetitorType = components['schemas']['CompetitorType'];
194
+ export declare type CompetitorType = components['schemas']['CompetitorType'];
156
195
 
157
196
  declare interface components {
158
197
  schemas: {
@@ -1323,7 +1362,9 @@ declare interface components {
1323
1362
  kind: components["schemas"]["ExtensionKind"];
1324
1363
  };
1325
1364
  /** @enum {string} */
1326
- ExtensionError: "local-extension-not-found" | "failed-to-resolve-extension";
1365
+ ExtensionError: "local-extension-not-found" | "failed-to-resolve-extension" | "failed-to-start" | "invalid-identifier";
1366
+ /** @description A single path segment on every platform without control characters, so it is a safe directory name. */
1367
+ ExtensionIdentifier: string;
1327
1368
  ExtensionKind: {
1328
1369
  /** @constant */
1329
1370
  type: "local";
@@ -1334,9 +1375,19 @@ declare interface components {
1334
1375
  };
1335
1376
  ExtensionPathVariables_for_CommonWorkspaceId: {
1336
1377
  eventId: components["schemas"]["EventId"];
1337
- extensionIdentifier: string;
1378
+ extensionIdent: components["schemas"]["ExtensionIdentifier"];
1338
1379
  workspaceId: components["schemas"]["CommonWorkspaceId"];
1339
1380
  };
1381
+ ExtensionSecretDTO: {
1382
+ isSet: boolean;
1383
+ /** @description Locale, like `en`, to label */
1384
+ label: {
1385
+ [key: string]: string;
1386
+ };
1387
+ name: components["schemas"]["SecretName"];
1388
+ /** Format: date-time */
1389
+ updatedAt?: string | null;
1390
+ };
1340
1391
  /** @description Allows referencing an external resource for extended documentation. */
1341
1392
  ExternalDocumentation: {
1342
1393
  /**
@@ -2336,7 +2387,7 @@ declare interface components {
2336
2387
  /** Format: uint16 */
2337
2388
  InputIdx: InputIdx;
2338
2389
  InstallExtensionBody: {
2339
- identifier: string;
2390
+ identifier: components["schemas"]["ExtensionIdentifier"];
2340
2391
  kind: components["schemas"]["ExtensionKind"];
2341
2392
  };
2342
2393
  InstalledExtensionDTO: {
@@ -2441,6 +2492,10 @@ declare interface components {
2441
2492
  } | {
2442
2493
  operationId: string;
2443
2494
  });
2495
+ /** @description Links the entities a template was created from to its archive entries. */
2496
+ LinkToTemplateMutation: {
2497
+ wiring: components["schemas"]["Wiring"];
2498
+ };
2444
2499
  LoadArchiveQuery: {
2445
2500
  /**
2446
2501
  * @description What to do with a root format contained in the archive.
@@ -2448,6 +2503,9 @@ declare interface components {
2448
2503
  */
2449
2504
  rootFormat: components["schemas"]["RootFormatImport"];
2450
2505
  };
2506
+ LocalExtensionPath: {
2507
+ extensionIdent: components["schemas"]["ExtensionIdentifier"];
2508
+ };
2451
2509
  /**
2452
2510
  * Format: uint32
2453
2511
  * @description Identifies a type parameter within a type expression or node signature.
@@ -2640,6 +2698,10 @@ declare interface components {
2640
2698
  /** @constant */
2641
2699
  type: "unlink-from-template";
2642
2700
  data: components["schemas"]["UnlinkFromTemplateMutation"];
2701
+ } | {
2702
+ /** @constant */
2703
+ type: "link-to-template";
2704
+ data: components["schemas"]["LinkToTemplateMutation"];
2643
2705
  };
2644
2706
  LogEntrySmall: {
2645
2707
  description: string;
@@ -4456,6 +4518,17 @@ declare interface components {
4456
4518
  /** @description Additional external documentation for this schema. */
4457
4519
  externalDocs?: components["schemas"]["ExternalDocumentation"] | null;
4458
4520
  };
4521
+ /** @description Only `[a-z0-9-]`, at least one character. */
4522
+ SecretName: string;
4523
+ SecretPath: {
4524
+ extensionIdent: components["schemas"]["ExtensionIdentifier"];
4525
+ name: components["schemas"]["SecretName"];
4526
+ };
4527
+ /** @description At most 16 KiB. Its [Debug] does not show the value. */
4528
+ SecretValue: string;
4529
+ SecretValueBody: {
4530
+ value: components["schemas"]["SecretValue"];
4531
+ };
4459
4532
  /**
4460
4533
  * @description Defines a security scheme that can be used by the operations.
4461
4534
  * Supported schemes are HTTP authentication, an API key (either as a
@@ -5529,8 +5602,6 @@ export declare interface ExtensionSidebarContribution {
5529
5602
 
5530
5603
  export declare type ExtensionSidebarProps = EventPath;
5531
5604
 
5532
- declare type FieldInput<Field> = Field extends OptionalQueryField<infer Value> ? Value | null : Field extends RepeatedQueryField<infer Value> ? readonly Value[] : never;
5533
-
5534
5605
  declare interface FieldTypeWithDefault {
5535
5606
  fieldType: TypeExpr<Type>;
5536
5607
  /**
@@ -5539,15 +5610,13 @@ declare interface FieldTypeWithDefault {
5539
5610
  default: Value | null;
5540
5611
  }
5541
5612
 
5542
- declare type FieldValue<Field> = Field extends OptionalQueryField<infer Value> ? Value | null : Field extends RepeatedQueryField<infer Value> ? Value[] : never;
5543
-
5544
5613
  declare type FormatGroupId = Brand<number, 'formatGroupId'>;
5545
5614
 
5546
5615
  declare type FormatId = Brand<number, 'formatId'>;
5547
5616
 
5548
- declare type FormatInstanceId = Brand<number, 'formatInstanceId'>;
5617
+ export declare type FormatInstanceId = Brand<number, 'formatInstanceId'>;
5549
5618
 
5550
- declare type FormatNodeId = Brand<string, 'formatNodeId'>;
5619
+ export declare type FormatNodeId = Brand<string, 'formatNodeId'>;
5551
5620
 
5552
5621
  declare type FormatNodeInstanceId = Brand<number, 'formatNodeInstanceId'>;
5553
5622
 
@@ -5555,12 +5624,14 @@ declare type FormatNodeTestId = Brand<string, 'formatNodeTestId'>;
5555
5624
 
5556
5625
  declare type FormatTestId = Brand<number, 'formatTestId'>;
5557
5626
 
5558
- declare type FormContribution<Props, DTO> = FC<Props & {
5627
+ export declare type FormContribution<Props, DTO> = FC<Props & {
5559
5628
  formFieldRegistry: FormFieldRegistry;
5560
5629
  ref: Ref<ContributionHandle<DTO>>;
5561
5630
  }>;
5562
5631
 
5563
- declare interface FormFieldMeta {
5632
+ export declare type FormFieldHookId = object;
5633
+
5634
+ export declare interface FormFieldMeta {
5564
5635
  /**
5565
5636
  * true if setValue has been called at least once since the last reset
5566
5637
  */
@@ -5586,7 +5657,7 @@ declare interface FormFieldMeta {
5586
5657
  reset: () => void;
5587
5658
  }
5588
5659
 
5589
- declare interface FormFieldProps<I, O = I> {
5660
+ export declare interface FormFieldProps<I, O = I> {
5590
5661
  /**
5591
5662
  * Used to check wether or not the mapped persisted value has changed
5592
5663
  * Default: `Object.is`
@@ -5601,9 +5672,9 @@ declare interface FormFieldProps<I, O = I> {
5601
5672
  map?: (value: I) => O;
5602
5673
  }
5603
5674
 
5604
- declare interface FormFieldRegistry {
5605
- registerFormField: (hookId: HookId, formField: FormFieldMeta) => void;
5606
- unregisterFormField: (hookId: HookId) => void;
5675
+ export declare interface FormFieldRegistry {
5676
+ registerFormField: (hookId: FormFieldHookId, formField: FormFieldMeta) => void;
5677
+ unregisterFormField: (hookId: FormFieldHookId) => void;
5607
5678
  /**
5608
5679
  * `useFormField` bound to this registry. Follows the rules of hooks:
5609
5680
  * only call it at the top level of a component or custom hook.
@@ -5621,15 +5692,15 @@ declare interface FormFieldRegistry {
5621
5692
  * `const [value, setValue, field] = useFormField(...);`
5622
5693
  * `<FormField {...field}>...</FormField>`
5623
5694
  */
5624
- declare type FormFieldState<T> = [value: T, setValue: (value: T | ((oldValue: T) => T)) => void, field: FormFieldMeta];
5695
+ export declare type FormFieldState<T> = [value: T, setValue: (value: T | ((oldValue: T) => T)) => void, field: FormFieldMeta];
5625
5696
 
5626
5697
  export declare type GameDAO = components['schemas']['GameDAO'];
5627
5698
 
5628
- declare type GameDTO = components['schemas']['GameDTO'];
5699
+ export declare type GameDTO = components['schemas']['GameDTO'];
5629
5700
 
5630
- declare type GameFormatDTO = components['schemas']['GameFormatDTO'];
5701
+ export declare type GameFormatDTO = components['schemas']['GameFormatDTO'];
5631
5702
 
5632
- declare type GameFormatId = Brand<number, 'gameFormatId'>;
5703
+ export declare type GameFormatId = Brand<number, 'gameFormatId'>;
5633
5704
 
5634
5705
  export declare type GameFormatPageContribution = FormContribution<GameFormatPageProps & {
5635
5706
  gameFormat: GameFormatDTO;
@@ -5651,7 +5722,7 @@ export declare type GamePageProps = EventPath & {
5651
5722
 
5652
5723
  export declare const gamesWithTablesMappedByEventQO: (workspaceId: CommonWorkspaceId, eventId: EventId) => EngineQueryOptions<Map<GameId, GameWithTables>>;
5653
5724
 
5654
- declare type GameWithTables = components['schemas']['GameWithTables'];
5725
+ export declare type GameWithTables = components['schemas']['GameWithTables'];
5655
5726
 
5656
5727
  export declare const getClassesByEventQO: (workspaceId: CommonWorkspaceId, eventId: EventId) => EngineQueryOptions<ClassResponse[]>;
5657
5728
 
@@ -5665,11 +5736,9 @@ export declare const getCompetitorsQO: (workspaceId: CommonWorkspaceId, eventId:
5665
5736
  */
5666
5737
  declare type GraphLocation = { type: "Edge"; data: number } | { type: "InputPort"; data: { nodeIdx: number; inputIdx: number } };
5667
5738
 
5668
- declare type HookId = object;
5669
-
5670
5739
  declare type InputIdx = Brand<number, 'inputIdx'>;
5671
5740
 
5672
- declare enum InputLayout {
5741
+ export declare enum InputLayout {
5673
5742
  Normal = 0,
5674
5743
  /**
5675
5744
  * Narrow field for tight UI (node ports, toolbars). Overrides the browser's ~20ch input min-width.
@@ -5689,13 +5758,13 @@ declare type LocalParamID = number;
5689
5758
 
5690
5759
  declare type LogId = Brand<number, 'logId'>;
5691
5760
 
5692
- declare type Merge<A, B> = {
5761
+ export declare type MergePathParams<A, B> = {
5693
5762
  [K in keyof A | keyof B]: K extends keyof B ? B[K] : K extends keyof A ? A[K] : never;
5694
5763
  };
5695
5764
 
5696
5765
  export declare function Modal({ children, isOpen, onClose, closable, height, width, verticalPosition, horizontalPosition, lightbox, blockBackground, }: ModalProps): null;
5697
5766
 
5698
- declare interface ModalConfig {
5767
+ export declare interface ModalConfig {
5699
5768
  id: string;
5700
5769
  content: ReactNode;
5701
5770
  closable?: boolean;
@@ -5708,12 +5777,12 @@ declare interface ModalConfig {
5708
5777
  onClose?: () => void;
5709
5778
  }
5710
5779
 
5711
- declare interface ModalControls {
5780
+ export declare interface ModalControls {
5712
5781
  open: (content: ReactNode, options?: Omit<ModalConfig, 'id' | 'content'>) => string;
5713
5782
  close: (id: string) => void;
5714
5783
  }
5715
5784
 
5716
- declare interface ModalProps {
5785
+ export declare interface ModalProps {
5717
5786
  children: ReactNode;
5718
5787
  isOpen: boolean;
5719
5788
  onClose: () => void;
@@ -5795,7 +5864,7 @@ declare type NoSupertypeLayerReason = "UnknownTypeParam" | "NodeSignatureInputsV
5795
5864
 
5796
5865
  declare type OperatorOf<T> = Extract<TypeOperators[keyof TypeOperators], [T, unknown]>[1];
5797
5866
 
5798
- declare interface OptionalQueryField<T> {
5867
+ export declare interface OptionalQueryField<T> {
5799
5868
  kind: 'optional';
5800
5869
  codec: QueryCodec<T>;
5801
5870
  }
@@ -5814,14 +5883,20 @@ declare interface ParamRef {
5814
5883
  infer: boolean;
5815
5884
  }
5816
5885
 
5817
- declare interface ParsedQuery<Values> {
5886
+ export declare interface ParsedQuery<Values> {
5818
5887
  values: Values;
5819
5888
  /** The original search with malformed known values removed and valid values normalized. */
5820
5889
  canonicalSearch: string;
5821
5890
  malformedKeys: string[];
5822
5891
  }
5823
5892
 
5824
- declare type PathParams<Path extends string> = Path extends `${infer Base}/*` ? PathParams<Base> : Path extends `${infer _}/${infer Rest}` ? Merge<SegmentParam<_>, PathParams<Rest>> : SegmentParam<Path>;
5893
+ export declare type PathParams<Path extends string> = Path extends `${infer Base}/*` ? PathParams<Base> : Path extends `${infer _}/${infer Rest}` ? MergePathParams<PathSegmentParam<_>, PathParams<Rest>> : PathSegmentParam<Path>;
5894
+
5895
+ export declare type PathSegmentParam<S extends string> = S extends `:${infer P}` ? {
5896
+ [K in P]: number;
5897
+ } : S extends `$${infer P}` ? {
5898
+ [K in P]: string;
5899
+ } : Record<never, never>;
5825
5900
 
5826
5901
  /**
5827
5902
  * A list of port types, optionally with a variadic type (`...T`).
@@ -5836,66 +5911,32 @@ declare interface PortTypes<T, R = ParamRef> {
5836
5911
  */
5837
5912
  declare type Primitive = never;
5838
5913
 
5839
- declare type Props = {
5840
- type?: AppButtonType;
5841
- onClick?: () => void;
5842
- disabled?: boolean;
5843
- /** Disabled while read-only (see `useIsReadonly`). */
5844
- mutates?: boolean;
5845
- children?: ReactNode;
5846
- submit?: boolean;
5847
- className?: string;
5848
- loading?: boolean;
5849
- value?: string;
5850
- ref?: RefObject<HTMLButtonElement | null>;
5851
- /** Makes the button a link to this route, so it can also be opened in a new tab. `onClick` runs before routing. */
5852
- href?: string;
5853
- };
5854
-
5855
- declare type Props_2 = {
5856
- label?: string;
5857
- description?: string;
5858
- value?: string;
5859
- onChange?: ChangeEventHandler<HTMLInputElement>;
5860
- onBlur?: FocusEventHandler<HTMLInputElement>;
5861
- onFocus?: FocusEventHandler<HTMLInputElement>;
5862
- onKeyDown?: KeyboardEventHandler<HTMLInputElement>;
5863
- type?: HTMLInputTypeAttribute;
5864
- placeholder?: string;
5865
- required?: boolean;
5866
- maxLength?: number;
5867
- disabled?: boolean;
5868
- className?: string;
5869
- tabIndex?: number;
5870
- readonly?: boolean;
5871
- layout?: InputLayout;
5872
- inputRef?: React.RefObject<HTMLInputElement | null>;
5873
- endAdornment?: ReactNode;
5874
- autoFocus?: boolean;
5875
- };
5876
-
5877
- declare interface QueryCodec<T> {
5914
+ export declare interface QueryCodec<T> {
5878
5915
  parse(value: string): T | null;
5879
5916
  serialize(value: T): string;
5880
5917
  }
5881
5918
 
5882
- declare type QueryField = OptionalQueryField<unknown> | RepeatedQueryField<unknown>;
5919
+ export declare type QueryField = OptionalQueryField<unknown> | RepeatedQueryField<unknown>;
5920
+
5921
+ export declare type QueryFieldInput<Field> = Field extends OptionalQueryField<infer Value> ? Value | null : Field extends RepeatedQueryField<infer Value> ? readonly Value[] : never;
5883
5922
 
5884
- declare type QueryFields = Record<string, QueryField>;
5923
+ export declare type QueryFields = Record<string, QueryField>;
5885
5924
 
5886
- declare type QueryInput<Schema extends AnyQuerySchema> = Schema extends QuerySchema<infer Fields> ? {
5887
- [Key in keyof Fields]?: FieldInput<Fields[Key]>;
5925
+ export declare type QueryFieldValue<Field> = Field extends OptionalQueryField<infer Value> ? Value | null : Field extends RepeatedQueryField<infer Value> ? Value[] : never;
5926
+
5927
+ export declare type QueryInput<Schema extends AnyQuerySchema> = Schema extends QuerySchema<infer Fields> ? {
5928
+ [Key in keyof Fields]?: QueryFieldInput<Fields[Key]>;
5888
5929
  } : never;
5889
5930
 
5890
- declare interface QuerySchema<Fields extends QueryFields> {
5931
+ export declare interface QuerySchema<Fields extends QueryFields> {
5891
5932
  readonly fields: Fields;
5892
5933
  parse(search: string): ParsedQuery<{
5893
- [Key in keyof Fields]: FieldValue<Fields[Key]>;
5934
+ [Key in keyof Fields]: QueryFieldValue<Fields[Key]>;
5894
5935
  }>;
5895
5936
  serialize(input?: {
5896
- [Key in keyof Fields]?: FieldInput<Fields[Key]>;
5937
+ [Key in keyof Fields]?: QueryFieldInput<Fields[Key]>;
5897
5938
  }): string;
5898
- set<Key extends keyof Fields>(search: string, key: Key, value: FieldValue<Fields[Key]>): string;
5939
+ set<Key extends keyof Fields>(search: string, key: Key, value: QueryFieldValue<Fields[Key]>): string;
5899
5940
  }
5900
5941
 
5901
5942
  /**
@@ -5911,12 +5952,12 @@ declare interface RecordTypeWithDefaults {
5911
5952
 
5912
5953
  declare type RecordValue<T = Primitive> = Record<string, Value<T>>;
5913
5954
 
5914
- declare interface RepeatedQueryField<T> {
5955
+ export declare interface RepeatedQueryField<T> {
5915
5956
  kind: 'repeated';
5916
5957
  codec: QueryCodec<T>;
5917
5958
  }
5918
5959
 
5919
- declare interface RouterContextType {
5960
+ export declare interface RouterContextType {
5920
5961
  /** The pathname used for route matching and persistence keys. */
5921
5962
  path: string;
5922
5963
  /** The complete reactive browser location. */
@@ -5934,7 +5975,7 @@ declare interface RouterContextType {
5934
5975
  unregister: (route: string) => void;
5935
5976
  }
5936
5977
 
5937
- declare interface RouterLocation {
5978
+ export declare interface RouterLocation {
5938
5979
  pathname: string;
5939
5980
  search: string;
5940
5981
  hash: string;
@@ -5962,12 +6003,6 @@ declare interface Rows<SortingState> {
5962
6003
  rows: Row[];
5963
6004
  }
5964
6005
 
5965
- declare type SegmentParam<S extends string> = S extends `:${infer P}` ? {
5966
- [K in P]: number;
5967
- } : S extends `$${infer P}` ? {
5968
- [K in P]: string;
5969
- } : Record<never, never>;
5970
-
5971
6006
  declare type SerializableNonPrimitiveValue = { type: "game-table"; data: Table<Unsorted_2, StateMetadata> } | { type: "game-table-sorted"; data: Table<Sorted_2, StateMetadata> } | { type: "row"; data: Row } | { type: "class"; data: number } | { type: "closure" };
5972
6007
 
5973
6008
  declare type Sorted = Brand<'sorted', 'sorted'>;
@@ -5993,7 +6028,7 @@ declare interface StateMetadata {
5993
6028
  */
5994
6029
  declare type Table<SortingState, M = NoMetadata> = { rows: Rows<SortingState> } & M;
5995
6030
 
5996
- declare type TableId = Brand<number, 'tableId'>;
6031
+ export declare type TableId = Brand<number, 'tableId'>;
5997
6032
 
5998
6033
  declare type TableLineageId = Brand<number, 'tableLineageId'>;
5999
6034
 
@@ -6078,8 +6113,8 @@ export declare type WorkingGameDTO = Omit<GameDTO, 'gameFormatId'> & {
6078
6113
  gameFormatId: GameFormatId | null;
6079
6114
  };
6080
6115
 
6081
- declare type WorkspaceRootId = Brand<number, 'workspaceRootId'>;
6116
+ export declare type WorkspaceRootId = Brand<number, 'workspaceRootId'>;
6082
6117
 
6083
- declare type WorkspaceSelfHostedId = Brand<number, 'workspaceSelfHostedId'>;
6118
+ export declare type WorkspaceSelfHostedId = Brand<number, 'workspaceSelfHostedId'>;
6084
6119
 
6085
6120
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphite-sports/sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "license": "MIT",
5
5
  "repository": "github:Graphite-sports/starter-extension",
6
6
  "homepage": "https://github.com/Graphite-sports/starter-extension",