@orieljs/framework 0.1.0-alpha.4 → 0.1.0-alpha.6

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/dist/testing.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { A as AnonymousNotifiable, t as AssertableInertia, u as AssertableJson, v as BatchRecord, w as BootOptions, B as BusFake, x as CountOrFilter, D as DatabaseMigrations, y as DatabaseTestOptions, z as DatabaseTransactions, G as DispatchedEvent, E as EventFake, H as ExpectedErrors, F as FakeDisk, J as FakeFile, K as HttpClient, R as InteractsWithApplication, S as InteractsWithConsole, V as InteractsWithDatabase, W as JsonStructure, L as Live, M as MailFake, X as MailRecord, Y as MakesHttpRequests, N as NotificationFake, Z as PendingCommand, _ as PushedJob, Q as QueueFake, $ as RefreshDatabase, a0 as RefreshDatabaseState, a1 as RequestData, a2 as RequestOptions, a3 as ResponseContext, a4 as ResponseCookie, a5 as SentNotification, a6 as StorageFake, a7 as TESTING_ENVIRONMENT, a8 as TableOrModel, T as Target, a9 as TestCase, aa as TestHooks, ab as TestResponse, ac as TestTrait, p as Testable, ad as actingAsAuthFactory, ae as addresses, af as applyEnvironment, ag as cookieHeader, ah as cookiePrefix, ai as decryptCookie, aj as encryptCookie, ak as flatten, al as guessMimeType, am as inertiaPageOf, an as install, ao as isExpired, ap as matches, aq as nameOf, ar as recordingExceptionHandler, as as recordingViewFactory, at as responseCookies, au as runCommand, av as usingInMemoryDatabase } from './testing-D3dCOkTm.js';
1
+ export { A as AnonymousNotifiable, w as AssertableInertia, x as AssertableJson, y as BatchRecord, z as BootOptions, B as BusFake, D as CountOrFilter, F as DatabaseMigrations, G as DatabaseTestOptions, H as DatabaseTransactions, J as DispatchedEvent, E as EventFake, K as ExpectedErrors, R as ExpectedListener, V as FakeDisk, X as FakeFile, Y as HttpClient, Z as InteractsWithApplication, _ as InteractsWithConsole, $ as InteractsWithDatabase, a0 as InteractsWithTime, a1 as JsonStructure, L as Live, M as MailFake, a2 as MailRecord, a3 as MakesHttpRequests, N as NotificationFake, a4 as PendingCommand, a5 as PushedJob, Q as QueueFake, a6 as RefreshDatabase, a7 as RefreshDatabaseState, a8 as RequestData, a9 as RequestOptions, aa as ResponseContext, ab as ResponseCookie, ac as SentNotification, S as StorageFake, ad as TESTING_ENVIRONMENT, ae as TableOrModel, af as Target, ag as TestCase, ah as TestHooks, ai as TestResponse, aj as TestTrait, s as Testable, ak as TravelDate, al as Wormhole, am as actingAsAuthFactory, an as addresses, ao as applyEnvironment, ap as cookieHeader, aq as cookiePrefix, ar as decryptCookie, as as encryptCookie, at as flatten, au as freezeSecond, av as freezeTime, aw as guessMimeType, ax as inertiaPageOf, ay as install, az as isExpired, aA as matches, aB as nameOf, aC as recordingExceptionHandler, aD as recordingViewFactory, aE as responseCookies, aF as runCommand, aG as travel, aH as travelBack, aI as travelTo, aJ as usingInMemoryDatabase } from './testing-BM481Hdz.js';
2
2
  import './contracts.js';
