Add files using upload-large-folder tool
Browse files- .env +10 -0
- chainlit-datalayer/node_modules/@prisma/client/README.md +27 -0
- chainlit-datalayer/node_modules/@prisma/client/default.d.ts +1 -0
- chainlit-datalayer/node_modules/@prisma/client/extension.d.ts +1 -0
- chainlit-datalayer/node_modules/@prisma/client/extension.js +4 -0
- chainlit-datalayer/node_modules/@prisma/client/index.d.ts +1 -0
- chainlit-datalayer/node_modules/@prisma/client/package.json +320 -0
- chainlit-datalayer/node_modules/@prisma/client/sql.d.ts +1 -0
- chainlit-datalayer/node_modules/@prisma/client/sql.mjs +1 -0
- chainlit-datalayer/node_modules/@prisma/config/LICENSE +201 -0
- chainlit-datalayer/node_modules/@prisma/config/package.json +36 -0
- chainlit-datalayer/node_modules/@prisma/fetch-engine/LICENSE +201 -0
- chainlit-datalayer/node_modules/@prisma/fetch-engine/README.md +8 -0
- chainlit-datalayer/node_modules/@prisma/fetch-engine/package.json +59 -0
- chainlit-datalayer/node_modules/jiti/dist/babel.cjs +0 -0
- chainlit-datalayer/node_modules/jiti/dist/jiti.cjs +0 -0
- chainlit-datalayer/node_modules/jiti/lib/jiti-cli.mjs +34 -0
- chainlit-datalayer/node_modules/jiti/lib/jiti-hooks.mjs +117 -0
- chainlit-datalayer/node_modules/jiti/lib/jiti-native.mjs +121 -0
- chainlit-datalayer/node_modules/jiti/lib/jiti-register.d.mts +1 -0
- chainlit-datalayer/node_modules/jiti/lib/jiti-register.mjs +4 -0
- chainlit-datalayer/node_modules/jiti/lib/jiti.cjs +23 -0
- chainlit-datalayer/node_modules/jiti/lib/jiti.d.cts +8 -0
- chainlit-datalayer/node_modules/jiti/lib/jiti.d.mts +8 -0
- chainlit-datalayer/node_modules/jiti/lib/jiti.mjs +22 -0
- chainlit-datalayer/node_modules/jiti/lib/types.d.ts +260 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/alert.60ea9f84.svg +5 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/download.8d34b65a.svg +4 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/ellipsis.a8c5a34a.svg +10 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/folder.d77b8eaf.svg +6 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/index.js +0 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/inter-cyrillic-400-normal.ac97a49e.woff2 +0 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/inter-cyrillic-ext-400-normal.f21a6a97.woff2 +0 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/inter-cyrillic-ext-600-normal.bb31f197.woff2 +0 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/inter-greek-400-normal.e9163df8.woff2 +0 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/inter-greek-ext-400-normal.43addcc8.woff2 +0 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/inter-latin-ext-400-normal.5b02c69a.woff2 +0 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/inter-latin-ext-600-normal.88feb9e4.woff2 +0 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/moon.387ab66c.svg +1 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/number.85ddf96b.svg +7 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/object.0ba944a6.svg +5 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/plus.8fbf7ad3.svg +4 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/refresh.d5448ccc.svg +4 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/search.2ed766ce.svg +7 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/settings.5ad25af2.svg +8 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/string.ea615a24.svg +4 -0
- chainlit-datalayer/node_modules/prisma/build/public/assets/tick-indeterminate.aec8a44d.svg +3 -0
- chainlit-datalayer/node_modules/prisma/build/public/pages/http/databrowser.html +21 -0
- chainlit-datalayer/node_modules/prisma/build/public/pages/http/splash.html +21 -0
- chainlit-datalayer/node_modules/prisma/dist/cli/src/types.d.ts +1 -0
.env
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CHAINLIT_AUTH_SECRET="C@odmUUt5H4$%UPob*zQDXcl=:q_fjXwFwlE-9cuXA?LjofbpbrHwsKA7SE5Fh6A"
|
| 2 |
+
|
| 3 |
+
# DATABASE_URL=postgresql://root:root@localhost:5432/postgres
|
| 4 |
+
|
| 5 |
+
# # S3 configuration.
|
| 6 |
+
# BUCKET_NAME=my-bucket
|
| 7 |
+
# APP_AWS_ACCESS_KEY=random-key
|
| 8 |
+
# APP_AWS_SECRET_KEY=random-key
|
| 9 |
+
# APP_AWS_REGION=eu-central-1
|
| 10 |
+
# DEV_AWS_ENDPOINT=http://localhost:4566
|
chainlit-datalayer/node_modules/@prisma/client/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Prisma Client · [](https://www.npmjs.com/package/@prisma/client) [](https://github.com/prisma/prisma/blob/main/CONTRIBUTING.md) [](https://github.com/prisma/prisma/blob/main/LICENSE) [](https://pris.ly/discord)
|
| 2 |
+
|
| 3 |
+
Prisma Client JS is an **auto-generated query builder** that enables **type-safe** database access and **reduces boilerplate**. You can use it as an alternative to traditional ORMs such as Sequelize, TypeORM or SQL query builders like knex.js.
|
| 4 |
+
|
| 5 |
+
It is part of the [Prisma](https://www.prisma.io/) ecosystem. Prisma provides database tools for data access, declarative data modeling, schema migrations and visual data management. Learn more in the main [`prisma`](https://github.com/prisma/prisma/) repository or read the [documentation](https://www.prisma.io/docs/).
|
| 6 |
+
|
| 7 |
+
## Getting started
|
| 8 |
+
|
| 9 |
+
Follow one of these guides to get started with Prisma Client JS:
|
| 10 |
+
|
| 11 |
+
- [Quickstart](https://www.prisma.io/docs/getting-started/quickstart) (5 min)
|
| 12 |
+
- [Set up a new project with Prisma (SQL migrations)](https://www.prisma.io/docs/getting-started/setup-prisma/start-from-scratch-sql) (15 min)
|
| 13 |
+
- [Set up a new project with Prisma (Prisma Migrate)](https://www.prisma.io/docs/getting-started/setup-prisma/start-from-scratch-prisma-migrate) (15 min)
|
| 14 |
+
- [Add Prisma to an existing project](https://www.prisma.io/docs/getting-started/setup-prisma/add-to-existing-project) (15 min)
|
| 15 |
+
|
| 16 |
+
Alternatively you can explore the ready-to-run [examples](https://github.com/prisma/prisma-examples/) (REST, GraphQL, gRPC, plain JavaScript and TypeScript demos, ...) or watch the [demo videos](https://www.youtube.com/watch?v=0RhtQgIs-TE&list=PLn2e1F9Rfr6k9PnR_figWOcSHgc_erDr5&index=1) (1-2 min per video).
|
| 17 |
+
|
| 18 |
+
## Contributing
|
| 19 |
+
|
| 20 |
+
Refer to our [contribution guidelines](https://github.com/prisma/prisma/blob/main/CONTRIBUTING.md) and [Code of Conduct for contributors](https://github.com/prisma/prisma/blob/main/CODE_OF_CONDUCT.md).
|
| 21 |
+
|
| 22 |
+
## Tests Status
|
| 23 |
+
|
| 24 |
+
- Prisma Tests Status:
|
| 25 |
+
[](https://github.com/prisma/prisma/actions/workflows/test.yml)
|
| 26 |
+
- Ecosystem Tests Status:
|
| 27 |
+
[](https://github.com/prisma/ecosystem-tests/actions)
|
chainlit-datalayer/node_modules/@prisma/client/default.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export * from '.prisma/client/default'
|
chainlit-datalayer/node_modules/@prisma/client/extension.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export * from './scripts/default-index'
|
chainlit-datalayer/node_modules/@prisma/client/extension.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
module.exports = {
|
| 2 |
+
// https://github.com/prisma/prisma/pull/12907
|
| 3 |
+
...require('./scripts/default-index'),
|
| 4 |
+
}
|
chainlit-datalayer/node_modules/@prisma/client/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export * from '.prisma/client/default'
|
chainlit-datalayer/node_modules/@prisma/client/package.json
ADDED
|
@@ -0,0 +1,320 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@prisma/client",
|
| 3 |
+
"version": "6.10.1",
|
| 4 |
+
"description": "Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.",
|
| 5 |
+
"keywords": [
|
| 6 |
+
"ORM",
|
| 7 |
+
"Prisma",
|
| 8 |
+
"prisma2",
|
| 9 |
+
"Prisma Client",
|
| 10 |
+
"client",
|
| 11 |
+
"query",
|
| 12 |
+
"query-builder",
|
| 13 |
+
"database",
|
| 14 |
+
"db",
|
| 15 |
+
"JavaScript",
|
| 16 |
+
"JS",
|
| 17 |
+
"TypeScript",
|
| 18 |
+
"TS",
|
| 19 |
+
"SQL",
|
| 20 |
+
"SQLite",
|
| 21 |
+
"pg",
|
| 22 |
+
"Postgres",
|
| 23 |
+
"PostgreSQL",
|
| 24 |
+
"CockroachDB",
|
| 25 |
+
"MySQL",
|
| 26 |
+
"MariaDB",
|
| 27 |
+
"MSSQL",
|
| 28 |
+
"SQL Server",
|
| 29 |
+
"SQLServer",
|
| 30 |
+
"MongoDB",
|
| 31 |
+
"react-native"
|
| 32 |
+
],
|
| 33 |
+
"main": "default.js",
|
| 34 |
+
"types": "default.d.ts",
|
| 35 |
+
"browser": "index-browser.js",
|
| 36 |
+
"exports": {
|
| 37 |
+
"./package.json": "./package.json",
|
| 38 |
+
".": {
|
| 39 |
+
"require": {
|
| 40 |
+
"types": "./default.d.ts",
|
| 41 |
+
"node": "./default.js",
|
| 42 |
+
"edge-light": "./default.js",
|
| 43 |
+
"workerd": "./default.js",
|
| 44 |
+
"worker": "./default.js",
|
| 45 |
+
"browser": "./index-browser.js"
|
| 46 |
+
},
|
| 47 |
+
"import": {
|
| 48 |
+
"types": "./default.d.ts",
|
| 49 |
+
"node": "./default.js",
|
| 50 |
+
"edge-light": "./default.js",
|
| 51 |
+
"workerd": "./default.js",
|
| 52 |
+
"worker": "./default.js",
|
| 53 |
+
"browser": "./index-browser.js"
|
| 54 |
+
},
|
| 55 |
+
"default": "./default.js"
|
| 56 |
+
},
|
| 57 |
+
"./edge": {
|
| 58 |
+
"types": "./edge.d.ts",
|
| 59 |
+
"require": "./edge.js",
|
| 60 |
+
"import": "./edge.js",
|
| 61 |
+
"default": "./edge.js"
|
| 62 |
+
},
|
| 63 |
+
"./react-native": {
|
| 64 |
+
"types": "./react-native.d.ts",
|
| 65 |
+
"require": "./react-native.js",
|
| 66 |
+
"import": "./react-native.js",
|
| 67 |
+
"default": "./react-native.js"
|
| 68 |
+
},
|
| 69 |
+
"./extension": {
|
| 70 |
+
"types": "./extension.d.ts",
|
| 71 |
+
"require": "./extension.js",
|
| 72 |
+
"import": "./extension.js",
|
| 73 |
+
"default": "./extension.js"
|
| 74 |
+
},
|
| 75 |
+
"./index-browser": {
|
| 76 |
+
"types": "./index.d.ts",
|
| 77 |
+
"require": "./index-browser.js",
|
| 78 |
+
"import": "./index-browser.js",
|
| 79 |
+
"default": "./index-browser.js"
|
| 80 |
+
},
|
| 81 |
+
"./index": {
|
| 82 |
+
"types": "./index.d.ts",
|
| 83 |
+
"require": "./index.js",
|
| 84 |
+
"import": "./index.js",
|
| 85 |
+
"default": "./index.js"
|
| 86 |
+
},
|
| 87 |
+
"./wasm": {
|
| 88 |
+
"types": "./wasm.d.ts",
|
| 89 |
+
"require": "./wasm.js",
|
| 90 |
+
"import": "./wasm.mjs",
|
| 91 |
+
"default": "./wasm.mjs"
|
| 92 |
+
},
|
| 93 |
+
"./runtime/client": {
|
| 94 |
+
"types": "./runtime/client.d.ts",
|
| 95 |
+
"require": "./runtime/client.js",
|
| 96 |
+
"import": "./runtime/client.mjs",
|
| 97 |
+
"default": "./runtime/client.mjs"
|
| 98 |
+
},
|
| 99 |
+
"./runtime/library": {
|
| 100 |
+
"types": "./runtime/library.d.ts",
|
| 101 |
+
"require": "./runtime/library.js",
|
| 102 |
+
"import": "./runtime/library.mjs",
|
| 103 |
+
"default": "./runtime/library.mjs"
|
| 104 |
+
},
|
| 105 |
+
"./runtime/binary": {
|
| 106 |
+
"types": "./runtime/binary.d.ts",
|
| 107 |
+
"require": "./runtime/binary.js",
|
| 108 |
+
"import": "./runtime/binary.mjs",
|
| 109 |
+
"default": "./runtime/binary.mjs"
|
| 110 |
+
},
|
| 111 |
+
"./runtime/wasm-engine-edge": {
|
| 112 |
+
"types": "./runtime/wasm-engine-edge.d.ts",
|
| 113 |
+
"require": "./runtime/wasm-engine-edge.js",
|
| 114 |
+
"import": "./runtime/wasm-engine-edge.mjs",
|
| 115 |
+
"default": "./runtime/wasm-engine-edge.mjs"
|
| 116 |
+
},
|
| 117 |
+
"./runtime/wasm-compiler-edge": {
|
| 118 |
+
"types": "./runtime/wasm-compiler-edge.d.ts",
|
| 119 |
+
"require": "./runtime/wasm-compiler-edge.js",
|
| 120 |
+
"import": "./runtime/wasm-compiler-edge.mjs",
|
| 121 |
+
"default": "./runtime/wasm-compiler-edge.mjs"
|
| 122 |
+
},
|
| 123 |
+
"./runtime/edge": {
|
| 124 |
+
"types": "./runtime/edge.d.ts",
|
| 125 |
+
"require": "./runtime/edge.js",
|
| 126 |
+
"import": "./runtime/edge-esm.js",
|
| 127 |
+
"default": "./runtime/edge-esm.js"
|
| 128 |
+
},
|
| 129 |
+
"./runtime/react-native": {
|
| 130 |
+
"types": "./runtime/react-native.d.ts",
|
| 131 |
+
"require": "./runtime/react-native.js",
|
| 132 |
+
"import": "./runtime/react-native.js",
|
| 133 |
+
"default": "./runtime/react-native.js"
|
| 134 |
+
},
|
| 135 |
+
"./generator-build": {
|
| 136 |
+
"require": "./generator-build/index.js",
|
| 137 |
+
"import": "./generator-build/index.js",
|
| 138 |
+
"default": "./generator-build/index.js"
|
| 139 |
+
},
|
| 140 |
+
"./sql": {
|
| 141 |
+
"require": {
|
| 142 |
+
"types": "./sql.d.ts",
|
| 143 |
+
"node": "./sql.js",
|
| 144 |
+
"default": "./sql.js"
|
| 145 |
+
},
|
| 146 |
+
"import": {
|
| 147 |
+
"types": "./sql.d.ts",
|
| 148 |
+
"node": "./sql.mjs",
|
| 149 |
+
"default": "./sql.mjs"
|
| 150 |
+
},
|
| 151 |
+
"default": "./sql.js"
|
| 152 |
+
},
|
| 153 |
+
"./*": "./*"
|
| 154 |
+
},
|
| 155 |
+
"license": "Apache-2.0",
|
| 156 |
+
"engines": {
|
| 157 |
+
"node": ">=18.18"
|
| 158 |
+
},
|
| 159 |
+
"homepage": "https://www.prisma.io",
|
| 160 |
+
"repository": {
|
| 161 |
+
"type": "git",
|
| 162 |
+
"url": "https://github.com/prisma/prisma.git",
|
| 163 |
+
"directory": "packages/client"
|
| 164 |
+
},
|
| 165 |
+
"author": "Tim Suchanek <suchanek@prisma.io>",
|
| 166 |
+
"bugs": "https://github.com/prisma/prisma/issues",
|
| 167 |
+
"files": [
|
| 168 |
+
"README.md",
|
| 169 |
+
"runtime",
|
| 170 |
+
"!runtime/*.map",
|
| 171 |
+
"scripts",
|
| 172 |
+
"generator-build",
|
| 173 |
+
"edge.js",
|
| 174 |
+
"edge.d.ts",
|
| 175 |
+
"wasm.js",
|
| 176 |
+
"wasm.d.ts",
|
| 177 |
+
"index.js",
|
| 178 |
+
"index.d.ts",
|
| 179 |
+
"react-native.js",
|
| 180 |
+
"react-native.d.ts",
|
| 181 |
+
"default.js",
|
| 182 |
+
"default.d.ts",
|
| 183 |
+
"index-browser.js",
|
| 184 |
+
"extension.js",
|
| 185 |
+
"extension.d.ts",
|
| 186 |
+
"sql.d.ts",
|
| 187 |
+
"sql.js",
|
| 188 |
+
"sql.mjs"
|
| 189 |
+
],
|
| 190 |
+
"devDependencies": {
|
| 191 |
+
"@cloudflare/workers-types": "4.20250214.0",
|
| 192 |
+
"@codspeed/benchmark.js-plugin": "4.0.0",
|
| 193 |
+
"@faker-js/faker": "9.6.0",
|
| 194 |
+
"@fast-check/jest": "2.0.3",
|
| 195 |
+
"@inquirer/prompts": "7.3.3",
|
| 196 |
+
"@jest/create-cache-key-function": "29.7.0",
|
| 197 |
+
"@jest/globals": "29.7.0",
|
| 198 |
+
"@jest/test-sequencer": "29.7.0",
|
| 199 |
+
"@libsql/client": "0.8.0",
|
| 200 |
+
"@neondatabase/serverless": "0.10.2",
|
| 201 |
+
"@opentelemetry/api": "1.9.0",
|
| 202 |
+
"@opentelemetry/context-async-hooks": "2.0.0",
|
| 203 |
+
"@opentelemetry/instrumentation": "0.57.2",
|
| 204 |
+
"@opentelemetry/resources": "1.30.1",
|
| 205 |
+
"@opentelemetry/sdk-trace-base": "1.30.1",
|
| 206 |
+
"@opentelemetry/semantic-conventions": "1.30.0",
|
| 207 |
+
"@planetscale/database": "1.19.0",
|
| 208 |
+
"@prisma/engines-version": "6.10.1-1.9b628578b3b7cae625e8c927178f15a170e74a9c",
|
| 209 |
+
"@prisma/mini-proxy": "0.9.5",
|
| 210 |
+
"@prisma/query-compiler-wasm": "6.10.1-1.9b628578b3b7cae625e8c927178f15a170e74a9c",
|
| 211 |
+
"@prisma/query-engine-wasm": "6.10.1-1.9b628578b3b7cae625e8c927178f15a170e74a9c",
|
| 212 |
+
"@snaplet/copycat": "6.0.0",
|
| 213 |
+
"@swc-node/register": "1.10.9",
|
| 214 |
+
"@swc/core": "1.11.5",
|
| 215 |
+
"@swc/jest": "0.2.37",
|
| 216 |
+
"@timsuchanek/copy": "1.4.5",
|
| 217 |
+
"@types/debug": "4.1.12",
|
| 218 |
+
"@types/fs-extra": "11.0.4",
|
| 219 |
+
"@types/jest": "29.5.14",
|
| 220 |
+
"@types/js-levenshtein": "1.1.3",
|
| 221 |
+
"@types/mssql": "9.1.5",
|
| 222 |
+
"@types/node": "18.19.76",
|
| 223 |
+
"@types/pg": "8.11.11",
|
| 224 |
+
"arg": "5.0.2",
|
| 225 |
+
"benchmark": "2.1.4",
|
| 226 |
+
"decimal.js": "10.5.0",
|
| 227 |
+
"esbuild": "0.25.1",
|
| 228 |
+
"execa": "5.1.1",
|
| 229 |
+
"expect-type": "1.2.0",
|
| 230 |
+
"fs-extra": "11.3.0",
|
| 231 |
+
"get-stream": "6.0.1",
|
| 232 |
+
"globby": "11.1.0",
|
| 233 |
+
"indent-string": "4.0.0",
|
| 234 |
+
"jest": "29.7.0",
|
| 235 |
+
"jest-extended": "4.0.2",
|
| 236 |
+
"jest-junit": "16.0.0",
|
| 237 |
+
"jest-serializer-ansi-escapes": "4.0.0",
|
| 238 |
+
"jest-snapshot": "29.7.0",
|
| 239 |
+
"js-levenshtein": "1.1.6",
|
| 240 |
+
"kleur": "4.1.5",
|
| 241 |
+
"klona": "2.0.6",
|
| 242 |
+
"mariadb": "3.4.0",
|
| 243 |
+
"memfs": "4.17.0",
|
| 244 |
+
"mssql": "11.0.1",
|
| 245 |
+
"new-github-issue-url": "0.2.1",
|
| 246 |
+
"p-retry": "4.6.2",
|
| 247 |
+
"pg": "8.14.1",
|
| 248 |
+
"resolve": "1.22.10",
|
| 249 |
+
"rimraf": "6.0.1",
|
| 250 |
+
"simple-statistics": "7.8.8",
|
| 251 |
+
"sort-keys": "5.1.0",
|
| 252 |
+
"source-map-support": "0.5.21",
|
| 253 |
+
"sql-template-tag": "5.2.1",
|
| 254 |
+
"stacktrace-parser": "0.1.11",
|
| 255 |
+
"strip-ansi": "6.0.1",
|
| 256 |
+
"strip-indent": "4.0.0",
|
| 257 |
+
"tempy": "3.0.0",
|
| 258 |
+
"ts-node": "10.9.2",
|
| 259 |
+
"ts-pattern": "5.6.2",
|
| 260 |
+
"tsd": "0.31.2",
|
| 261 |
+
"typescript": "5.4.5",
|
| 262 |
+
"undici": "7.4.0",
|
| 263 |
+
"wrangler": "3.111.0",
|
| 264 |
+
"zx": "8.4.1",
|
| 265 |
+
"@prisma/adapter-better-sqlite3": "6.10.1",
|
| 266 |
+
"@prisma/adapter-d1": "6.10.1",
|
| 267 |
+
"@prisma/adapter-mssql": "6.10.1",
|
| 268 |
+
"@prisma/adapter-neon": "6.10.1",
|
| 269 |
+
"@prisma/adapter-pg": "6.10.1",
|
| 270 |
+
"@prisma/adapter-libsql": "6.10.1",
|
| 271 |
+
"@prisma/adapter-planetscale": "6.10.1",
|
| 272 |
+
"@prisma/client-common": "6.10.1",
|
| 273 |
+
"@prisma/client-engine-runtime": "6.10.1",
|
| 274 |
+
"@prisma/client-generator-js": "6.10.1",
|
| 275 |
+
"@prisma/config": "6.10.1",
|
| 276 |
+
"@prisma/debug": "6.10.1",
|
| 277 |
+
"@prisma/dmmf": "6.10.1",
|
| 278 |
+
"@prisma/driver-adapter-utils": "6.10.1",
|
| 279 |
+
"@prisma/engines": "6.10.1",
|
| 280 |
+
"@prisma/fetch-engine": "6.10.1",
|
| 281 |
+
"@prisma/generator": "6.10.1",
|
| 282 |
+
"@prisma/generator-helper": "6.10.1",
|
| 283 |
+
"@prisma/get-platform": "6.10.1",
|
| 284 |
+
"@prisma/client-generator-ts": "6.10.1",
|
| 285 |
+
"@prisma/instrumentation": "6.10.1",
|
| 286 |
+
"@prisma/migrate": "6.10.1",
|
| 287 |
+
"@prisma/ts-builders": "6.10.1",
|
| 288 |
+
"@prisma/internals": "6.10.1"
|
| 289 |
+
},
|
| 290 |
+
"peerDependencies": {
|
| 291 |
+
"prisma": "*",
|
| 292 |
+
"typescript": ">=5.1.0"
|
| 293 |
+
},
|
| 294 |
+
"peerDependenciesMeta": {
|
| 295 |
+
"prisma": {
|
| 296 |
+
"optional": true
|
| 297 |
+
},
|
| 298 |
+
"typescript": {
|
| 299 |
+
"optional": true
|
| 300 |
+
}
|
| 301 |
+
},
|
| 302 |
+
"sideEffects": false,
|
| 303 |
+
"scripts": {
|
| 304 |
+
"dev": "DEV=true tsx helpers/build.ts",
|
| 305 |
+
"build": "tsx helpers/build.ts",
|
| 306 |
+
"test": "dotenv -e ../../.db.env -- jest --silent",
|
| 307 |
+
"test:e2e": "dotenv -e ../../.db.env -- tsx tests/e2e/_utils/run.ts",
|
| 308 |
+
"test:functional": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts",
|
| 309 |
+
"test:functional:client": "pnpm run test:functional --client-runtime client --preview-features driverAdapters,queryCompiler --engine-type client --runInBand --json --outputFile tests/functional/results.json",
|
| 310 |
+
"test:memory": "dotenv -e ../../.db.env -- tsx helpers/memory-tests.ts",
|
| 311 |
+
"test:functional:code": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --no-types",
|
| 312 |
+
"test:functional:types": "dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --types-only",
|
| 313 |
+
"test:knownQueryCompilerFailures:check": "tsx helpers/functional-test/check-known-failures.ts",
|
| 314 |
+
"test:knownQueryCompilerFailures:record": "tsx helpers/functional-test/check-known-failures.ts --record",
|
| 315 |
+
"test-notypes": "dotenv -e ../../.db.env -- jest --testPathIgnorePatterns src/__tests__/types/types.test.ts",
|
| 316 |
+
"generate": "node scripts/postinstall.js",
|
| 317 |
+
"postinstall": "node scripts/postinstall.js",
|
| 318 |
+
"new-test": "tsx ./helpers/new-test/new-test.ts"
|
| 319 |
+
}
|
| 320 |
+
}
|
chainlit-datalayer/node_modules/@prisma/client/sql.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export * from '.prisma/client/sql'
|
chainlit-datalayer/node_modules/@prisma/client/sql.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export * from '../../.prisma/client/sql/index.mjs'
|
chainlit-datalayer/node_modules/@prisma/config/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
| 175 |
+
|
| 176 |
+
END OF TERMS AND CONDITIONS
|
| 177 |
+
|
| 178 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 179 |
+
|
| 180 |
+
To apply the Apache License to your work, attach the following
|
| 181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 182 |
+
replaced with your own identifying information. (Don't include
|
| 183 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 184 |
+
comment syntax for the file format. We also recommend that a
|
| 185 |
+
file or class name and description of purpose be included on the
|
| 186 |
+
same "printed page" as the copyright notice for easier
|
| 187 |
+
identification within third-party archives.
|
| 188 |
+
|
| 189 |
+
Copyright [yyyy] [name of copyright owner]
|
| 190 |
+
|
| 191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 192 |
+
you may not use this file except in compliance with the License.
|
| 193 |
+
You may obtain a copy of the License at
|
| 194 |
+
|
| 195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 196 |
+
|
| 197 |
+
Unless required by applicable law or agreed to in writing, software
|
| 198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 200 |
+
See the License for the specific language governing permissions and
|
| 201 |
+
limitations under the License.
|
chainlit-datalayer/node_modules/@prisma/config/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@prisma/config",
|
| 3 |
+
"version": "6.10.1",
|
| 4 |
+
"description": "Internal package used to define and read Prisma configuration files",
|
| 5 |
+
"main": "dist/index.js",
|
| 6 |
+
"types": "dist/index.d.ts",
|
| 7 |
+
"repository": {
|
| 8 |
+
"type": "git",
|
| 9 |
+
"url": "https://github.com/prisma/prisma.git",
|
| 10 |
+
"directory": "packages/config"
|
| 11 |
+
},
|
| 12 |
+
"license": "Apache-2.0",
|
| 13 |
+
"author": "Alberto Schiabel <schiabel@prisma.io>",
|
| 14 |
+
"dependencies": {
|
| 15 |
+
"jiti": "2.4.2"
|
| 16 |
+
},
|
| 17 |
+
"devDependencies": {
|
| 18 |
+
"@swc/core": "1.11.5",
|
| 19 |
+
"@swc/jest": "0.2.37",
|
| 20 |
+
"effect": "3.12.10",
|
| 21 |
+
"jest": "29.7.0",
|
| 22 |
+
"jest-junit": "16.0.0",
|
| 23 |
+
"cross-env": "7.0.3",
|
| 24 |
+
"@prisma/driver-adapter-utils": "6.10.1",
|
| 25 |
+
"@prisma/get-platform": "6.10.1"
|
| 26 |
+
},
|
| 27 |
+
"files": [
|
| 28 |
+
"dist"
|
| 29 |
+
],
|
| 30 |
+
"sideEffects": false,
|
| 31 |
+
"scripts": {
|
| 32 |
+
"dev": "DEV=true tsx helpers/build.ts",
|
| 33 |
+
"build": "tsx helpers/build.ts",
|
| 34 |
+
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest"
|
| 35 |
+
}
|
| 36 |
+
}
|
chainlit-datalayer/node_modules/@prisma/fetch-engine/LICENSE
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
| 175 |
+
|
| 176 |
+
END OF TERMS AND CONDITIONS
|
| 177 |
+
|
| 178 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 179 |
+
|
| 180 |
+
To apply the Apache License to your work, attach the following
|
| 181 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 182 |
+
replaced with your own identifying information. (Don't include
|
| 183 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 184 |
+
comment syntax for the file format. We also recommend that a
|
| 185 |
+
file or class name and description of purpose be included on the
|
| 186 |
+
same "printed page" as the copyright notice for easier
|
| 187 |
+
identification within third-party archives.
|
| 188 |
+
|
| 189 |
+
Copyright [yyyy] [name of copyright owner]
|
| 190 |
+
|
| 191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 192 |
+
you may not use this file except in compliance with the License.
|
| 193 |
+
You may obtain a copy of the License at
|
| 194 |
+
|
| 195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 196 |
+
|
| 197 |
+
Unless required by applicable law or agreed to in writing, software
|
| 198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 200 |
+
See the License for the specific language governing permissions and
|
| 201 |
+
limitations under the License.
|
chainlit-datalayer/node_modules/@prisma/fetch-engine/README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# @prisma/fetch-engine
|
| 2 |
+
|
| 3 |
+
Responsible for downloading and caching the latest Rust binary
|
| 4 |
+
|
| 5 |
+
⚠️ **Warning**: This package is intended for Prisma's internal use.
|
| 6 |
+
Its release cycle does not follow SemVer, which means we might release breaking changes (change APIs, remove functionality) without any prior warning.
|
| 7 |
+
|
| 8 |
+
If you are using this package, it would be helpful if you could help us gain an understanding where, how and why you are using it. Your feedback will be valuable to us to define a better API. Please share this information at https://github.com/prisma/prisma/discussions/13877 - Thanks!
|
chainlit-datalayer/node_modules/@prisma/fetch-engine/package.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "@prisma/fetch-engine",
|
| 3 |
+
"version": "6.10.1",
|
| 4 |
+
"description": "This package is intended for Prisma's internal use",
|
| 5 |
+
"main": "dist/index.js",
|
| 6 |
+
"types": "dist/index.d.ts",
|
| 7 |
+
"license": "Apache-2.0",
|
| 8 |
+
"author": "Tim Suchanek <suchanek@prisma.io>",
|
| 9 |
+
"homepage": "https://www.prisma.io",
|
| 10 |
+
"repository": {
|
| 11 |
+
"type": "git",
|
| 12 |
+
"url": "https://github.com/prisma/prisma.git",
|
| 13 |
+
"directory": "packages/fetch-engine"
|
| 14 |
+
},
|
| 15 |
+
"bugs": "https://github.com/prisma/prisma/issues",
|
| 16 |
+
"enginesOverride": {},
|
| 17 |
+
"devDependencies": {
|
| 18 |
+
"@swc/core": "1.11.5",
|
| 19 |
+
"@swc/jest": "0.2.37",
|
| 20 |
+
"@types/jest": "29.5.14",
|
| 21 |
+
"@types/node": "18.19.76",
|
| 22 |
+
"@types/progress": "2.0.7",
|
| 23 |
+
"del": "6.1.1",
|
| 24 |
+
"execa": "5.1.1",
|
| 25 |
+
"find-cache-dir": "5.0.0",
|
| 26 |
+
"fs-extra": "11.3.0",
|
| 27 |
+
"hasha": "5.2.2",
|
| 28 |
+
"http-proxy-agent": "7.0.2",
|
| 29 |
+
"https-proxy-agent": "7.0.6",
|
| 30 |
+
"jest": "29.7.0",
|
| 31 |
+
"kleur": "4.1.5",
|
| 32 |
+
"node-fetch": "3.3.2",
|
| 33 |
+
"p-filter": "4.1.0",
|
| 34 |
+
"p-map": "4.0.0",
|
| 35 |
+
"p-retry": "4.6.2",
|
| 36 |
+
"progress": "2.0.3",
|
| 37 |
+
"rimraf": "6.0.1",
|
| 38 |
+
"strip-ansi": "6.0.1",
|
| 39 |
+
"temp-dir": "2.0.0",
|
| 40 |
+
"tempy": "1.0.1",
|
| 41 |
+
"timeout-signal": "2.0.0",
|
| 42 |
+
"typescript": "5.4.5"
|
| 43 |
+
},
|
| 44 |
+
"dependencies": {
|
| 45 |
+
"@prisma/engines-version": "6.10.1-1.9b628578b3b7cae625e8c927178f15a170e74a9c",
|
| 46 |
+
"@prisma/debug": "6.10.1",
|
| 47 |
+
"@prisma/get-platform": "6.10.1"
|
| 48 |
+
},
|
| 49 |
+
"files": [
|
| 50 |
+
"README.md",
|
| 51 |
+
"dist"
|
| 52 |
+
],
|
| 53 |
+
"sideEffects": false,
|
| 54 |
+
"scripts": {
|
| 55 |
+
"dev": "DEV=true tsx helpers/build.ts",
|
| 56 |
+
"build": "tsx helpers/build.ts",
|
| 57 |
+
"test": "jest"
|
| 58 |
+
}
|
| 59 |
+
}
|
chainlit-datalayer/node_modules/jiti/dist/babel.cjs
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
chainlit-datalayer/node_modules/jiti/dist/jiti.cjs
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
chainlit-datalayer/node_modules/jiti/lib/jiti-cli.mjs
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env node
|
| 2 |
+
|
| 3 |
+
import { resolve } from "node:path";
|
| 4 |
+
import nodeModule from "node:module";
|
| 5 |
+
|
| 6 |
+
const script = process.argv.splice(2, 1)[0];
|
| 7 |
+
|
| 8 |
+
if (!script) {
|
| 9 |
+
console.error("Usage: jiti <path> [...arguments]");
|
| 10 |
+
process.exit(1);
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
// https://nodejs.org/api/module.html#moduleenablecompilecachecachedir
|
| 14 |
+
// https://github.com/nodejs/node/pull/54501
|
| 15 |
+
if (nodeModule.enableCompileCache && !process.env.NODE_DISABLE_COMPILE_CACHE) {
|
| 16 |
+
try {
|
| 17 |
+
nodeModule.enableCompileCache();
|
| 18 |
+
} catch {
|
| 19 |
+
// Ignore errors
|
| 20 |
+
}
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
const pwd = process.cwd();
|
| 24 |
+
|
| 25 |
+
const { createJiti } = await import("./jiti.cjs");
|
| 26 |
+
|
| 27 |
+
const jiti = createJiti(pwd);
|
| 28 |
+
|
| 29 |
+
const resolved = (process.argv[1] = jiti.resolve(resolve(pwd, script)));
|
| 30 |
+
|
| 31 |
+
await jiti.import(resolved).catch((error) => {
|
| 32 |
+
console.error(error);
|
| 33 |
+
process.exit(1);
|
| 34 |
+
});
|
chainlit-datalayer/node_modules/jiti/lib/jiti-hooks.mjs
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { dirname, join } from "node:path";
|
| 2 |
+
import { fileURLToPath } from "node:url";
|
| 3 |
+
import { existsSync } from "node:fs";
|
| 4 |
+
import { readFile } from "node:fs/promises";
|
| 5 |
+
import { isBuiltin } from "node:module";
|
| 6 |
+
import { createJiti } from "./jiti.mjs";
|
| 7 |
+
|
| 8 |
+
let jiti;
|
| 9 |
+
|
| 10 |
+
// https://nodejs.org/api/module.html#initialize
|
| 11 |
+
export async function initialize() {
|
| 12 |
+
jiti = createJiti();
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
// https://nodejs.org/api/module.html#resolvespecifier-context-nextresolve
|
| 16 |
+
export async function resolve(specifier, context, nextResolve) {
|
| 17 |
+
if (_shouldSkip(specifier)) {
|
| 18 |
+
return nextResolve(specifier, context);
|
| 19 |
+
}
|
| 20 |
+
const resolvedPath = jiti.esmResolve(specifier, {
|
| 21 |
+
parentURL: context?.parentURL,
|
| 22 |
+
conditions: context?.conditions,
|
| 23 |
+
});
|
| 24 |
+
return {
|
| 25 |
+
url: resolvedPath,
|
| 26 |
+
shortCircuit: true,
|
| 27 |
+
};
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
// https://nodejs.org/api/module.html#loadurl-context-nextload
|
| 31 |
+
export async function load(url, context, nextLoad) {
|
| 32 |
+
if (_shouldSkip(url)) {
|
| 33 |
+
return nextLoad(url, context);
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
const filename = fileURLToPath(url);
|
| 37 |
+
|
| 38 |
+
if (url.endsWith(".js")) {
|
| 39 |
+
const pkg = await _findClosestPackageJson(dirname(filename));
|
| 40 |
+
if (pkg && pkg.type === "module") {
|
| 41 |
+
return nextLoad(url, context);
|
| 42 |
+
}
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
const rawSource = await readFile(filename, "utf8");
|
| 46 |
+
|
| 47 |
+
if (url.endsWith(".json")) {
|
| 48 |
+
return {
|
| 49 |
+
source: `export default ${rawSource}`,
|
| 50 |
+
format: "module",
|
| 51 |
+
shortCircuit: true,
|
| 52 |
+
};
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
const transpiledSource = jiti.transform({
|
| 56 |
+
source: rawSource,
|
| 57 |
+
filename: filename,
|
| 58 |
+
ts: url.endsWith("ts"),
|
| 59 |
+
retainLines: true,
|
| 60 |
+
async: true,
|
| 61 |
+
jsx: jiti.options.jsx,
|
| 62 |
+
});
|
| 63 |
+
|
| 64 |
+
if (url.endsWith(".js") && !transpiledSource.includes("jitiImport")) {
|
| 65 |
+
return {
|
| 66 |
+
source: transpiledSource,
|
| 67 |
+
format: "commonjs",
|
| 68 |
+
shortCircuit: true,
|
| 69 |
+
};
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
return {
|
| 73 |
+
source: _wrapSource(transpiledSource, filename),
|
| 74 |
+
format: "module",
|
| 75 |
+
shortCircuit: true,
|
| 76 |
+
};
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
function _wrapSource(source, filename) {
|
| 80 |
+
const _jitiPath = new URL("jiti.mjs", import.meta.url).href;
|
| 81 |
+
return /*js*/ `import { createJiti as __createJiti__ } from ${JSON.stringify(_jitiPath)};async function _module(exports, require, module, __filename, __dirname, jitiImport) { ${source}\n};
|
| 82 |
+
// GENERATED BY JITI ESM LOADER
|
| 83 |
+
const filename = ${JSON.stringify(filename)};
|
| 84 |
+
const dirname = ${JSON.stringify(dirname(filename))};
|
| 85 |
+
const jiti = __createJiti__(filename);
|
| 86 |
+
const module = { exports: Object.create(null) };
|
| 87 |
+
await _module(module.exports, jiti, module, filename, dirname, jiti.import);
|
| 88 |
+
if (module.exports && module.exports.__JITI_ERROR__) {
|
| 89 |
+
const { filename, line, column, code, message } =
|
| 90 |
+
module.exports.__JITI_ERROR__;
|
| 91 |
+
const loc = [filename, line, column].join(':');
|
| 92 |
+
const err = new Error(code + ": " + message + " " + loc);
|
| 93 |
+
Error.captureStackTrace(err, _module);
|
| 94 |
+
throw err;
|
| 95 |
+
}
|
| 96 |
+
export default module.exports;
|
| 97 |
+
`;
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
function _shouldSkip(url) {
|
| 101 |
+
return (
|
| 102 |
+
!jiti ||
|
| 103 |
+
url.endsWith(".mjs") ||
|
| 104 |
+
url.endsWith(".cjs") ||
|
| 105 |
+
(!url.startsWith("./") && !url.startsWith("file://")) ||
|
| 106 |
+
isBuiltin(url)
|
| 107 |
+
);
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
async function _findClosestPackageJson(dir) {
|
| 111 |
+
if (dir === "/") return null;
|
| 112 |
+
const packageJsonPath = join(dir, "package.json");
|
| 113 |
+
if (existsSync(packageJsonPath)) {
|
| 114 |
+
return JSON.parse(await readFile(packageJsonPath, "utf8"));
|
| 115 |
+
}
|
| 116 |
+
return _findClosestPackageJson(dirname(dir));
|
| 117 |
+
}
|
chainlit-datalayer/node_modules/jiti/lib/jiti-native.mjs
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/**
|
| 2 |
+
* @typedef {import('./types').Jiti} Jiti
|
| 3 |
+
* @typedef {import('./types').JitiOptions} JitiOptions
|
| 4 |
+
*/
|
| 5 |
+
|
| 6 |
+
const isDeno = "Deno" in globalThis;
|
| 7 |
+
|
| 8 |
+
/**
|
| 9 |
+
* @param {string|URL} [parentURL]
|
| 10 |
+
* @param {JitiOptions} [jitiOptions]
|
| 11 |
+
* @returns {Jiti}
|
| 12 |
+
*/
|
| 13 |
+
export function createJiti(parentURL, jitiOptions) {
|
| 14 |
+
parentURL = normalizeParentURL(parentURL);
|
| 15 |
+
|
| 16 |
+
/** @type {Jiti} */
|
| 17 |
+
function jiti() {
|
| 18 |
+
throw unsupportedError(
|
| 19 |
+
"`jiti()` is not supported in native mode, use `jiti.import()` instead.",
|
| 20 |
+
);
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
jiti.resolve = () => {
|
| 24 |
+
throw unsupportedError("`jiti.resolve()` is not supported in native mode.");
|
| 25 |
+
};
|
| 26 |
+
|
| 27 |
+
jiti.esmResolve = (id, opts) => {
|
| 28 |
+
try {
|
| 29 |
+
const importMeta = jitiOptions?.importMeta || import.meta;
|
| 30 |
+
if (isDeno) {
|
| 31 |
+
// Deno throws TypeError: Invalid arguments when passing parentURL
|
| 32 |
+
return importMeta.resolve(id);
|
| 33 |
+
}
|
| 34 |
+
const parent = normalizeParentURL(opts?.parentURL || parentURL);
|
| 35 |
+
return importMeta.resolve(id, parent);
|
| 36 |
+
} catch (error) {
|
| 37 |
+
if (opts?.try) {
|
| 38 |
+
return undefined;
|
| 39 |
+
} else {
|
| 40 |
+
throw error;
|
| 41 |
+
}
|
| 42 |
+
}
|
| 43 |
+
};
|
| 44 |
+
|
| 45 |
+
jiti.import = async function (id, opts) {
|
| 46 |
+
for (const suffix of ["", "/index"]) {
|
| 47 |
+
// prettier-ignore
|
| 48 |
+
for (const ext of ["", ".js", ".mjs", ".cjs", ".ts", ".tsx", ".mts", ".cts"]) {
|
| 49 |
+
try {
|
| 50 |
+
const resolved = this.esmResolve(id + suffix + ext, opts);
|
| 51 |
+
if (!resolved) {
|
| 52 |
+
continue;
|
| 53 |
+
}
|
| 54 |
+
let importAttrs = undefined
|
| 55 |
+
if (resolved.endsWith('.json')) {
|
| 56 |
+
importAttrs = { with: { type: 'json'}}
|
| 57 |
+
}
|
| 58 |
+
return await import(resolved, importAttrs);
|
| 59 |
+
} catch (error) {
|
| 60 |
+
if (error.code === 'ERR_MODULE_NOT_FOUND' || error.code === 'ERR_UNSUPPORTED_DIR_IMPORT') {
|
| 61 |
+
continue
|
| 62 |
+
}
|
| 63 |
+
if (opts?.try) {
|
| 64 |
+
return undefined;
|
| 65 |
+
}
|
| 66 |
+
throw error;
|
| 67 |
+
}
|
| 68 |
+
}
|
| 69 |
+
}
|
| 70 |
+
if (!opts?.try) {
|
| 71 |
+
const parent = normalizeParentURL(opts?.parentURL || parentURL);
|
| 72 |
+
const error = new Error(
|
| 73 |
+
`[jiti] [ERR_MODULE_NOT_FOUND] Cannot import '${id}' from '${parent}'.`,
|
| 74 |
+
);
|
| 75 |
+
error.code = "ERR_MODULE_NOT_FOUND";
|
| 76 |
+
throw error;
|
| 77 |
+
}
|
| 78 |
+
};
|
| 79 |
+
|
| 80 |
+
jiti.transform = () => {
|
| 81 |
+
throw unsupportedError(
|
| 82 |
+
"`jiti.transform()` is not supported in native mode.",
|
| 83 |
+
);
|
| 84 |
+
};
|
| 85 |
+
|
| 86 |
+
jiti.evalModule = () => {
|
| 87 |
+
throw unsupportedError(
|
| 88 |
+
"`jiti.evalModule()` is not supported in native mode.",
|
| 89 |
+
);
|
| 90 |
+
};
|
| 91 |
+
|
| 92 |
+
jiti.main = undefined;
|
| 93 |
+
jiti.extensions = Object.create(null);
|
| 94 |
+
jiti.cache = Object.create(null);
|
| 95 |
+
|
| 96 |
+
return jiti;
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
export default createJiti;
|
| 100 |
+
|
| 101 |
+
/**
|
| 102 |
+
* @param {string} message
|
| 103 |
+
*/
|
| 104 |
+
function unsupportedError(message) {
|
| 105 |
+
throw new Error(
|
| 106 |
+
`[jiti] ${message} (import or require 'jiti' instead of 'jiti/native' for more features).`,
|
| 107 |
+
);
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
function normalizeParentURL(input) {
|
| 111 |
+
if (!input) {
|
| 112 |
+
return "file:///";
|
| 113 |
+
}
|
| 114 |
+
if (typeof filename !== "string" || input.startsWith("file://")) {
|
| 115 |
+
return input;
|
| 116 |
+
}
|
| 117 |
+
if (input.endsWith("/")) {
|
| 118 |
+
input += "_"; // append a dummy filename
|
| 119 |
+
}
|
| 120 |
+
return `file://${input}`;
|
| 121 |
+
}
|
chainlit-datalayer/node_modules/jiti/lib/jiti-register.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
// eslint-disable-next-line unicorn/no-empty-file
|
chainlit-datalayer/node_modules/jiti/lib/jiti-register.mjs
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// https://nodejs.org/api/module.html#moduleregisterspecifier-parenturl-options
|
| 2 |
+
import { register } from "node:module";
|
| 3 |
+
|
| 4 |
+
register("./jiti-hooks.mjs", import.meta.url, {});
|
chainlit-datalayer/node_modules/jiti/lib/jiti.cjs
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const { createRequire } = require("node:module");
|
| 2 |
+
const _createJiti = require("../dist/jiti.cjs");
|
| 3 |
+
const transform = require("../dist/babel.cjs");
|
| 4 |
+
|
| 5 |
+
function onError(err) {
|
| 6 |
+
throw err; /* ↓ Check stack trace ↓ */
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
const nativeImport = (id) => import(id);
|
| 10 |
+
|
| 11 |
+
function createJiti(id, opts = {}) {
|
| 12 |
+
if (!opts.transform) {
|
| 13 |
+
opts = { ...opts, transform };
|
| 14 |
+
}
|
| 15 |
+
return _createJiti(id, opts, {
|
| 16 |
+
onError,
|
| 17 |
+
nativeImport,
|
| 18 |
+
createRequire,
|
| 19 |
+
});
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
module.exports = createJiti;
|
| 23 |
+
module.exports.createJiti = createJiti;
|
chainlit-datalayer/node_modules/jiti/lib/jiti.d.cts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import * as types from "./types.js";
|
| 2 |
+
declare const allExports: typeof types & {
|
| 3 |
+
/**
|
| 4 |
+
* @deprecated Please use `const { createJiti } = require("jiti")` or use ESM import.
|
| 5 |
+
*/
|
| 6 |
+
(...args: Parameters<typeof types.createJiti>): types.Jiti;
|
| 7 |
+
};
|
| 8 |
+
export = allExports;
|
chainlit-datalayer/node_modules/jiti/lib/jiti.d.mts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { createJiti } from "./types.js";
|
| 2 |
+
|
| 3 |
+
export * from "./types.js";
|
| 4 |
+
|
| 5 |
+
/**
|
| 6 |
+
* @deprecated Please use `import { createJiti } from "jiti"`
|
| 7 |
+
*/
|
| 8 |
+
export default createJiti;
|
chainlit-datalayer/node_modules/jiti/lib/jiti.mjs
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { createRequire } from "node:module";
|
| 2 |
+
import _createJiti from "../dist/jiti.cjs";
|
| 3 |
+
import transform from "../dist/babel.cjs";
|
| 4 |
+
|
| 5 |
+
function onError(err) {
|
| 6 |
+
throw err; /* ↓ Check stack trace ↓ */
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
const nativeImport = (id) => import(id);
|
| 10 |
+
|
| 11 |
+
export function createJiti(id, opts = {}) {
|
| 12 |
+
if (!opts.transform) {
|
| 13 |
+
opts = { ...opts, transform };
|
| 14 |
+
}
|
| 15 |
+
return _createJiti(id, opts, {
|
| 16 |
+
onError,
|
| 17 |
+
nativeImport,
|
| 18 |
+
createRequire,
|
| 19 |
+
});
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
export default createJiti;
|
chainlit-datalayer/node_modules/jiti/lib/types.d.ts
ADDED
|
@@ -0,0 +1,260 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export declare function createJiti(id: string, userOptions?: JitiOptions): Jiti;
|
| 2 |
+
|
| 3 |
+
/**
|
| 4 |
+
* Jiti instance
|
| 5 |
+
*
|
| 6 |
+
* Calling jiti() is similar to CommonJS require() but adds extra features such as Typescript and ESM compatibility.
|
| 7 |
+
*
|
| 8 |
+
* **Note:**It is recommended to use `await jiti.import` instead
|
| 9 |
+
*/
|
| 10 |
+
export interface Jiti extends NodeRequire {
|
| 11 |
+
/**
|
| 12 |
+
* Resolved options
|
| 13 |
+
*/
|
| 14 |
+
options: JitiOptions;
|
| 15 |
+
|
| 16 |
+
/**
|
| 17 |
+
* ESM import a module with additional Typescript and ESM compatibility.
|
| 18 |
+
*
|
| 19 |
+
* If you need the default export of module, you can use `jiti.import(id, { default: true })` as shortcut to `mod?.default ?? mod`.
|
| 20 |
+
*/
|
| 21 |
+
import<T = unknown>(
|
| 22 |
+
id: string,
|
| 23 |
+
opts?: JitiResolveOptions & { default?: true },
|
| 24 |
+
): Promise<T>;
|
| 25 |
+
|
| 26 |
+
/**
|
| 27 |
+
* Resolve with ESM import conditions.
|
| 28 |
+
*/
|
| 29 |
+
esmResolve(id: string, parentURL?: string): string;
|
| 30 |
+
esmResolve<T extends JitiResolveOptions = JitiResolveOptions>(
|
| 31 |
+
id: string,
|
| 32 |
+
opts?: T,
|
| 33 |
+
): T["try"] extends true ? string | undefined : string;
|
| 34 |
+
|
| 35 |
+
/**
|
| 36 |
+
* Transform source code
|
| 37 |
+
*/
|
| 38 |
+
transform: (opts: TransformOptions) => string;
|
| 39 |
+
|
| 40 |
+
/**
|
| 41 |
+
* Evaluate transformed code as a module
|
| 42 |
+
*/
|
| 43 |
+
evalModule: (source: string, options?: EvalModuleOptions) => unknown;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
/**
|
| 47 |
+
* Jiti instance options
|
| 48 |
+
*/
|
| 49 |
+
export interface JitiOptions {
|
| 50 |
+
/**
|
| 51 |
+
* Filesystem source cache (enabled by default)
|
| 52 |
+
*
|
| 53 |
+
* An string can be passed to set the custom cache directory.
|
| 54 |
+
*
|
| 55 |
+
* By default (when is `true`), jiti uses `node_modules/.cache/jiti` (if exists) or `{TMP_DIR}/jiti`.
|
| 56 |
+
*
|
| 57 |
+
* This option can also be disabled using `JITI_FS_CACHE=false` environment variable.
|
| 58 |
+
*
|
| 59 |
+
* **Note:** It is recommended to keep this option enabled for better performance.
|
| 60 |
+
*/
|
| 61 |
+
fsCache?: boolean | string;
|
| 62 |
+
|
| 63 |
+
/** @deprecated Use `fsCache` option. */
|
| 64 |
+
cache?: boolean | string;
|
| 65 |
+
|
| 66 |
+
/**
|
| 67 |
+
* Runtime module cache (enabled by default)
|
| 68 |
+
*
|
| 69 |
+
* Disabling allows editing code and importing same module multiple times.
|
| 70 |
+
*
|
| 71 |
+
* When enabled, jiti integrates with Node.js native CommonJS cache store.
|
| 72 |
+
*
|
| 73 |
+
* This option can also be disabled using `JITI_MODULE_CACHE=false` environment variable.
|
| 74 |
+
*/
|
| 75 |
+
moduleCache?: boolean;
|
| 76 |
+
|
| 77 |
+
/** @deprecated Use `moduleCache` option. */
|
| 78 |
+
requireCache?: boolean;
|
| 79 |
+
|
| 80 |
+
/**
|
| 81 |
+
* Custom transform function
|
| 82 |
+
*/
|
| 83 |
+
transform?: (opts: TransformOptions) => TransformResult;
|
| 84 |
+
|
| 85 |
+
/**
|
| 86 |
+
* Enable verbose debugging (disabled by default).
|
| 87 |
+
*
|
| 88 |
+
* Can also be enabled using `JITI_DEBUG=1` environment variable.
|
| 89 |
+
*/
|
| 90 |
+
debug?: boolean;
|
| 91 |
+
|
| 92 |
+
/**
|
| 93 |
+
* Enable sourcemaps (enabled by default)
|
| 94 |
+
*
|
| 95 |
+
* Can also be disabled using `JITI_SOURCE_MAPS=0` environment variable.
|
| 96 |
+
*/
|
| 97 |
+
sourceMaps?: boolean;
|
| 98 |
+
|
| 99 |
+
/**
|
| 100 |
+
* Jiti combines module exports with the `default` export using an internal Proxy to improve compatibility with mixed CJS/ESM usage. You can check the current implementation [here](https://github.com/unjs/jiti/blob/main/src/utils.ts#L105).
|
| 101 |
+
*
|
| 102 |
+
* Can be disabled using `JITI_INTEROP_DEFAULT=0` environment variable.
|
| 103 |
+
*/
|
| 104 |
+
interopDefault?: boolean;
|
| 105 |
+
|
| 106 |
+
/**
|
| 107 |
+
* Jiti hard source cache version (internal)
|
| 108 |
+
*/
|
| 109 |
+
cacheVersion?: string;
|
| 110 |
+
|
| 111 |
+
/**
|
| 112 |
+
* Supported extensions to resolve.
|
| 113 |
+
*
|
| 114 |
+
* Default `[".js", ".mjs", ".cjs", ".ts", ".mts", ".cts", ".json"]`
|
| 115 |
+
*/
|
| 116 |
+
extensions?: string[];
|
| 117 |
+
|
| 118 |
+
/**
|
| 119 |
+
* Transform options
|
| 120 |
+
*/
|
| 121 |
+
transformOptions?: Omit<TransformOptions, "source">;
|
| 122 |
+
|
| 123 |
+
/**
|
| 124 |
+
* Resolve aliases
|
| 125 |
+
*
|
| 126 |
+
* You can use `JITI_ALIAS` environment variable to set aliases as a JSON string.
|
| 127 |
+
*/
|
| 128 |
+
alias?: Record<string, string>;
|
| 129 |
+
|
| 130 |
+
/**
|
| 131 |
+
* List of modules (within `node_modules`) to always use native require/import for them.
|
| 132 |
+
*
|
| 133 |
+
* You can use `JITI_NATIVE_MODULES` environment variable to set native modules as a JSON string.
|
| 134 |
+
*
|
| 135 |
+
*/
|
| 136 |
+
nativeModules?: string[];
|
| 137 |
+
|
| 138 |
+
/**
|
| 139 |
+
* List of modules (within `node_modules`) to transform them regardless of syntax.
|
| 140 |
+
*
|
| 141 |
+
* You can use `JITI_TRANSFORM_MODULES` environment variable to set transform modules as a JSON string.
|
| 142 |
+
*/
|
| 143 |
+
transformModules?: string[];
|
| 144 |
+
|
| 145 |
+
/**
|
| 146 |
+
* Parent module's import.meta context to use for ESM resolution.
|
| 147 |
+
*
|
| 148 |
+
* (Only used for `jiti/native` import)
|
| 149 |
+
*/
|
| 150 |
+
importMeta?: ImportMeta;
|
| 151 |
+
|
| 152 |
+
/**
|
| 153 |
+
* Try to use native require and import without jiti transformations first.
|
| 154 |
+
*
|
| 155 |
+
* Enabled if Bun is detected.
|
| 156 |
+
*/
|
| 157 |
+
tryNative?: boolean;
|
| 158 |
+
|
| 159 |
+
/**
|
| 160 |
+
* Enable JSX support Enable JSX support using [`@babel/plugin-transform-react-jsx`](https://babeljs.io/docs/babel-plugin-transform-react-jsx).
|
| 161 |
+
*
|
| 162 |
+
* @default false
|
| 163 |
+
*
|
| 164 |
+
* You can also use `JITI_JSX=1` environment variable to enable JSX support.
|
| 165 |
+
*/
|
| 166 |
+
jsx?: boolean | JSXOptions;
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
interface NodeRequire {
|
| 170 |
+
/**
|
| 171 |
+
* Module cache
|
| 172 |
+
*/
|
| 173 |
+
cache: ModuleCache;
|
| 174 |
+
|
| 175 |
+
/** @deprecated Prefer `await jiti.import()` for better compatibility. */
|
| 176 |
+
(id: string): any;
|
| 177 |
+
|
| 178 |
+
/** @deprecated Prefer `jiti.esmResolve` for better compatibility. */
|
| 179 |
+
resolve: {
|
| 180 |
+
/** @deprecated */
|
| 181 |
+
(id: string, options?: { paths?: string[] | undefined }): string;
|
| 182 |
+
/** @deprecated */
|
| 183 |
+
paths(request: string): string[] | null;
|
| 184 |
+
};
|
| 185 |
+
|
| 186 |
+
/** @deprecated CommonJS API */
|
| 187 |
+
extensions: Record<
|
| 188 |
+
".js" | ".json" | ".node",
|
| 189 |
+
(m: NodeModule, filename: string) => any | undefined
|
| 190 |
+
>;
|
| 191 |
+
|
| 192 |
+
/** @deprecated CommonJS API */
|
| 193 |
+
main: NodeModule | undefined;
|
| 194 |
+
}
|
| 195 |
+
|
| 196 |
+
export interface NodeModule {
|
| 197 |
+
/**
|
| 198 |
+
* `true` if the module is running during the Node.js preload
|
| 199 |
+
*/
|
| 200 |
+
isPreloading: boolean;
|
| 201 |
+
exports: any;
|
| 202 |
+
require: NodeRequire;
|
| 203 |
+
id: string;
|
| 204 |
+
filename: string;
|
| 205 |
+
loaded: boolean;
|
| 206 |
+
/** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */
|
| 207 |
+
parent: NodeModule | null | undefined;
|
| 208 |
+
children: NodeModule[];
|
| 209 |
+
/**
|
| 210 |
+
* @since v11.14.0
|
| 211 |
+
*
|
| 212 |
+
* The directory name of the module. This is usually the same as the path.dirname() of the module.id.
|
| 213 |
+
*/
|
| 214 |
+
path: string;
|
| 215 |
+
paths: string[];
|
| 216 |
+
}
|
| 217 |
+
|
| 218 |
+
export type ModuleCache = Record<string, NodeModule>;
|
| 219 |
+
|
| 220 |
+
export type EvalModuleOptions = Partial<{
|
| 221 |
+
id: string;
|
| 222 |
+
filename: string;
|
| 223 |
+
ext: string;
|
| 224 |
+
cache: ModuleCache;
|
| 225 |
+
async: boolean;
|
| 226 |
+
forceTranspile: boolean;
|
| 227 |
+
}>;
|
| 228 |
+
|
| 229 |
+
export interface TransformOptions {
|
| 230 |
+
source: string;
|
| 231 |
+
filename?: string;
|
| 232 |
+
ts?: boolean;
|
| 233 |
+
retainLines?: boolean;
|
| 234 |
+
interopDefault?: boolean;
|
| 235 |
+
async?: boolean;
|
| 236 |
+
jsx?: boolean | JSXOptions;
|
| 237 |
+
babel?: Record<string, any>;
|
| 238 |
+
}
|
| 239 |
+
|
| 240 |
+
export interface TransformResult {
|
| 241 |
+
code: string;
|
| 242 |
+
error?: any;
|
| 243 |
+
}
|
| 244 |
+
|
| 245 |
+
export interface JitiResolveOptions {
|
| 246 |
+
conditions?: string[];
|
| 247 |
+
parentURL?: string | URL;
|
| 248 |
+
try?: boolean;
|
| 249 |
+
}
|
| 250 |
+
|
| 251 |
+
/** Reference: https://babeljs.io/docs/babel-plugin-transform-react-jsx#options */
|
| 252 |
+
export interface JSXOptions {
|
| 253 |
+
throwIfNamespace?: boolean;
|
| 254 |
+
runtime?: "classic" | "automatic";
|
| 255 |
+
importSource?: string;
|
| 256 |
+
pragma?: string;
|
| 257 |
+
pragmaFrag?: string;
|
| 258 |
+
useBuiltIns?: boolean;
|
| 259 |
+
useSpread?: boolean;
|
| 260 |
+
}
|
chainlit-datalayer/node_modules/prisma/build/public/assets/alert.60ea9f84.svg
ADDED
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/download.8d34b65a.svg
ADDED
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/ellipsis.a8c5a34a.svg
ADDED
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/folder.d77b8eaf.svg
ADDED
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/index.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/inter-cyrillic-400-normal.ac97a49e.woff2
ADDED
|
Binary file (6.5 kB). View file
|
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/inter-cyrillic-ext-400-normal.f21a6a97.woff2
ADDED
|
Binary file (9.75 kB). View file
|
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/inter-cyrillic-ext-600-normal.bb31f197.woff2
ADDED
|
Binary file (10.7 kB). View file
|
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/inter-greek-400-normal.e9163df8.woff2
ADDED
|
Binary file (8.29 kB). View file
|
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/inter-greek-ext-400-normal.43addcc8.woff2
ADDED
|
Binary file (4.99 kB). View file
|
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/inter-latin-ext-400-normal.5b02c69a.woff2
ADDED
|
Binary file (22.2 kB). View file
|
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/inter-latin-ext-600-normal.88feb9e4.woff2
ADDED
|
Binary file (24.2 kB). View file
|
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/moon.387ab66c.svg
ADDED
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/number.85ddf96b.svg
ADDED
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/object.0ba944a6.svg
ADDED
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/plus.8fbf7ad3.svg
ADDED
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/refresh.d5448ccc.svg
ADDED
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/search.2ed766ce.svg
ADDED
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/settings.5ad25af2.svg
ADDED
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/string.ea615a24.svg
ADDED
|
|
chainlit-datalayer/node_modules/prisma/build/public/assets/tick-indeterminate.aec8a44d.svg
ADDED
|
|
chainlit-datalayer/node_modules/prisma/build/public/pages/http/databrowser.html
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
+
|
| 8 |
+
<title>Prisma Studio</title>
|
| 9 |
+
|
| 10 |
+
<link rel="icon" href="./favicon.svg" />
|
| 11 |
+
<script type="module" crossorigin src="./http/databrowser.js"></script>
|
| 12 |
+
<link rel="modulepreload" href="./assets/index.js">
|
| 13 |
+
<link rel="modulepreload" href="./assets/vendor.js">
|
| 14 |
+
<link rel="stylesheet" href="./index.css">
|
| 15 |
+
</head>
|
| 16 |
+
|
| 17 |
+
<body>
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
</body>
|
| 21 |
+
</html>
|
chainlit-datalayer/node_modules/prisma/build/public/pages/http/splash.html
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
| 6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
+
|
| 8 |
+
<title>Prisma Studio</title>
|
| 9 |
+
|
| 10 |
+
<link rel="icon" href="./favicon.svg" />
|
| 11 |
+
<script type="module" crossorigin src="./http/splash.js"></script>
|
| 12 |
+
<link rel="modulepreload" href="./assets/index.js">
|
| 13 |
+
<link rel="modulepreload" href="./assets/vendor.js">
|
| 14 |
+
<link rel="stylesheet" href="./index.css">
|
| 15 |
+
</head>
|
| 16 |
+
|
| 17 |
+
<body>
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
</body>
|
| 21 |
+
</html>
|
chainlit-datalayer/node_modules/prisma/dist/cli/src/types.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export type { PrismaConfig } from '@prisma/config';
|