File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 "postinstall" : " prisma generate"
1919 },
2020 "dependencies" : {
21+ "@assembly-js/node-sdk" : " ^3.19.1" ,
2122 "@emotion/react" : " ^11.11.3" ,
2223 "@emotion/styled" : " ^11.11.0" ,
2324 "@mui/icons-material" : " ^5.14.5" ,
2627 "@sentry/nextjs" : " ^8" ,
2728 "@vercel/postgres" : " ^0.5.1" ,
2829 "ag-grid-react" : " ^31.0.2" ,
29- "copilot-node-sdk" : " ^3.5.1" ,
3030 "next" : " ^14.1.0" ,
3131 "prisma" : " ^5.7.1" ,
3232 "react" : " ^18" ,
Original file line number Diff line number Diff line change 1- import { copilotApi } from 'copilot- node-sdk' ;
2- import type { CopilotAPI as SDK } from 'copilot- node-sdk' ;
1+ import { assemblyApi } from '@assembly-js/ node-sdk' ;
2+ import type { AssemblyAPI as SDK } from '@assembly-js/ node-sdk' ;
33import {
44 ClientResponse ,
55 ClientResponseSchema ,
@@ -26,7 +26,7 @@ export class CopilotAPI {
2626 copilot : SDK ;
2727
2828 constructor ( apiToken : string ) {
29- this . copilot = copilotApi ( {
29+ this . copilot = assemblyApi ( {
3030 apiKey : copilotAPIKey ,
3131 token : apiToken ,
3232 } ) ;
@@ -70,6 +70,6 @@ export class CopilotAPI {
7070 }
7171
7272 async getCustomFields ( ) : Promise < CustomFieldResponse > {
73- return CustomFieldResponseSchema . parse ( await this . copilot . listCustomFields ( ) ) ;
73+ return CustomFieldResponseSchema . parse ( await this . copilot . listCustomFields ( { } ) ) ;
7474 }
7575}
Original file line number Diff line number Diff line change 1515 " @jridgewell/gen-mapping" " ^0.3.0"
1616 " @jridgewell/trace-mapping" " ^0.3.9"
1717
18+ " @assembly-js/node-sdk@^3.19.1 " :
19+ version "3.19.1"
20+ resolved "https://registry.yarnpkg.com/@assembly-js/node-sdk/-/node-sdk-3.19.1.tgz#3d9ff79782250e9ee7f0afc43d050d205afdb3f8"
21+ integrity sha512-8td1ks3Oj3aPmFGUXdoTC28fEH3t5keyDt4vTewfOBSZW3sW0Rxw7LP9oP4clw29KIeLQtM5BTpsP3I5VM0edw==
22+ dependencies :
23+ isomorphic-fetch "^3.0.0"
24+ next "^14.0.2"
25+
1826" @babel/code-frame@^7.0.0" , "@babel/code-frame@^7.23.5":
1927 version "7.23.5"
2028 resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.23.5.tgz#9009b69a8c602293476ad598ff53e4562e15c244"
@@ -3053,14 +3061,6 @@ convert-source-map@^2.0.0:
30533061 resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a"
30543062 integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==
30553063
3056- copilot-node-sdk@^3.5.1 :
3057- version "3.5.1"
3058- resolved "https://registry.yarnpkg.com/copilot-node-sdk/-/copilot-node-sdk-3.5.1.tgz#99fb3db7b1f2e0f7574862b9cf5accebc161af3e"
3059- integrity sha512-0qmmJJD0LMnORVxsbhqjtqEJ3f2d8TbY5BYXL2sDiNTi53QDuQuAwQUmHp8DZfqVbaTz9waZhgJMq5zL7c8BmA==
3060- dependencies :
3061- isomorphic-fetch "^3.0.0"
3062- next "^14.0.2"
3063-
30643064core-js-compat@^3.31.0, core-js-compat@^3.34.0 :
30653065 version "3.35.1"
30663066 resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.35.1.tgz#215247d7edb9e830efa4218ff719beb2803555e2"
You can’t perform that action at this time.
0 commit comments