@orchestr-sh/orchestr 1.0.1 → 1.1.0

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 (93) hide show
  1. package/dist/Database/Adapters/DrizzleAdapter.d.ts +119 -0
  2. package/dist/Database/Adapters/DrizzleAdapter.d.ts.map +1 -0
  3. package/dist/Database/Adapters/DrizzleAdapter.js +384 -0
  4. package/dist/Database/Adapters/DrizzleAdapter.js.map +1 -0
  5. package/dist/Database/Connection.d.ts +103 -0
  6. package/dist/Database/Connection.d.ts.map +1 -0
  7. package/dist/Database/Connection.js +164 -0
  8. package/dist/Database/Connection.js.map +1 -0
  9. package/dist/Database/Contracts/DatabaseAdapter.d.ts +85 -0
  10. package/dist/Database/Contracts/DatabaseAdapter.d.ts.map +1 -0
  11. package/dist/Database/Contracts/DatabaseAdapter.js +9 -0
  12. package/dist/Database/Contracts/DatabaseAdapter.js.map +1 -0
  13. package/dist/Database/Contracts/QueryBuilderInterface.d.ts +196 -0
  14. package/dist/Database/Contracts/QueryBuilderInterface.d.ts.map +1 -0
  15. package/dist/Database/Contracts/QueryBuilderInterface.js +8 -0
  16. package/dist/Database/Contracts/QueryBuilderInterface.js.map +1 -0
  17. package/dist/Database/Contracts/Schema.d.ts +234 -0
  18. package/dist/Database/Contracts/Schema.d.ts.map +1 -0
  19. package/dist/Database/Contracts/Schema.js +8 -0
  20. package/dist/Database/Contracts/Schema.js.map +1 -0
  21. package/dist/Database/DatabaseManager.d.ts +61 -0
  22. package/dist/Database/DatabaseManager.d.ts.map +1 -0
  23. package/dist/Database/DatabaseManager.js +102 -0
  24. package/dist/Database/DatabaseManager.js.map +1 -0
  25. package/dist/Database/DatabaseServiceProvider.d.ts +17 -0
  26. package/dist/Database/DatabaseServiceProvider.d.ts.map +1 -0
  27. package/dist/Database/DatabaseServiceProvider.js +44 -0
  28. package/dist/Database/DatabaseServiceProvider.js.map +1 -0
  29. package/dist/Database/Eloquent/Builder.d.ts +76 -0
  30. package/dist/Database/Eloquent/Builder.d.ts.map +1 -0
  31. package/dist/Database/Eloquent/Builder.js +154 -0
  32. package/dist/Database/Eloquent/Builder.js.map +1 -0
  33. package/dist/Database/Eloquent/Collection.d.ts +137 -0
  34. package/dist/Database/Eloquent/Collection.d.ts.map +1 -0
  35. package/dist/Database/Eloquent/Collection.js +284 -0
  36. package/dist/Database/Eloquent/Collection.js.map +1 -0
  37. package/dist/Database/Eloquent/Concerns/HasAttributes.d.ts +44 -0
  38. package/dist/Database/Eloquent/Concerns/HasAttributes.d.ts.map +1 -0
  39. package/dist/Database/Eloquent/Concerns/HasAttributes.js +8 -0
  40. package/dist/Database/Eloquent/Concerns/HasAttributes.js.map +1 -0
  41. package/dist/Database/Eloquent/Concerns/HasTimestamps.d.ts +41 -0
  42. package/dist/Database/Eloquent/Concerns/HasTimestamps.d.ts.map +1 -0
  43. package/dist/Database/Eloquent/Concerns/HasTimestamps.js +14 -0
  44. package/dist/Database/Eloquent/Concerns/HasTimestamps.js.map +1 -0
  45. package/dist/Database/Eloquent/Model.d.ts +265 -0
  46. package/dist/Database/Eloquent/Model.d.ts.map +1 -0
  47. package/dist/Database/Eloquent/Model.js +523 -0
  48. package/dist/Database/Eloquent/Model.js.map +1 -0
  49. package/dist/Database/Eloquent/SoftDeletes.d.ts +41 -0
  50. package/dist/Database/Eloquent/SoftDeletes.d.ts.map +1 -0
  51. package/dist/Database/Eloquent/SoftDeletes.js +22 -0
  52. package/dist/Database/Eloquent/SoftDeletes.js.map +1 -0
  53. package/dist/Database/Ensemble/Concerns/HasAttributes.d.ts +44 -0
  54. package/dist/Database/Ensemble/Concerns/HasAttributes.d.ts.map +1 -0
  55. package/dist/Database/Ensemble/Concerns/HasAttributes.js +8 -0
  56. package/dist/Database/Ensemble/Concerns/HasAttributes.js.map +1 -0
  57. package/dist/Database/Ensemble/Concerns/HasTimestamps.d.ts +41 -0
  58. package/dist/Database/Ensemble/Concerns/HasTimestamps.d.ts.map +1 -0
  59. package/dist/Database/Ensemble/Concerns/HasTimestamps.js +14 -0
  60. package/dist/Database/Ensemble/Concerns/HasTimestamps.js.map +1 -0
  61. package/dist/Database/Ensemble/Ensemble.d.ts +266 -0
  62. package/dist/Database/Ensemble/Ensemble.d.ts.map +1 -0
  63. package/dist/Database/Ensemble/Ensemble.js +524 -0
  64. package/dist/Database/Ensemble/Ensemble.js.map +1 -0
  65. package/dist/Database/Ensemble/EnsembleBuilder.d.ts +76 -0
  66. package/dist/Database/Ensemble/EnsembleBuilder.d.ts.map +1 -0
  67. package/dist/Database/Ensemble/EnsembleBuilder.js +154 -0
  68. package/dist/Database/Ensemble/EnsembleBuilder.js.map +1 -0
  69. package/dist/Database/Ensemble/EnsembleCollection.d.ts +137 -0
  70. package/dist/Database/Ensemble/EnsembleCollection.d.ts.map +1 -0
  71. package/dist/Database/Ensemble/EnsembleCollection.js +284 -0
  72. package/dist/Database/Ensemble/EnsembleCollection.js.map +1 -0
  73. package/dist/Database/Ensemble/SoftDeletes.d.ts +41 -0
  74. package/dist/Database/Ensemble/SoftDeletes.d.ts.map +1 -0
  75. package/dist/Database/Ensemble/SoftDeletes.js +22 -0
  76. package/dist/Database/Ensemble/SoftDeletes.js.map +1 -0
  77. package/dist/Database/Query/Builder.d.ts +219 -0
  78. package/dist/Database/Query/Builder.d.ts.map +1 -0
  79. package/dist/Database/Query/Builder.js +554 -0
  80. package/dist/Database/Query/Builder.js.map +1 -0
  81. package/dist/Database/Query/Expression.d.ts +22 -0
  82. package/dist/Database/Query/Expression.d.ts.map +1 -0
  83. package/dist/Database/Query/Expression.js +35 -0
  84. package/dist/Database/Query/Expression.js.map +1 -0
  85. package/dist/Facades/DB.d.ts +7 -0
  86. package/dist/Facades/DB.d.ts.map +1 -0
  87. package/dist/Facades/DB.js +42 -0
  88. package/dist/Facades/DB.js.map +1 -0
  89. package/dist/index.d.ts +18 -0
  90. package/dist/index.d.ts.map +1 -1
  91. package/dist/index.js +27 -1
  92. package/dist/index.js.map +1 -1
  93. package/package.json +13 -5
