@zodic/shared 0.0.13 → 0.0.14
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.
- package/package.json +1 -1
- package/types/scopes/db.ts +44 -8
package/package.json
CHANGED
package/types/scopes/db.ts
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import type { InferInsertModel, InferSelectModel, Table } from 'drizzle-orm';
|
|
2
2
|
import {
|
|
3
|
-
|
|
3
|
+
artifacts,
|
|
4
|
+
astroFeatures,
|
|
5
|
+
astroHouses,
|
|
6
|
+
astroPlanets,
|
|
7
|
+
conceptCombinations,
|
|
8
|
+
concepts,
|
|
9
|
+
creditsTransactions,
|
|
4
10
|
generations,
|
|
5
|
-
products,
|
|
6
11
|
tokens,
|
|
12
|
+
userArtifacts,
|
|
13
|
+
userConcepts,
|
|
7
14
|
users,
|
|
8
15
|
} from '../../db/schema';
|
|
9
16
|
|
|
@@ -12,14 +19,43 @@ type NullableSelect<T extends Table> = InferSelectModel<T> | undefined | null;
|
|
|
12
19
|
export type SelectUser = NullableSelect<typeof users>;
|
|
13
20
|
export type InsertUser = InferInsertModel<typeof users>;
|
|
14
21
|
|
|
15
|
-
export type SelectAstrologicalData = InferSelectModel<typeof astrologicalData>;
|
|
16
|
-
export type InsertAstrologicalData = InferInsertModel<typeof astrologicalData>;
|
|
17
|
-
|
|
18
22
|
export type SelectGeneration = NullableSelect<typeof generations>;
|
|
19
23
|
export type InsertGeneration = InferInsertModel<typeof generations>;
|
|
20
24
|
|
|
21
|
-
export type SelectProduct = NullableSelect<typeof products>;
|
|
22
|
-
export type InsertProduct = InferInsertModel<typeof products>;
|
|
23
|
-
|
|
24
25
|
export type SelectToken = NullableSelect<typeof tokens>;
|
|
25
26
|
export type InsertToken = InferInsertModel<typeof tokens>;
|
|
27
|
+
|
|
28
|
+
export type SelectArtifact = NullableSelect<typeof artifacts>;
|
|
29
|
+
export type InsertArtifact = InferInsertModel<typeof artifacts>;
|
|
30
|
+
|
|
31
|
+
export type SelectAstroFeature = NullableSelect<typeof astroFeatures>;
|
|
32
|
+
export type InsertAstroFeature = InferInsertModel<typeof astroFeatures>;
|
|
33
|
+
|
|
34
|
+
export type SelectAstroHouse = NullableSelect<typeof astroHouses>;
|
|
35
|
+
export type InsertAstroHouse = InferInsertModel<typeof astroHouses>;
|
|
36
|
+
|
|
37
|
+
export type SelectAstroPlanet = NullableSelect<typeof astroPlanets>;
|
|
38
|
+
export type InsertAstroPlanet = InferInsertModel<typeof astroPlanets>;
|
|
39
|
+
|
|
40
|
+
export type SelectConceptCombination = NullableSelect<
|
|
41
|
+
typeof conceptCombinations
|
|
42
|
+
>;
|
|
43
|
+
export type InsertConceptCombination = InferInsertModel<
|
|
44
|
+
typeof conceptCombinations
|
|
45
|
+
>;
|
|
46
|
+
|
|
47
|
+
export type SelectConcept = NullableSelect<typeof concepts>;
|
|
48
|
+
export type InsertConcept = InferInsertModel<typeof concepts>;
|
|
49
|
+
|
|
50
|
+
export type SelectCreditsTransaction = NullableSelect<
|
|
51
|
+
typeof creditsTransactions
|
|
52
|
+
>;
|
|
53
|
+
export type InsertCreditsTransaction = InferInsertModel<
|
|
54
|
+
typeof creditsTransactions
|
|
55
|
+
>;
|
|
56
|
+
|
|
57
|
+
export type SelectUserArtifact = NullableSelect<typeof userArtifacts>;
|
|
58
|
+
export type InsertUserArtifact = InferInsertModel<typeof userArtifacts>;
|
|
59
|
+
|
|
60
|
+
export type SelectUserConcept = NullableSelect<typeof userConcepts>;
|
|
61
|
+
export type InsertUserConcept = InferInsertModel<typeof userConcepts>;
|