// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`init > should match config 1`] = `
{
  "adapter": {
    "count": [Function],
    "create": [Function],
    "createSchema": undefined,
    "delete": [Function],
    "deleteMany": [Function],
    "findMany": [Function],
    "findOne": [Function],
    "id": "kysely",
    "options": {
      "adapterConfig": {
        "adapterId": "kysely",
        "adapterName": "Kysely Adapter",
        "debugLogs": false,
        "disableTransformInput": false,
        "disableTransformOutput": false,
        "supportsBooleans": false,
        "supportsDates": false,
        "supportsJSON": false,
        "supportsNumericIds": true,
        "transaction": false,
        "usePlural": undefined,
      },
      "debugLogs": false,
      "transaction": undefined,
      "type": "sqlite",
    },
    "transaction": [Function],
    "update": [Function],
    "updateMany": [Function],
  },
  "appName": "Better Auth",
  "authCookies": {
    "dontRememberToken": {
      "name": "better-auth.dont_remember",
      "options": {
        "httpOnly": true,
        "path": "/",
        "sameSite": "lax",
        "secure": false,
      },
    },
    "sessionData": {
      "name": "better-auth.session_data",
      "options": {
        "httpOnly": true,
        "maxAge": 300,
        "path": "/",
        "sameSite": "lax",
        "secure": false,
      },
    },
    "sessionToken": {
      "name": "better-auth.session_token",
      "options": {
        "httpOnly": true,
        "maxAge": 604800,
        "path": "/",
        "sameSite": "lax",
        "secure": false,
      },
    },
  },
  "baseURL": "http://localhost:3000/api/auth",
  "createAuthCookie": [Function],
  "generateId": [Function],
  "internalAdapter": {
    "countTotalUsers": [Function],
    "createAccount": [Function],
    "createOAuthUser": [Function],
    "createSession": [Function],
    "createUser": [Function],
    "createVerificationValue": [Function],
    "deleteAccount": [Function],
    "deleteAccounts": [Function],
    "deleteSession": [Function],
    "deleteSessions": [Function],
    "deleteUser": [Function],
    "deleteVerificationByIdentifier": [Function],
    "deleteVerificationValue": [Function],
    "findAccount": [Function],
    "findAccountByProviderId": [Function],
    "findAccountByUserId": [Function],
    "findAccounts": [Function],
    "findOAuthUser": [Function],
    "findSession": [Function],
    "findSessions": [Function],
    "findUserByEmail": [Function],
    "findUserById": [Function],
    "findVerificationValue": [Function],
    "linkAccount": [Function],
    "listSessions": [Function],
    "listUsers": [Function],
    "updateAccount": [Function],
    "updatePassword": [Function],
    "updateSession": [Function],
    "updateUser": [Function],
    "updateUserByEmail": [Function],
    "updateVerificationValue": [Function],
  },
  "logger": {
    "debug": [Function],
    "error": [Function],
    "info": [Function],
    "level": "error",
    "success": [Function],
    "warn": [Function],
  },
  "newSession": null,
  "options": {
    "basePath": "/api/auth",
    "baseURL": "http://localhost:3000",
    "database": Database {
      "inTransaction": false,
      "memory": true,
      "name": ":memory:",
      "open": true,
      "readonly": false,
    },
    "plugins": [],
    "secret": "better-auth-secret-123456789",
  },
  "password": {
    "checkPassword": [Function],
    "config": {
      "maxPasswordLength": 128,
      "minPasswordLength": 8,
    },
    "hash": [Function],
    "verify": [Function],
  },
  "publishTelemetry": [Function],
  "rateLimit": {
    "enabled": false,
    "max": 100,
    "storage": "memory",
    "window": 10,
  },
  "runMigrations": [Function],
  "secondaryStorage": undefined,
  "secret": "better-auth-secret-123456789",
  "session": null,
  "sessionConfig": {
    "expiresIn": 604800,
    "freshAge": 86400,
    "updateAge": 86400,
  },
  "setNewSession": [Function],
  "socialProviders": [],
  "tables": {
    "account": {
      "fields": {
        "accessToken": {
          "fieldName": "accessToken",
          "required": false,
          "type": "string",
        },
        "accessTokenExpiresAt": {
          "fieldName": "accessTokenExpiresAt",
          "required": false,
          "type": "date",
        },
        "accountId": {
          "fieldName": "accountId",
          "required": true,
          "type": "string",
        },
        "createdAt": {
          "defaultValue": [Function],
          "fieldName": "createdAt",
          "required": true,
          "type": "date",
        },
        "idToken": {
          "fieldName": "idToken",
          "required": false,
          "type": "string",
        },
        "password": {
          "fieldName": "password",
          "required": false,
          "type": "string",
        },
        "providerId": {
          "fieldName": "providerId",
          "required": true,
          "type": "string",
        },
        "refreshToken": {
          "fieldName": "refreshToken",
          "required": false,
          "type": "string",
        },
        "refreshTokenExpiresAt": {
          "fieldName": "refreshTokenExpiresAt",
          "required": false,
          "type": "date",
        },
        "scope": {
          "fieldName": "scope",
          "required": false,
          "type": "string",
        },
        "updatedAt": {
          "fieldName": "updatedAt",
          "onUpdate": [Function],
          "required": true,
          "type": "date",
        },
        "userId": {
          "fieldName": "userId",
          "references": {
            "field": "id",
            "model": "user",
            "onDelete": "cascade",
          },
          "required": true,
          "type": "string",
        },
      },
      "modelName": "account",
      "order": 3,
    },
    "session": {
      "fields": {
        "createdAt": {
          "defaultValue": [Function],
          "fieldName": "createdAt",
          "required": true,
          "type": "date",
        },
        "expiresAt": {
          "fieldName": "expiresAt",
          "required": true,
          "type": "date",
        },
        "ipAddress": {
          "fieldName": "ipAddress",
          "required": false,
          "type": "string",
        },
        "token": {
          "fieldName": "token",
          "required": true,
          "type": "string",
          "unique": true,
        },
        "updatedAt": {
          "fieldName": "updatedAt",
          "onUpdate": [Function],
          "required": true,
          "type": "date",
        },
        "userAgent": {
          "fieldName": "userAgent",
          "required": false,
          "type": "string",
        },
        "userId": {
          "fieldName": "userId",
          "references": {
            "field": "id",
            "model": "user",
            "onDelete": "cascade",
          },
          "required": true,
          "type": "string",
        },
      },
      "modelName": "session",
      "order": 2,
    },
    "user": {
      "fields": {
        "createdAt": {
          "defaultValue": [Function],
          "fieldName": "createdAt",
          "required": true,
          "type": "date",
        },
        "email": {
          "fieldName": "email",
          "required": true,
          "sortable": true,
          "type": "string",
          "unique": true,
        },
        "emailVerified": {
          "defaultValue": false,
          "fieldName": "emailVerified",
          "required": true,
          "type": "boolean",
        },
        "image": {
          "fieldName": "image",
          "required": false,
          "type": "string",
        },
        "name": {
          "fieldName": "name",
          "required": true,
          "sortable": true,
          "type": "string",
        },
        "updatedAt": {
          "defaultValue": [Function],
          "fieldName": "updatedAt",
          "onUpdate": [Function],
          "required": true,
          "type": "date",
        },
      },
      "modelName": "user",
      "order": 1,
    },
    "verification": {
      "fields": {
        "createdAt": {
          "defaultValue": [Function],
          "fieldName": "createdAt",
          "required": true,
          "type": "date",
        },
        "expiresAt": {
          "fieldName": "expiresAt",
          "required": true,
          "type": "date",
        },
        "identifier": {
          "fieldName": "identifier",
          "required": true,
          "type": "string",
        },
        "updatedAt": {
          "defaultValue": [Function],
          "fieldName": "updatedAt",
          "onUpdate": [Function],
          "required": true,
          "type": "date",
        },
        "value": {
          "fieldName": "value",
          "required": true,
          "type": "string",
        },
      },
      "modelName": "verification",
      "order": 4,
    },
  },
  "trustedOrigins": [
    "http://localhost:3000",
  ],
}
`;
