feat: add @affine/sdk (#3536)

This commit is contained in:
Alex Yang
2023-08-02 21:47:05 -07:00
committed by GitHub
parent d3c719d89a
commit ea34d66e14
39 changed files with 256 additions and 93 deletions

View File

@@ -15,7 +15,7 @@
},
"dependencies": {
"@affine/component": "workspace:*",
"@toeverything/plugin-infra": "workspace:*",
"@affine/sdk": "workspace:*",
"idb": "^7.1.1",
"langchain": "^0.0.118",
"marked": "^5.1.1",

View File

@@ -1,4 +1,4 @@
import type { PluginContext } from '@toeverything/plugin-infra/entry';
import type { PluginContext } from '@affine/sdk/entry';
import { createElement } from 'react';
import { createRoot } from 'react-dom/client';

View File

@@ -10,7 +10,7 @@
"path": "../../packages/component"
},
{
"path": "../../packages/plugin-infra"
"path": "../../packages/sdk"
},
{
"path": "../../packages/env"