@@ -0,0 +1,41 @@
1
+ /**
2
+ * HasTimestamps Concern
3
+ *
4
+ * Provides timestamp handling functionality for models
5
+ */
6
+ export interface HasTimestamps {
7
+ /**
8
+ * Indicates if the model should be timestamped
9
+ */
10
+ timestamps: boolean;
11
+ /**
12
+ * Update the model's timestamps
13
+ */
14
+ updateTimestamps(): void;
15
+ /**
16
+ * Set the value of the "created at" attribute
17
+ */
18
+ setCreatedAt(value: Date): void;
19
+ /**
20
+ * Set the value of the "updated at" attribute
21
+ */
22
+ setUpdatedAt(value: Date): void;
23
+ /**
24
+ * Get the name of the "created at" column
25
+ */
26
+ getCreatedAtColumn(): string;
27
+ /**
28
+ * Get the name of the "updated at" column
29
+ */
30
+ getUpdatedAtColumn(): string;
31
+ /**
32
+ * Determine if the model uses timestamps
33
+ */
34
+ usesTimestamps(): boolean;
35
+ }
36
+ /**
37
+ * Default timestamp column names
38
+ */
39
+ export declare const CREATED_AT = "created_at";
40
+ export declare const UPDATED_AT = "updated_at";
41
+ //# sourceMappingURL=HasTimestamps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HasTimestamps.d.ts","sourceRoot":"","sources":["../../../../src/Database/Eloquent/Concerns/HasTimestamps.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,gBAAgB,IAAI,IAAI,CAAC;IAEzB;;OAEG;IACH,YAAY,CAAC,KAAK,EAAE,IAAI,GAAG,IAAI,CAAC;IAEhC;;OAEG;IACH,YAAY,CAAC,KAAK,EAAE,IAAI,GAAG,IAAI,CAAC;IAEhC;;OAEG;IACH,kBAAkB,IAAI,MAAM,CAAC;IAE7B;;OAEG;IACH,kBAAkB,IAAI,MAAM,CAAC;IAE7B;;OAEG;IACH,cAAc,IAAI,OAAO,CAAC;CAC3B;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,eAAe,CAAC;AACvC,eAAO,MAAM,UAAU,eAAe,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * HasTimestamps Concern
4
+ *
5
+ * Provides timestamp handling functionality for models
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.UPDATED_AT = exports.CREATED_AT = void 0;
9
+ /**
10
+ * Default timestamp column names
11
+ */
12
+ exports.CREATED_AT = 'created_at';
13
+ exports.UPDATED_AT = 'updated_at';
14
+ //# sourceMappingURL=HasTimestamps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HasTimestamps.js","sourceRoot":"","sources":["../../../../src/Database/Eloquent/Concerns/HasTimestamps.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAuCH;;GAEG;AACU,QAAA,UAAU,GAAG,YAAY,CAAC;AAC1B,QAAA,UAAU,GAAG,YAAY,CAAC"}
@@ -0,0 +1,265 @@
1
+ /**
2
+ * Model Class
3
+ *
4
+ * Base class for Eloquent models with ActiveRecord pattern
5
+ */
6
+ import { DatabaseManager } from '../DatabaseManager';
7
+ import { Connection } from '../Connection';
8
+ import { Builder as EloquentBuilder } from './Builder';
9
+ export declare abstract class Model {
10
+ /**
11
+ * The connection resolver instance
12
+ */
13
+ protected static connectionResolver: DatabaseManager;
14
+ /**
15
+ * The table associated with the model
16
+ */
17
+ protected table?: string;
18
+ /**
19
+ * The primary key for the model
20
+ */
21
+ protected primaryKey: string;
22
+ /**
23
+ * Indicates if the IDs are auto-incrementing
24
+ */
25
+ protected incrementing: boolean;
26
+ /**
27
+ * The data type of the primary key
28
+ */
29
+ protected keyType: string;
30
+ /**
31
+ * The attributes that are mass assignable
32
+ */
33
+ protected fillable: string[];
34
+ /**
35
+ * The attributes that aren't mass assignable
36
+ */
37
+ protected guarded: string[];
38
+ /**
39
+ * The attributes that should be hidden for serialization
40
+ */
41
+ protected hidden: string[];
42
+ /**
43
+ * The attributes that should be visible for serialization
44
+ */
45
+ protected visible: string[];
46
+ /**
47
+ * The accessors to append to the model's array form
48
+ */
49
+ protected appends: string[];
50
+ /**
51
+ * The attributes that should be cast
52
+ */
53
+ protected casts: Record<string, string>;
54
+ /**
55
+ * Indicates if the model should be timestamped
56
+ */
57
+ protected timestamps: boolean;
58
+ /**
59
+ * The name of the "created at" column
60
+ */
61
+ protected static CREATED_AT: string;
62
+ /**
63
+ * The name of the "updated at" column
64
+ */
65
+ protected static UPDATED_AT: string;
66
+ /**
67
+ * The name of the "deleted at" column (for soft deletes)
68
+ */
69
+ protected static DELETED_AT: string;
70
+ /**
71
+ * The model's attributes
72
+ */
73
+ protected attributes: Record<string, any>;
74
+ /**
75
+ * The model's original attributes
76
+ */
77
+ protected original: Record<string, any>;
78
+ /**
79
+ * Indicates if the model exists in the database
80
+ */
81
+ exists: boolean;
82
+ /**
83
+ * Indicates if the model was inserted during this request
84
+ */
85
+ wasRecentlyCreated: boolean;
86
+ /**
87
+ * The connection name for the model
88
+ */
89
+ protected connection?: string;
90
+ /**
91
+ * Create a new Eloquent model instance
92
+ */
93
+ constructor(attributes?: Record<string, any>);
94
+ /**
95
+ * Fill the model with an array of attributes
96
+ */
97
+ fill(attributes: Record<string, any>): this;
98
+ /**
99
+ * Set a given attribute on the model
100
+ */
101
+ setAttribute(key: string, value: any): this;
102
+ /**
103
+ * Get an attribute from the model
104
+ */
105
+ getAttribute(key: string): any;
106
+ /**
107
+ * Determine if the given attribute may be mass assigned
108
+ */
109
+ protected isFillable(key: string): boolean;
110
+ /**
111
+ * Determine if a get mutator exists for an attribute
112
+ */
113
+ protected hasGetMutator(key: string): boolean;
114
+ /**
115
+ * Determine if a set mutator exists for an attribute
116
+ */
117
+ protected hasSetMutator(key: string): boolean;
118
+ /**
119
+ * Determine if a cast is defined for an attribute
120
+ */
121
+ protected hasCast(key: string): boolean;
122
+ /**
123
+ * Cast an attribute to a native PHP type
124
+ */
125
+ protected castAttribute(key: string, value: any): any;
126
+ /**
127
+ * Convert the model to a plain object
128
+ */
129
+ toObject(): Record<string, any>;
130
+ /**
131
+ * Convert the model to JSON
132
+ */
133
+ toJSON(): Record<string, any>;
134
+ /**
135
+ * Determine if an attribute is visible
136
+ */
137
+ protected isVisible(key: string): boolean;
138
+ /**
139
+ * Get the table associated with the model
140
+ */
141
+ getTable(): string;
142
+ /**
143
+ * Get the primary key for the model
144
+ */
145
+ getKeyName(): string;
146
+ /**
147
+ * Get the value of the model's primary key
148
+ */
149
+ getKey(): any;
150
+ /**
151
+ * Set the connection resolver instance
152
+ */
153
+ static setConnectionResolver(resolver: DatabaseManager): void;
154
+ /**
155
+ * Get the database connection for the model
156
+ */
157
+ getConnection(): Connection;
158
+ /**
159
+ * Begin querying the model
160
+ */
161
+ static query<T extends Model>(this: {
162
+ new (): T;
163
+ }): EloquentBuilder<T>;
164
+ /**
165
+ * Get all of the models from the database
166
+ */
167
+ static all<T extends Model>(this: {
168
+ new (): T;
169
+ }, columns?: string[]): Promise<T[]>;
170
+ /**
171
+ * Find a model by its primary key
172
+ */
173
+ static find<T extends Model>(this: {
174
+ new (): T;
175
+ }, id: any, columns?: string[]): Promise<T | null>;
176
+ /**
177
+ * Find a model by its primary key or throw an exception
178
+ */
179
+ static findOrFail<T extends Model>(this: {
180
+ new (): T;
181
+ }, id: any, columns?: string[]): Promise<T>;
182
+ /**
183
+ * Find multiple models by their primary keys
184
+ */
185
+ static findMany<T extends Model>(this: {
186
+ new (): T;
187
+ }, ids: any[], columns?: string[]): Promise<T[]>;
188
+ /**
189
+ * Create a new instance and save it to the database
190
+ */
191
+ static create<T extends Model>(this: {
192
+ new (attrs?: Record<string, any>): T;
193
+ }, attributes: Record<string, any>): Promise<T>;
194
+ /**
195
+ * Update or create a model matching the attributes
196
+ */
197
+ static updateOrCreate<T extends Model>(this: {
198
+ new (): T;
199
+ }, attributes: Record<string, any>, values?: Record<string, any>): Promise<T>;
200
+ /**
201
+ * Save the model to the database
202
+ */
203
+ save(): Promise<boolean>;
204
+ /**
205
+ * Perform a model insert operation
206
+ */
207
+ protected performInsert(): Promise<boolean>;
208
+ /**
209
+ * Perform a model update operation
210
+ */
211
+ protected performUpdate(): Promise<boolean>;
212
+ /**
213
+ * Update the model's timestamps
214
+ */
215
+ protected updateTimestamps(): void;
216
+ /**
217
+ * Get the attributes that have been changed
218
+ */
219
+ getDirty(): Record<string, any>;
220
+ /**
221
+ * Determine if the given attribute has been changed
222
+ */
223
+ isDirty(attribute?: string): boolean;
224
+ /**
225
+ * Determine if the original value is equivalent to the current value
226
+ */
227
+ protected originalIsEquivalent(key: string, current: any): boolean;
228
+ /**
229
+ * Determine if the given attribute is a date or date castable
230
+ */
231
+ protected isDateAttribute(key: string): boolean;
232
+ /**
233
+ * Compare two dates
234
+ */
235
+ protected compareDates(current: any, original: any): boolean;
236
+ /**
237
+ * Get the attributes for insert
238
+ */
239
+ protected getAttributesForInsert(): Record<string, any>;
240
+ /**
241
+ * Sync the original attributes with the current
242
+ */
243
+ protected syncOriginal(): this;
244
+ /**
245
+ * Delete the model from the database
246
+ */
247
+ delete(): Promise<boolean>;
248
+ /**
249
+ * Reload the current model instance from the database
250
+ */
251
+ refresh(): Promise<this>;
252
+ /**
253
+ * Convert a string to studly case
254
+ */
255
+ protected studly(value: string): string;
256
+ /**
257
+ * Convert a string to snake case
258
+ */
259
+ protected snake(value: string): string;
260
+ /**
261
+ * Pluralize a string (simple implementation)
262
+ */
263
+ protected pluralize(value: string): string;
264
+ }
265
+ //# sourceMappingURL=Model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Model.d.ts","sourceRoot":"","sources":["../../../src/Database/Eloquent/Model.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,WAAW,CAAC;AAEvD,8BAAsB,KAAK;IACzB;;OAEG;IACH,SAAS,CAAC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