-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/ga-fullTextIndex' of github.com:prisma/prisma-engi…
…nes into feat/ga-fullTextIndex
- Loading branch information
Showing
44 changed files
with
890 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,9 @@ chrono = { version = "0.4.38", features = ["serde"] } | |
derive_more = "0.99.17" | ||
user-facing-errors = { path = "./libs/user-facing-errors" } | ||
uuid = { version = "1", features = ["serde", "v4", "v7", "js"] } | ||
cuid = { git = "https://github.com/prisma/cuid-rust", branch = "v1.3.3-wasm32-unknown-unknown" } | ||
getrandom = { version = "0.2" } | ||
|
||
indoc = "2.0.1" | ||
indexmap = { version = "2.2.2", features = ["serde"] } | ||
itertools = "0.12" | ||
|
@@ -64,7 +67,6 @@ napi = { version = "2.16.13", default-features = false, features = [ | |
"serde-json", | ||
] } | ||
napi-derive = "2.16.12" | ||
js-sys = { version = "0.3" } | ||
pin-project = "1" | ||
rand = { version = "0.8" } | ||
regex = { version = "1", features = ["std"] } | ||
|
@@ -73,6 +75,11 @@ serde-wasm-bindgen = { version = "0.5" } | |
tracing = { version = "0.1" } | ||
tracing-futures = "0.2" | ||
tsify = { version = "0.4.5" } | ||
|
||
# version for `[email protected]`, see: | ||
# https://github.com/rustwasm/wasm-bindgen/pull/4072/ | ||
js-sys = { version = "0.3.70" } | ||
|
||
wasm-bindgen = { version = "0.2.93" } | ||
wasm-bindgen-futures = { version = "0.4" } | ||
wasm-rs-dbg = { version = "0.1.2", default-features = false, features = ["console-error"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
//! Convenient access to a ID generator constants, used by Prisma in psl, Query Engine and Schema Engine. | ||
//! Every change to the `DEFAULT_*_VERSION` constants in this module is a breaking change. | ||
/// Version of the `uuid()` ID generator supported by Prisma. | ||
pub const UUID_SUPPORTED_VERSIONS: [u8; 2] = [4, 7]; | ||
|
||
/// Version of the `cuid()` ID generator supported by Prisma. | ||
pub const CUID_SUPPORTED_VERSIONS: [u8; 2] = [1, 2]; | ||
|
||
/// Default version of the `uuid()` ID generator. | ||
pub const DEFAULT_UUID_VERSION: u8 = 4; | ||
|
||
/// Default version of the `cuid()` ID generator. | ||
// Note: if you change this, you'll likely need to adapt existing tests that rely on `cuid()` sequences being already sorted | ||
// (e.g., `cuid(1)`, the current default, generates monotonically increasing sequences, `cuid(2)` doesn't). | ||
pub const DEFAULT_CUID_VERSION: u8 = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.