3
- import './index.d-DOlTeG-8.js';
3
+ import './index.d-BJyJx6U1.js';
package/dist/testing.js CHANGED
@@ -12,6 +12,7 @@ import {
12
12
  InteractsWithApplication,
13
13
  InteractsWithConsole,
14
14
  InteractsWithDatabase,
15
+ InteractsWithTime,
15
16
  Live,
16
17
  MailFake,
17
18
  MailRecord,
@@ -26,6 +27,7 @@ import {
26
27
  TestCase,
27
28
  TestResponse,
28
29
  Testable,
30
+ Wormhole,
29
31
  actingAsAuthFactory,
30
32
  addresses,
31
33
  applyEnvironment,
@@ -34,9 +36,11 @@ import {
34
36
  decryptCookie,
35
37
  encryptCookie,
36
38
  flatten,
39
+ freezeSecond,
40
+ freezeTime,
37
41
  guessMimeType,
38
42
  inertiaPageOf,
39
- install,
43
+ install2,
40
44
  isExpired,
41
45
  matches,
42
46
  nameOf,
@@ -44,10 +48,13 @@ import {
44
48
  recordingViewFactory,
45
49
  responseCookies,
46
50
  runCommand,
51
+ travel,
52
+ travelBack,
53
+ travelTo,
47
54
  usingInMemoryDatabase
48
- } from "./chunk-SBZQ6L3Z.js";
49
- import "./chunk-DCI2T7WJ.js";
50
- import "./chunk-WSGWYXAO.js";
55
+ } from "./chunk-ZOEPKBVF.js";
56
+ import "./chunk-POEP4B2M.js";
57
+ import "./chunk-I63ZFMX6.js";
51
58
  export {
52
59
  AnonymousNotifiable,
53
60
  AssertableInertia,
@@ -62,6 +69,7 @@ export {
62
69
  InteractsWithApplication,
63
70
  InteractsWithConsole,
64
71
  InteractsWithDatabase,
72
+ InteractsWithTime,
65
73
  Live,
66
74
  MailFake,
67
75
  MailRecord,
@@ -76,6 +84,7 @@ export {
76
84
  TestCase,
77
85
  TestResponse,
78
86
  Testable,
87
+ Wormhole,
79
88
  actingAsAuthFactory,
80
89
  addresses,
81
90
  applyEnvironment,
@@ -84,9 +93,11 @@ export {
84
93
  decryptCookie,
85
94
  encryptCookie,
86
95
  flatten,
96
+ freezeSecond,
97
+ freezeTime,
87
98
  guessMimeType,
88
99
  inertiaPageOf,
89
- install,
100
+ install2 as install,
90
101
  isExpired,
91
102
  matches,
92
103
  nameOf,
@@ -94,6 +105,9 @@ export {
94
105
  recordingViewFactory,
95
106
  responseCookies,
96
107
  runCommand,
108
+ travel,
109
+ travelBack,
110
+ travelTo,
97
111
  usingInMemoryDatabase
98
112
  };
99
113
  //# sourceMappingURL=testing.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orieljs/framework",
3
- "version": "0.1.0-alpha.4",
3
+ "version": "0.1.0-alpha.6",
4
4
  "description": "Oriel: a Laravel-style, full-stack TypeScript framework for Node.js and Bun.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -56,35 +56,35 @@
56
56
  "pluralize": "8.0.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@orieljs/bus": "0.1.0-alpha.4",
60
- "@orieljs/cache": "0.1.0-alpha.4",
61
- "@orieljs/auth": "0.1.0-alpha.4",
62
- "@orieljs/container": "0.1.0-alpha.4",
63
- "@orieljs/collections": "0.1.0-alpha.4",
64
- "@orieljs/console": "0.1.0-alpha.4",
65
- "@orieljs/contracts": "0.1.0-alpha.4",
66
- "@orieljs/config": "0.1.0-alpha.4",
67
- "@orieljs/cookie": "0.1.0-alpha.4",
68
- "@orieljs/encryption": "0.1.0-alpha.4",
69
- "@orieljs/database": "0.1.0-alpha.4",
70
- "@orieljs/events": "0.1.0-alpha.4",
71
- "@orieljs/filesystem": "0.1.0-alpha.4",
72
- "@orieljs/foundation": "0.1.0-alpha.4",
73
- "@orieljs/hashing": "0.1.0-alpha.4",
74
- "@orieljs/http": "0.1.0-alpha.4",
75
- "@orieljs/inertia": "0.1.0-alpha.4",
76
- "@orieljs/log": "0.1.0-alpha.4",
77
- "@orieljs/mail": "0.1.0-alpha.4",
78
- "@orieljs/notifications": "0.1.0-alpha.4",
79
- "@orieljs/queue": "0.1.0-alpha.4",
80
- "@orieljs/routing": "0.1.0-alpha.4",
81
- "@orieljs/session": "0.1.0-alpha.4",
82
- "@orieljs/support": "0.1.0-alpha.4",
83
- "@orieljs/live": "0.1.0-alpha.4",
84
- "@orieljs/pipeline": "0.1.0-alpha.4",
85
- "@orieljs/view": "0.1.0-alpha.4",
86
- "@orieljs/validation": "0.1.0-alpha.4",
87
- "@orieljs/testing": "0.1.0-alpha.4"
59
+ "@orieljs/auth": "0.1.0-alpha.6",
60
+ "@orieljs/collections": "0.1.0-alpha.6",
61
+ "@orieljs/bus": "0.1.0-alpha.6",
62
+ "@orieljs/cache": "0.1.0-alpha.6",
63
+ "@orieljs/config": "0.1.0-alpha.6",
64
+ "@orieljs/console": "0.1.0-alpha.6",
65
+ "@orieljs/contracts": "0.1.0-alpha.6",
66
+ "@orieljs/container": "0.1.0-alpha.6",
67
+ "@orieljs/cookie": "0.1.0-alpha.6",
68
+ "@orieljs/encryption": "0.1.0-alpha.6",
69
+ "@orieljs/database": "0.1.0-alpha.6",
70
+ "@orieljs/events": "0.1.0-alpha.6",
71
+ "@orieljs/foundation": "0.1.0-alpha.6",
72
+ "@orieljs/filesystem": "0.1.0-alpha.6",
73
+ "@orieljs/hashing": "0.1.0-alpha.6",
74
+ "@orieljs/http": "0.1.0-alpha.6",
75
+ "@orieljs/inertia": "0.1.0-alpha.6",
76
+ "@orieljs/live": "0.1.0-alpha.6",
77
+ "@orieljs/log": "0.1.0-alpha.6",
78
+ "@orieljs/notifications": "0.1.0-alpha.6",
79
+ "@orieljs/pipeline": "0.1.0-alpha.6",
80
+ "@orieljs/mail": "0.1.0-alpha.6",
81
+ "@orieljs/queue": "0.1.0-alpha.6",
82
+ "@orieljs/session": "0.1.0-alpha.6",
83
+ "@orieljs/routing": "0.1.0-alpha.6",
84
+ "@orieljs/support": "0.1.0-alpha.6",
85
+ "@orieljs/testing": "0.1.0-alpha.6",
86
+ "@orieljs/validation": "0.1.0-alpha.6",
87
+ "@orieljs/view": "0.1.0-alpha.6"
88
88
  },
89
89
  "peerDependencies": {
90
90
  "pg": "^8.23.0",