wasm.js 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  1. Object.defineProperty(exports, "__esModule", { value: true });
  2. const {
  3. Decimal,
  4. objectEnumValues,
  5. makeStrictEnum,
  6. Public,
  7. getRuntime,
  8. } = require('./runtime/index-browser.js')
  9. const Prisma = {}
  10. exports.Prisma = Prisma
  11. exports.$Enums = {}
  12. /**
  13. * Prisma Client JS version: 5.18.0
  14. * Query Engine version: 4c784e32044a8a016d99474bd02a3b6123742169
  15. */
  16. Prisma.prismaVersion = {
  17. client: "5.18.0",
  18. engine: "4c784e32044a8a016d99474bd02a3b6123742169"
  19. }
  20. Prisma.PrismaClientKnownRequestError = () => {
  21. const runtimeName = getRuntime().prettyName;
  22. throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
  23. In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
  24. )};
  25. Prisma.PrismaClientUnknownRequestError = () => {
  26. const runtimeName = getRuntime().prettyName;
  27. throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
  28. In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
  29. )}
  30. Prisma.PrismaClientRustPanicError = () => {
  31. const runtimeName = getRuntime().prettyName;
  32. throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
  33. In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
  34. )}
  35. Prisma.PrismaClientInitializationError = () => {
  36. const runtimeName = getRuntime().prettyName;
  37. throw new Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
  38. In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
  39. )}
  40. Prisma.PrismaClientValidationError = () => {
  41. const runtimeName = getRuntime().prettyName;
  42. throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
  43. In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
  44. )}
  45. Prisma.NotFoundError = () => {
  46. const runtimeName = getRuntime().prettyName;
  47. throw new Error(`NotFoundError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
  48. In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
  49. )}
  50. Prisma.Decimal = Decimal
  51. /**
  52. * Re-export of sql-template-tag
  53. */
  54. Prisma.sql = () => {
  55. const runtimeName = getRuntime().prettyName;
  56. throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
  57. In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
  58. )}
  59. Prisma.empty = () => {
  60. const runtimeName = getRuntime().prettyName;
  61. throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
  62. In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
  63. )}
  64. Prisma.join = () => {
  65. const runtimeName = getRuntime().prettyName;
  66. throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
  67. In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
  68. )}
  69. Prisma.raw = () => {
  70. const runtimeName = getRuntime().prettyName;
  71. throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
  72. In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
  73. )}
  74. Prisma.validator = Public.validator
  75. /**
  76. * Extensions
  77. */
  78. Prisma.getExtensionContext = () => {
  79. const runtimeName = getRuntime().prettyName;
  80. throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
  81. In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
  82. )}
  83. Prisma.defineExtension = () => {
  84. const runtimeName = getRuntime().prettyName;
  85. throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
  86. In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
  87. )}
  88. /**
  89. * Shorthand utilities for JSON filtering
  90. */
  91. Prisma.DbNull = objectEnumValues.instances.DbNull
  92. Prisma.JsonNull = objectEnumValues.instances.JsonNull
  93. Prisma.AnyNull = objectEnumValues.instances.AnyNull
  94. Prisma.NullTypes = {
  95. DbNull: objectEnumValues.classes.DbNull,
  96. JsonNull: objectEnumValues.classes.JsonNull,
  97. AnyNull: objectEnumValues.classes.AnyNull
  98. }
  99. /**
  100. * Enums
  101. */
  102. exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
  103. ReadUncommitted: 'ReadUncommitted',
  104. ReadCommitted: 'ReadCommitted',
  105. RepeatableRead: 'RepeatableRead',
  106. Serializable: 'Serializable'
  107. });
  108. exports.Prisma.AWS_Policy_RoleScalarFieldEnum = {
  109. id: 'id',
  110. assistant_id: 'assistant_id',
  111. agent_bedrock_policy: 'agent_bedrock_policy',
  112. agent_kb_schema_policy: 'agent_kb_schema_policy',
  113. kb_bedrock_policy: 'kb_bedrock_policy',
  114. kb_aoss_policy: 'kb_aoss_policy',
  115. kb_s3_policy: 'kb_s3_policy',
  116. agent_role_name: 'agent_role_name',
  117. kb_role_name: 'kb_role_name',
  118. createtime: 'createtime'
  119. };
  120. exports.Prisma.Ai_Agent_AssistantsScalarFieldEnum = {
  121. id: 'id',
  122. userId: 'userId',
  123. username: 'username',
  124. agent_sort: 'agent_sort',
  125. agent_tag: 'agent_tag',
  126. assistantName: 'assistantName',
  127. description: 'description',
  128. prologue: 'prologue',
  129. headUrl: 'headUrl',
  130. instructions: 'instructions',
  131. isRetrieval: 'isRetrieval',
  132. isCode: 'isCode',
  133. isGoogle: 'isGoogle',
  134. isDalleImage: 'isDalleImage',
  135. functionNames: 'functionNames',
  136. functionContents: 'functionContents',
  137. assistant_id: 'assistant_id',
  138. thread_id: 'thread_id',
  139. file_ids: 'file_ids',
  140. file_names: 'file_names',
  141. isPublish: 'isPublish',
  142. organize_id: 'organize_id',
  143. vector_store_id: 'vector_store_id',
  144. modelType: 'modelType',
  145. createtime: 'createtime',
  146. updatetime: 'updatetime',
  147. a: 'a'
  148. };
  149. exports.Prisma.Ai_Agent_ThreadsScalarFieldEnum = {
  150. id: 'id',
  151. userId: 'userId',
  152. assistant_id: 'assistant_id',
  153. thread_id: 'thread_id',
  154. createtime: 'createtime',
  155. session_name: 'session_name'
  156. };
  157. exports.Prisma.AssistantScalarFieldEnum = {
  158. id: 'id',
  159. uid: 'uid',
  160. assistant_id: 'assistant_id',
  161. thread_id: 'thread_id',
  162. file_ids: 'file_ids',
  163. vector_store_id: 'vector_store_id',
  164. createtime: 'createtime'
  165. };
  166. exports.Prisma.ChatScalarFieldEnum = {
  167. id: 'id',
  168. groupid: 'groupid',
  169. userid: 'userid',
  170. username: 'username',
  171. answer: 'answer',
  172. problem: 'problem',
  173. createtime: 'createtime',
  174. fileid: 'fileid',
  175. isMindMap: 'isMindMap',
  176. filename: 'filename',
  177. session_name: 'session_name',
  178. scene: 'scene'
  179. };
  180. exports.Prisma.DispositionScalarFieldEnum = {
  181. id: 'id',
  182. module: 'module',
  183. disposition_class: 'disposition_class',
  184. disposition_type: 'disposition_type',
  185. disposition_style: 'disposition_style',
  186. disposition_theme: 'disposition_theme',
  187. user_id: 'user_id',
  188. create_time: 'create_time'
  189. };
  190. exports.Prisma.GroupScalarFieldEnum = {
  191. id: 'id',
  192. name: 'name',
  193. userid: 'userid',
  194. createtime: 'createtime'
  195. };
  196. exports.Prisma.GroupFileScalarFieldEnum = {
  197. id: 'id',
  198. userid: 'userid',
  199. fileurl: 'fileurl',
  200. filename: 'filename',
  201. groupid: 'groupid',
  202. abstract: 'abstract',
  203. assistantFileId: 'assistantFileId',
  204. modelType: 'modelType',
  205. createtime: 'createtime'
  206. };
  207. exports.Prisma.InvitationCodeScalarFieldEnum = {
  208. id: 'id',
  209. cid: 'cid',
  210. themeId: 'themeId',
  211. type: 'type',
  212. invitationCode: 'invitationCode',
  213. createtime: 'createtime'
  214. };
  215. exports.Prisma.Ai_agent_park_sessionScalarFieldEnum = {
  216. id: 'id',
  217. session_name: 'session_name',
  218. user_id: 'user_id',
  219. isCocoNote: 'isCocoNote',
  220. createtime: 'createtime',
  221. work_area_text: 'work_area_text',
  222. scene: 'scene'
  223. };
  224. exports.Prisma.Classroom_ob_commentScalarFieldEnum = {
  225. id: 'id',
  226. module_id: 'module_id',
  227. module_name: 'module_name',
  228. nickname: 'nickname',
  229. commentContent: 'commentContent',
  230. audit_status: 'audit_status',
  231. t_id: 't_id',
  232. create_time: 'create_time'
  233. };
  234. exports.Prisma.Classroom_observationScalarFieldEnum = {
  235. id: 'id',
  236. jsonData: 'jsonData',
  237. Type: 'Type',
  238. tIndex: 'tIndex',
  239. tId: 'tId',
  240. createtime: 'createtime',
  241. like_num: 'like_num',
  242. like_data: 'like_data',
  243. userid: 'userid',
  244. isdel: 'isdel',
  245. limitData: 'limitData'
  246. };
  247. exports.Prisma.Course_resourceScalarFieldEnum = {
  248. id: 'id',
  249. subject: 'subject',
  250. grade: 'grade',
  251. textbook: 'textbook',
  252. book_type: 'book_type',
  253. unit: 'unit',
  254. period: 'period',
  255. unit_content: 'unit_content',
  256. course_content: 'course_content'
  257. };
  258. exports.Prisma.Knowledge_construction_docScalarFieldEnum = {
  259. id: 'id',
  260. muti_id: 'muti_id',
  261. user_id: 'user_id',
  262. session_id: 'session_id',
  263. content: 'content',
  264. create_time: 'create_time'
  265. };
  266. exports.Prisma.Meeting_trickScalarFieldEnum = {
  267. id: 'id',
  268. createtime: 'createtime',
  269. userid: 'userid',
  270. meeting_name: 'meeting_name',
  271. meeting_original: 'meeting_original',
  272. meeting_minutes: 'meeting_minutes',
  273. audio_url: 'audio_url',
  274. duration: 'duration',
  275. ab: 'ab'
  276. };
  277. exports.Prisma.Meeting_trick_chatScalarFieldEnum = {
  278. id: 'id',
  279. meeting_id: 'meeting_id',
  280. createtime: 'createtime',
  281. user_content: 'user_content',
  282. ai_content: 'ai_content'
  283. };
  284. exports.Prisma.Muti_agent_listScalarFieldEnum = {
  285. id: 'id',
  286. userid: 'userid',
  287. username: 'username',
  288. muti_name: 'muti_name',
  289. description: 'description',
  290. isPublish: 'isPublish',
  291. organizeid: 'organizeid',
  292. content: 'content',
  293. create_time: 'create_time',
  294. knowledge_construction: 'knowledge_construction'
  295. };
  296. exports.Prisma.Park_chat_file_listScalarFieldEnum = {
  297. id: 'id',
  298. user_id: 'user_id',
  299. file_names: 'file_names',
  300. file_ids: 'file_ids',
  301. create_time: 'create_time',
  302. file_urls: 'file_urls'
  303. };
  304. exports.Prisma.TokenScalarFieldEnum = {
  305. id: 'id',
  306. schoolId: 'schoolId',
  307. key: 'key',
  308. createUsername: 'createUsername',
  309. createtime: 'createtime'
  310. };
  311. exports.Prisma.SortOrder = {
  312. asc: 'asc',
  313. desc: 'desc'
  314. };
  315. exports.Prisma.NullsOrder = {
  316. first: 'first',
  317. last: 'last'
  318. };
  319. exports.Prisma.ModelName = {
  320. AWS_Policy_Role: 'AWS_Policy_Role',
  321. Ai_Agent_Assistants: 'Ai_Agent_Assistants',
  322. Ai_Agent_Threads: 'Ai_Agent_Threads',
  323. Assistant: 'Assistant',
  324. Chat: 'Chat',
  325. Disposition: 'Disposition',
  326. Group: 'Group',
  327. GroupFile: 'GroupFile',
  328. InvitationCode: 'InvitationCode',
  329. ai_agent_park_session: 'ai_agent_park_session',
  330. classroom_ob_comment: 'classroom_ob_comment',
  331. classroom_observation: 'classroom_observation',
  332. course_resource: 'course_resource',
  333. knowledge_construction_doc: 'knowledge_construction_doc',
  334. meeting_trick: 'meeting_trick',
  335. meeting_trick_chat: 'meeting_trick_chat',
  336. muti_agent_list: 'muti_agent_list',
  337. park_chat_file_list: 'park_chat_file_list',
  338. token: 'token'
  339. };
  340. /**
  341. * This is a stub Prisma Client that will error at runtime if called.
  342. */
  343. class PrismaClient {
  344. constructor() {
  345. return new Proxy(this, {
  346. get(target, prop) {
  347. let message
  348. const runtime = getRuntime()
  349. if (runtime.isEdge) {
  350. message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
  351. - Use Prisma Accelerate: https://pris.ly/d/accelerate
  352. - Use Driver Adapters: https://pris.ly/d/driver-adapters
  353. `;
  354. } else {
  355. message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
  356. }
  357. message += `
  358. If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
  359. throw new Error(message)
  360. }
  361. })
  362. }
  363. }
  364. exports.PrismaClient = PrismaClient
  365. Object.assign(exports, Prisma)