Skip to content

Commit

Permalink
chore: format pass (#3715)
Browse files Browse the repository at this point in the history
* pnpm (biome) format, mainly import type tweaks
  • Loading branch information
odilitime authored Feb 28, 2025
1 parent 92d6cad commit 6ce02bb
Show file tree
Hide file tree
Showing 8 changed files with 632 additions and 516 deletions.
2 changes: 1 addition & 1 deletion agent/src/defaultCharacter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Character, ModelProviderName } from "@elizaos/core";
import { type Character, ModelProviderName } from "@elizaos/core";

export const defaultCharacter: Character = {
name: "Eliza",
Expand Down
2 changes: 1 addition & 1 deletion docs/src/data/registry-users.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is auto-generated. Do not edit directly.
import {type User} from './users';
import type {User} from './users';

export const registryUsers: User[] = [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import clsx from 'clsx';
import { type User } from '@site/src/data/users';
import type { User } from '@site/src/data/users';
import ShowcaseCard from '../ShowcaseCard';
import styles from './styles.module.css';

Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-sqlite/__tests__/sqlite-adapter.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { type UUID } from '@elizaos/core';
import type { UUID } from '@elizaos/core';
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import { SqliteDatabaseAdapter } from '../src';
import { load } from '../src/sqlite_vec';
import { Database } from 'better-sqlite3';
import type { Database } from 'better-sqlite3';

// Mock the elizaLogger
vi.mock('@elizaos/core', async () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/client-direct/src/api.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import express from "express";
import { Router } from 'express';
import type { Router } from 'express';
import bodyParser from "body-parser";
import cors from "cors";
import path from "path";
Expand Down
2 changes: 1 addition & 1 deletion packages/client-direct/src/verifiable-log-api.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import express from "express";
import { Router } from 'express';
import type { Router } from 'express';
import bodyParser from "body-parser";
import cors from "cors";

Expand Down
2 changes: 1 addition & 1 deletion packages/core/__tests__/mockCharacter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Character, ModelProviderName } from "@elizaos/core";
import { type Character, ModelProviderName } from "../types.ts";

export const mockCharacter: Character = {
name: "Eliza",
Expand Down
1,132 changes: 624 additions & 508 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

0 comments on commit 6ce02bb

Please sign in to comment.