Skip to content

Commit

Permalink
pnpm (biome) format, mainly import type tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
odilitime committed Feb 28, 2025
1 parent c6a08d8 commit 11f8f7c
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 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

0 comments on commit 11f8f7c

Please sign in to comment.