@prisma/orm-framework 8.0.0-rc.24-dev.32 → 8.0.0-rc.24-dev.34
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/guards-Drm14cQA.d.mts +6 -0
- package/dist/guards-Drm14cQA.d.mts.map +1 -0
- package/dist/guards-sylG41ER.mjs +8 -0
- package/dist/guards-sylG41ER.mjs.map +1 -0
- package/dist/utils.d.mts +2 -1
- package/dist/utils.mjs +2 -1
- package/dist/utils__guards.d.mts +2 -0
- package/dist/utils__guards.mjs +2 -0
- package/package.json +18 -17
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guards-Drm14cQA.d.mts","names":[],"sources":["../../../../1-framework/0-foundation/utils/dist/guards.d.mts"],"mappings":";;iBACiB,SAAS,iBAAiB,SAAS"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region ../../../1-framework/0-foundation/utils/dist/guards.mjs
|
|
2
|
+
function isRecord(value) {
|
|
3
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
4
|
+
}
|
|
5
|
+
//#endregion
|
|
6
|
+
export { isRecord as t };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=guards-sylG41ER.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"guards-sylG41ER.mjs","names":[],"sources":["../../../../1-framework/0-foundation/utils/dist/guards.mjs"],"sourcesContent":["//#region src/guards.ts\nfunction isRecord(value) {\n\treturn typeof value === \"object\" && value !== null && !Array.isArray(value);\n}\n//#endregion\nexport { isRecord };\n\n//# sourceMappingURL=guards.mjs.map"],"mappings":";AACA,SAAS,SAAS,OAAO;CACxB,OAAO,OAAO,UAAU,YAAY,UAAU,QAAQ,CAAC,MAAM,QAAQ,KAAK;AAC3E"}
|
package/dist/utils.d.mts
CHANGED
|
@@ -8,6 +8,7 @@ import { n as invariant, t as assertDefined } from "./assertions-BEQnOIQd.mjs";
|
|
|
8
8
|
import { t as canonicalStringify } from "./canonical-stringify-Bl6agy_g.mjs";
|
|
9
9
|
import { n as castAs, t as blindCast } from "./casts-D29CHGrr.mjs";
|
|
10
10
|
import { t as ifDefined } from "./defined-BSXuxrnl.mjs";
|
|
11
|
+
import { t as isRecord } from "./guards-Drm14cQA.mjs";
|
|
11
12
|
import { t as hashContent } from "./hash-content-Bde14N2-.mjs";
|
|
12
13
|
import { n as assertNever, r as isInternalError, t as InternalError } from "./internal-error-2fJ9fcZX.mjs";
|
|
13
14
|
import { t as isThenable } from "./promise-DHJWZv49.mjs";
|
|
@@ -15,4 +16,4 @@ import { n as redactDatabaseUrl, t as RedactedDatabaseUrl } from "./redact-db-ur
|
|
|
15
16
|
import { t as SimplifyDeep } from "./simplify-deep-Dw9I_ZUl.mjs";
|
|
16
17
|
import { t as suppressIdleConnectionErrors } from "./suppress-idle-connection-errors-CKrTbp5P.mjs";
|
|
17
18
|
import { i as withoutTrailing, n as counted, r as utf8ByteLength, t as clipToUtf8Bytes } from "./text-C8_-rheN.mjs";
|
|
18
|
-
export { DOCS_BASE, DOCS_ERRORS_VERSION, type Diagnostic, InternalError, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, type NextAction, type NotOk, type Ok, type RedactedDatabaseUrl, type Result, type Simplify, type SimplifyDeep, type StructuredError, type StructuredErrorOptions, type UnionToIntersection, abortable, and, assertDefined, assertNever, blindCast, canonicalStringify, castAs, clipToUtf8Bytes, counted, docsUrlFor, hashContent, ifDefined, invariant, isArrayEqual, isInternalError, isStructuredError, isStructuredErrorCode, isThenable, notOk, ok, okVoid, or, redactDatabaseUrl, structuredError, suppressIdleConnectionErrors, utf8ByteLength, withoutTrailing };
|
|
19
|
+
export { DOCS_BASE, DOCS_ERRORS_VERSION, type Diagnostic, InternalError, type JsonArray, type JsonObject, type JsonPrimitive, type JsonValue, type NextAction, type NotOk, type Ok, type RedactedDatabaseUrl, type Result, type Simplify, type SimplifyDeep, type StructuredError, type StructuredErrorOptions, type UnionToIntersection, abortable, and, assertDefined, assertNever, blindCast, canonicalStringify, castAs, clipToUtf8Bytes, counted, docsUrlFor, hashContent, ifDefined, invariant, isArrayEqual, isInternalError, isRecord, isStructuredError, isStructuredErrorCode, isThenable, notOk, ok, okVoid, or, redactDatabaseUrl, structuredError, suppressIdleConnectionErrors, utf8ByteLength, withoutTrailing };
|
package/dist/utils.mjs
CHANGED
|
@@ -6,10 +6,11 @@ import { n as assertNever, r as isInternalError, t as InternalError } from "./in
|
|
|
6
6
|
import { t as isArrayEqual } from "./array-equal-28xupwIB.mjs";
|
|
7
7
|
import { t as abortable } from "./abortable-CQO6uG9F.mjs";
|
|
8
8
|
import { n as invariant, t as assertDefined } from "./assertions-Dw1lZz_Q.mjs";
|
|
9
|
+
import { t as isRecord } from "./guards-sylG41ER.mjs";
|
|
9
10
|
import { t as hashContent } from "./hash-content-Bdl-HSfq.mjs";
|
|
10
11
|
import { t as isThenable } from "./promise-D8meygPf.mjs";
|
|
11
12
|
import { t as redactDatabaseUrl } from "./redact-db-url-CRWJWdB1.mjs";
|
|
12
13
|
import { a as or, i as okVoid, n as notOk, r as ok, t as and } from "./result-8OXF26MN.mjs";
|
|
13
14
|
import { t as suppressIdleConnectionErrors } from "./suppress-idle-connection-errors-DzApeUb3.mjs";
|
|
14
15
|
import { i as withoutTrailing, n as counted, r as utf8ByteLength, t as clipToUtf8Bytes } from "./text-C3TTEtgd.mjs";
|
|
15
|
-
export { DOCS_BASE, DOCS_ERRORS_VERSION, InternalError, abortable, and, assertDefined, assertNever, blindCast, canonicalStringify, castAs, clipToUtf8Bytes, counted, docsUrlFor, hashContent, ifDefined, invariant, isArrayEqual, isInternalError, isStructuredError, isStructuredErrorCode, isThenable, notOk, ok, okVoid, or, redactDatabaseUrl, structuredError, suppressIdleConnectionErrors, utf8ByteLength, withoutTrailing };
|
|
16
|
+
export { DOCS_BASE, DOCS_ERRORS_VERSION, InternalError, abortable, and, assertDefined, assertNever, blindCast, canonicalStringify, castAs, clipToUtf8Bytes, counted, docsUrlFor, hashContent, ifDefined, invariant, isArrayEqual, isInternalError, isRecord, isStructuredError, isStructuredErrorCode, isThenable, notOk, ok, okVoid, or, redactDatabaseUrl, structuredError, suppressIdleConnectionErrors, utf8ByteLength, withoutTrailing };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/orm-framework",
|
|
3
|
-
"version": "8.0.0-rc.24-dev.
|
|
3
|
+
"version": "8.0.0-rc.24-dev.34",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -17,22 +17,22 @@
|
|
|
17
17
|
"uniku": "^0.6.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@internal/config": "8.0.0-rc.24-dev.
|
|
21
|
-
"@internal/contract": "8.0.0-rc.24-dev.
|
|
22
|
-
"@internal/contract-authoring": "8.0.0-rc.24-dev.
|
|
23
|
-
"@internal/errors": "8.0.0-rc.24-dev.
|
|
24
|
-
"@internal/framework-components": "8.0.0-rc.24-dev.
|
|
25
|
-
"@internal/ids": "8.0.0-rc.24-dev.
|
|
26
|
-
"@internal/operations": "8.0.0-rc.24-dev.
|
|
27
|
-
"@internal/psl-parser": "8.0.0-rc.24-dev.
|
|
28
|
-
"@internal/psl-printer": "8.0.0-rc.24-dev.
|
|
29
|
-
"@internal/publish-surface": "8.0.0-rc.24-dev.
|
|
30
|
-
"@internal/target-package-config": "8.0.0-rc.24-dev.
|
|
31
|
-
"@internal/ts-render": "8.0.0-rc.24-dev.
|
|
32
|
-
"@internal/type-implementations": "8.0.0-rc.24-dev.
|
|
33
|
-
"@internal/utils": "8.0.0-rc.24-dev.
|
|
34
|
-
"@repo/tsconfig": "8.0.0-rc.24-dev.
|
|
35
|
-
"@repo/tsdown": "8.0.0-rc.24-dev.
|
|
20
|
+
"@internal/config": "8.0.0-rc.24-dev.34",
|
|
21
|
+
"@internal/contract": "8.0.0-rc.24-dev.34",
|
|
22
|
+
"@internal/contract-authoring": "8.0.0-rc.24-dev.34",
|
|
23
|
+
"@internal/errors": "8.0.0-rc.24-dev.34",
|
|
24
|
+
"@internal/framework-components": "8.0.0-rc.24-dev.34",
|
|
25
|
+
"@internal/ids": "8.0.0-rc.24-dev.34",
|
|
26
|
+
"@internal/operations": "8.0.0-rc.24-dev.34",
|
|
27
|
+
"@internal/psl-parser": "8.0.0-rc.24-dev.34",
|
|
28
|
+
"@internal/psl-printer": "8.0.0-rc.24-dev.34",
|
|
29
|
+
"@internal/publish-surface": "8.0.0-rc.24-dev.34",
|
|
30
|
+
"@internal/target-package-config": "8.0.0-rc.24-dev.34",
|
|
31
|
+
"@internal/ts-render": "8.0.0-rc.24-dev.34",
|
|
32
|
+
"@internal/type-implementations": "8.0.0-rc.24-dev.34",
|
|
33
|
+
"@internal/utils": "8.0.0-rc.24-dev.34",
|
|
34
|
+
"@repo/tsconfig": "8.0.0-rc.24-dev.34",
|
|
35
|
+
"@repo/tsdown": "8.0.0-rc.24-dev.34",
|
|
36
36
|
"tsdown": "0.22.14",
|
|
37
37
|
"typescript": "5.9.3",
|
|
38
38
|
"vitest": "5.0.0-rc.2"
|
|
@@ -105,6 +105,7 @@
|
|
|
105
105
|
"./utils/canonical-stringify": "./dist/utils__canonical-stringify.mjs",
|
|
106
106
|
"./utils/casts": "./dist/utils__casts.mjs",
|
|
107
107
|
"./utils/defined": "./dist/utils__defined.mjs",
|
|
108
|
+
"./utils/guards": "./dist/utils__guards.mjs",
|
|
108
109
|
"./utils/hash-content": "./dist/utils__hash-content.mjs",
|
|
109
110
|
"./utils/internal-error": "./dist/utils__internal-error.mjs",
|
|
110
111
|
"./utils/json": "./dist/utils__json.mjs",
|