prismaNamespaceBrowser.ts 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /* !!! This is code generated by Prisma. Do not edit directly. !!! */
  2. /* eslint-disable */
  3. // @ts-nocheck
  4. /*
  5. * WARNING: This is an internal file that is subject to change!
  6. *
  7. * 🛑 Under no circumstances should you import this file directly! 🛑
  8. *
  9. * All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
  10. * While this enables partial backward compatibility, it is not part of the stable public API.
  11. *
  12. * If you are looking for your Models, Enums, and Input Types, please import them from the respective
  13. * model files in the `model` directory!
  14. */
  15. import * as runtime from "@prisma/client/runtime/index-browser"
  16. export type * from '../models.ts'
  17. export type * from './prismaNamespace.ts'
  18. export const Decimal = runtime.Decimal
  19. export const NullTypes = {
  20. DbNull: runtime.objectEnumValues.classes.DbNull as (new (secret: never) => typeof runtime.objectEnumValues.instances.DbNull),
  21. JsonNull: runtime.objectEnumValues.classes.JsonNull as (new (secret: never) => typeof runtime.objectEnumValues.instances.JsonNull),
  22. AnyNull: runtime.objectEnumValues.classes.AnyNull as (new (secret: never) => typeof runtime.objectEnumValues.instances.AnyNull),
  23. }
  24. /**
  25. * Helper for filtering JSON entries that have `null` on the database (empty on the db)
  26. *
  27. * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
  28. */
  29. export const DbNull = runtime.objectEnumValues.instances.DbNull
  30. /**
  31. * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
  32. *
  33. * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
  34. */
  35. export const JsonNull = runtime.objectEnumValues.instances.JsonNull
  36. /**
  37. * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
  38. *
  39. * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
  40. */
  41. export const AnyNull = runtime.objectEnumValues.instances.AnyNull
  42. export const ModelName = {
  43. ShortLink: 'ShortLink'
  44. } as const
  45. export type ModelName = (typeof ModelName)[keyof typeof ModelName]
  46. /*
  47. * Enums
  48. */
  49. export const TransactionIsolationLevel = runtime.makeStrictEnum({
  50. Serializable: 'Serializable'
  51. } as const)
  52. export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
  53. export const ShortLinkScalarFieldEnum = {
  54. id: 'id',
  55. shortCode: 'shortCode',
  56. fullUrl: 'fullUrl',
  57. createdAt: 'createdAt',
  58. updatedAt: 'updatedAt'
  59. } as const
  60. export type ShortLinkScalarFieldEnum = (typeof ShortLinkScalarFieldEnum)[keyof typeof ShortLinkScalarFieldEnum]
  61. export const SortOrder = {
  62. asc: 'asc',
  63. desc: 'desc'
  64. } as const
  65. export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]