vsrepo 1.0.1 → 1.0.2

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 (33) hide show
  1. package/VSRepository/index.d.ts +2 -0
  2. package/VSRepository/index.js +2 -0
  3. package/package.json +4 -8
  4. package/src/db.ts +0 -14
  5. package/src/generated/prisma/browser.ts +0 -44
  6. package/src/generated/prisma/client.ts +0 -66
  7. package/src/generated/prisma/commonInputTypes.ts +0 -370
  8. package/src/generated/prisma/enums.ts +0 -38
  9. package/src/generated/prisma/internal/class.ts +0 -246
  10. package/src/generated/prisma/internal/prismaNamespace.ts +0 -1195
  11. package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +0 -163
  12. package/src/generated/prisma/models/Admin.ts +0 -1342
  13. package/src/generated/prisma/models/CommonUser.ts +0 -1592
  14. package/src/generated/prisma/models/Post.ts +0 -1594
  15. package/src/generated/prisma/models/PostTag.ts +0 -1380
  16. package/src/generated/prisma/models/User.ts +0 -1519
  17. package/src/generated/prisma/models.ts +0 -16
  18. package/src/index.d.ts +0 -2
  19. package/src/index.js +0 -2
  20. package/src/repositories/base.ts +0 -38
  21. package/src/repositories/categoriaRepository.ts +0 -56
  22. package/src/repositories/commonUser.repository.ts +0 -45
  23. package/src/repositories/perfilRepository.ts +0 -29
  24. package/src/repositories/postagemRepository.ts +0 -71
  25. package/src/repositories/user.repository.ts +0 -57
  26. package/src/repositories/usuarioRepository.ts +0 -151
  27. package/src/tests/base-methods/user.bm.test.ts +0 -57
  28. package/src/tests/postagem.test.ts +0 -140
  29. package/src/tests/usuario.test.ts +0 -200
  30. /package/{src/VSRepository → VSRepository}/VSRepoError.d.ts +0 -0
  31. /package/{src/VSRepository → VSRepository}/VSRepoError.js +0 -0
  32. /package/{src/VSRepository → VSRepository}/VSRepository.d.ts +0 -0
  33. /package/{src/VSRepository → VSRepository}/VSRepository.js +0 -0
@@ -1,163 +0,0 @@
1
-
2
- /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
- /* eslint-disable */
4
- // biome-ignore-all lint: generated file
5
- // @ts-nocheck
6
- /*
7
- * WARNING: This is an internal file that is subject to change!
8
- *
9
- * 🛑 Under no circumstances should you import this file directly! 🛑
10
- *
11
- * All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
12
- * While this enables partial backward compatibility, it is not part of the stable public API.
13
- *
14
- * If you are looking for your Models, Enums, and Input Types, please import them from the respective
15
- * model files in the `model` directory!
16
- */
17
-
18
- import * as runtime from "@prisma/client/runtime/index-browser"
19
-
20
- export type * from '../models.js'
21
- export type * from './prismaNamespace.js'
22
-
23
- export const Decimal = runtime.Decimal
24
-
25
-
26
- export const NullTypes = {
27
- DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
28
- JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
29
- AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
30
- }
31
- /**
32
- * Helper for filtering JSON entries that have `null` on the database (empty on the db)
33
- *
34
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
35
- */
36
- export const DbNull = runtime.DbNull
37
-
38
- /**
39
- * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
40
- *
41
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
42
- */
43
- export const JsonNull = runtime.JsonNull
44
-
45
- /**
46
- * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
47
- *
48
- * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
49
- */
50
- export const AnyNull = runtime.AnyNull
51
-
52
-
53
- export const ModelName = {
54
- User: 'User',
55
- CommonUser: 'CommonUser',
56
- Admin: 'Admin',
57
- Post: 'Post',
58
- PostTag: 'PostTag'
59
- } as const
60
-
61
- export type ModelName = (typeof ModelName)[keyof typeof ModelName]
62
-
63
- /*
64
- * Enums
65
- */
66
-
67
- export const TransactionIsolationLevel = runtime.makeStrictEnum({
68
- ReadUncommitted: 'ReadUncommitted',
69
- ReadCommitted: 'ReadCommitted',
70
- RepeatableRead: 'RepeatableRead',
71
- Serializable: 'Serializable'
72
- } as const)
73
-
74
- export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
75
-
76
-
77
- export const UserScalarFieldEnum = {
78
- id: 'id',
79
- name: 'name',
80
- email: 'email',
81
- password: 'password',
82
- active: 'active',
83
- userType: 'userType',
84
- createdAt: 'createdAt',
85
- updatedAt: 'updatedAt'
86
- } as const
87
-
88
- export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
89
-
90
-
91
- export const CommonUserScalarFieldEnum = {
92
- id: 'id',
93
- biography: 'biography',
94
- birthDate: 'birthDate',
95
- image: 'image',
96
- followers: 'followers',
97
- createdAt: 'createdAt',
98
- updatedAt: 'updatedAt',
99
- userId: 'userId'
100
- } as const
101
-
102
- export type CommonUserScalarFieldEnum = (typeof CommonUserScalarFieldEnum)[keyof typeof CommonUserScalarFieldEnum]
103
-
104
-
105
- export const AdminScalarFieldEnum = {
106
- id: 'id',
107
- role: 'role',
108
- sector: 'sector',
109
- createdAt: 'createdAt',
110
- updatedAt: 'updatedAt',
111
- userId: 'userId'
112
- } as const
113
-
114
- export type AdminScalarFieldEnum = (typeof AdminScalarFieldEnum)[keyof typeof AdminScalarFieldEnum]
115
-
116
-
117
- export const PostScalarFieldEnum = {
118
- id: 'id',
119
- title: 'title',
120
- content: 'content',
121
- publicated: 'publicated',
122
- createdAt: 'createdAt',
123
- updatedAt: 'updatedAt',
124
- commonUserId: 'commonUserId'
125
- } as const
126
-
127
- export type PostScalarFieldEnum = (typeof PostScalarFieldEnum)[keyof typeof PostScalarFieldEnum]
128
-
129
-
130
- export const PostTagScalarFieldEnum = {
131
- id: 'id',
132
- name: 'name',
133
- description: 'description',
134
- createdAt: 'createdAt',
135
- updatedAt: 'updatedAt'
136
- } as const
137
-
138
- export type PostTagScalarFieldEnum = (typeof PostTagScalarFieldEnum)[keyof typeof PostTagScalarFieldEnum]
139
-
140
-
141
- export const SortOrder = {
142
- asc: 'asc',
143
- desc: 'desc'
144
- } as const
145
-
146
- export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
147
-
148
-
149
- export const QueryMode = {
150
- default: 'default',
151
- insensitive: 'insensitive'
152
- } as const
153
-
154
- export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
155
-
156
-
157
- export const NullsOrder = {
158
- first: 'first',
159
- last: 'last'
160
- } as const
161
-
162
- export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
163
-