@digo-labs/common 0.1.12 → 0.1.13

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.
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  export declare const databaseGetAllBodySchema: z.ZodObject<{
3
3
  table: z.ZodString;
4
- limit: z.ZodOptional<z.ZodNumber>;
4
+ limit: z.ZodDefault<z.ZodNumber>;
5
5
  offset: z.ZodOptional<z.ZodNumber>;
6
6
  }, z.core.$strip>;
7
7
  export type DatabaseGetAllBody = z.infer<typeof databaseGetAllBodySchema>;
@@ -23,6 +23,8 @@ export declare const databaseGetByBodySchema: z.ZodObject<{
23
23
  table: z.ZodString;
24
24
  column: z.ZodString;
25
25
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
26
+ limit: z.ZodDefault<z.ZodNumber>;
27
+ offset: z.ZodOptional<z.ZodNumber>;
26
28
  }, z.core.$strip>;
27
29
  export type DatabaseGetByBody = z.infer<typeof databaseGetByBodySchema>;
28
30
  export declare const databaseGetByResponseSchema: z.ZodObject<{
@@ -0,0 +1,4 @@
1
+ export declare class SessionStorage {
2
+ static setValue<T>(key: string, value: T): void;
3
+ static loadValue<T>(key: string, defaultValue: T): T;
4
+ }
@@ -4,6 +4,7 @@ export interface Time {
4
4
  seconds: number;
5
5
  }
6
6
  export type Vector3 = [number, number, number];
7
+ export type Side = 'top' | 'right' | 'bottom' | 'left';
7
8
  export declare enum BedrockStyle {
8
9
  ANIMATED_FILM = "3D_ANIMATED_FAMILY_FILM",
9
10
  FLAT_VECTOR_ILLUSTRATION = "FLAT_VECTOR_ILLUSTRATION",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digo-labs/common",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -1,2 +0,0 @@
1
- import { FontFaceData } from './font-types';
2
- export declare const FONT_FACES: FontFaceData[];
@@ -1,11 +0,0 @@
1
- export type FontFormat = 'ttf' | 'otf';
2
- export interface FontFaceData {
3
- family: string;
4
- weightMin: number;
5
- weightMax: number;
6
- style: string;
7
- format: FontFormat;
8
- filePath: string;
9
- fileName: string;
10
- cssVariable: string | null;
11
- }