Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: MVP Knowledge #1256

Closed
wants to merge 218 commits into from
Closed
Show file tree
Hide file tree
Changes from 207 commits
Commits
Show all changes
218 commits
Select commit Hold shift + click to select a range
615d9e5
feat: init structure
thewbuk May 22, 2024
518a236
feat: frst card components and sidebar
thewbuk May 22, 2024
65e13fd
feat sidebar and popup
thewbuk May 22, 2024
80de628
feat styling cards
thewbuk May 22, 2024
0f17631
feat in card menu
thewbuk May 22, 2024
8545140
feat: start delete popup
thewbuk May 22, 2024
1e622b1
feat styling
thewbuk May 22, 2024
7805051
Test GPG signing
thewbuk May 23, 2024
e884390
feat: styling
thewbuk May 23, 2024
0215a03
fix: delete dialog
thewbuk May 23, 2024
665b337
feat: edit info start
thewbuk May 23, 2024
6019817
feat: edit info
thewbuk May 23, 2024
2e27112
fix padding in delete dropdown
thewbuk May 23, 2024
74d92b2
feat: deletion confirmation
thewbuk May 26, 2024
ad14a1c
fix timing
thewbuk May 26, 2024
aa2d50c
feat: backend start
thewbuk May 26, 2024
e503042
backend setup
thewbuk May 28, 2024
2409959
update backend
thewbuk May 28, 2024
ab726af
update apis
thewbuk May 29, 2024
c546936
add tabs
thewbuk May 29, 2024
93aaff5
working tab swicth
thewbuk May 29, 2024
57fc6a1
feat: upload tab start
thewbuk May 29, 2024
aa0d899
add conent to upload tab
thewbuk May 29, 2024
1ba21b4
feat: upload styling
thewbuk May 29, 2024
df3c0e2
fix: propagation overlay
thewbuk May 29, 2024
10aa210
start fixing styling in explore tab
thewbuk May 29, 2024
32ec02b
comment v2
thewbuk May 29, 2024
470f79e
update styling
thewbuk May 29, 2024
a4474c8
styling changes
thewbuk May 29, 2024
6e34fb3
styling changes
thewbuk May 29, 2024
a8e9264
refactor code and update apis
thewbuk May 30, 2024
0732799
add catalog tab
thewbuk May 30, 2024
b41eb24
uodate to tags
thewbuk May 30, 2024
567e6c6
styling in catalog tab
thewbuk May 30, 2024
49b04ba
finish styling
thewbuk May 30, 2024
413ac6b
add comments
thewbuk May 30, 2024
6010a2f
pass name to tabs
thewbuk May 30, 2024
951c3f0
uncomment the navbar
thewbuk May 30, 2024
6fe2c36
fix: icons not visble
thewbuk May 30, 2024
894a3b0
fix icon size
thewbuk May 30, 2024
4797c89
fix icon spacing
thewbuk May 30, 2024
fd7d5df
margin fixes
thewbuk May 30, 2024
037c644
file padding fixes
thewbuk May 30, 2024
bc70e8d
code refactor
thewbuk May 30, 2024
f51fc8c
add loading skeletons
thewbuk May 30, 2024
85ec055
fix preview padding
thewbuk May 30, 2024
fdfc805
fix padding headers
thewbuk May 30, 2024
8ad003e
add cursor pointer to browse
thewbuk May 30, 2024
26866e3
small margin fixes
thewbuk May 30, 2024
59dcbef
remove gap-y in tabs
thewbuk May 30, 2024
8b8713c
update drag radius
thewbuk May 30, 2024
b3a17c6
move function to query
thewbuk May 31, 2024
3dca4df
update apis and types
thewbuk May 31, 2024
60e36b1
fix import in veiw
thewbuk May 31, 2024
1db2a05
update apis up to updated spec
thewbuk May 31, 2024
f159beb
fix typos
thewbuk May 31, 2024
50c7bd5
update api endpoints to match d0
thewbuk May 31, 2024
1496687
update imports
thewbuk Jun 3, 2024
af1e709
update apis
thewbuk Jun 3, 2024
d7b42fc
add edit dialog
thewbuk Jun 3, 2024
b51a28d
disable dialog button if not filled
thewbuk Jun 3, 2024
246c6f6
fix: disabled buttons
thewbuk Jun 3, 2024
d0d5b3c
update mock data in uploud
thewbuk Jun 4, 2024
f013077
fix cloning
thewbuk Jun 4, 2024
40b2fe9
change to % in progress
thewbuk Jun 4, 2024
b470277
added close button to delete confirmation
thewbuk Jun 5, 2024
8cf4c39
UI changes, add modify button start on persitant delete notyfication
thewbuk Jun 5, 2024
d724dad
refactor delete
thewbuk Jun 5, 2024
15b25dc
fixes for the delete modal
thewbuk Jun 5, 2024
78c5764
fixes to the delete confirmation
thewbuk Jun 5, 2024
6ccdd70
refactor code
thewbuk Jun 5, 2024
861dc04
rename createInstillAxiosClient variable
thewbuk Jun 5, 2024
1e5684b
add name tranform to conform to standard in kb
thewbuk Jun 6, 2024
dc9b95a
edit knowladge base to conform to norm with name
thewbuk Jun 6, 2024
a22a36e
fix: delete pop up timeout
thewbuk Jun 6, 2024
e2bd8f2
formatting
thewbuk Jun 14, 2024
df9cbcc
fix build error
thewbuk Jun 14, 2024
75dbead
fix linting
thewbuk Jun 14, 2024
3b36f70
fix linting 2
thewbuk Jun 14, 2024
b0e9456
fix lint 3
thewbuk Jun 14, 2024
afdbd13
fix linting 4
thewbuk Jun 14, 2024
6c4e4e7
fix lint 5
thewbuk Jun 14, 2024
9853b35
formatting final
thewbuk Jun 14, 2024
3efa2fd
add nav link to components
thewbuk Jun 14, 2024
50a0f07
PR fixes
thewbuk Jun 15, 2024
562a1ea
PR fixes
thewbuk Jun 15, 2024
fc3a42b
allow nullable uid
thewbuk Jun 15, 2024
44718a4
formatting
thewbuk Jun 15, 2024
9bf00a5
add uploud api
thewbuk Jun 13, 2024
4ef8937
feat: drag and drop start
thewbuk Jun 13, 2024
99664d5
feat: fix drag and drop
thewbuk Jun 13, 2024
4297943
change handle drag div type
thewbuk Jun 13, 2024
93f6c8e
update tabs
thewbuk Jun 15, 2024
e09a5f4
align classnames
thewbuk Jun 15, 2024
53afe5d
styling changes
thewbuk Jun 15, 2024
cde0db1
styling updates
thewbuk Jun 15, 2024
5885fbf
change widths of columns
thewbuk Jun 15, 2024
6934c46
add separator
thewbuk Jun 16, 2024
13cfd2d
fix: paddings and borders
thewbuk Jun 16, 2024
a8fbe3a
add new tabs
thewbuk Jun 16, 2024
da235e3
feat: add new tabs
thewbuk Jun 16, 2024
2821db3
add chunk tab
thewbuk Jun 16, 2024
50ded45
finish Chunk Tab
thewbuk Jun 16, 2024
e57d2ca
add image tab
thewbuk Jun 16, 2024
f7677f5
add metadata component
thewbuk Jun 16, 2024
5c8b95d
align metadat with design
thewbuk Jun 16, 2024
00c7654
fix sidebar reset
thewbuk Jun 16, 2024
8ce7335
add image tab
thewbuk Jun 16, 2024
c9fd60b
add select user
thewbuk Jun 18, 2024
3188479
add process file button
thewbuk Jun 18, 2024
e647cbf
clean up start
thewbuk Jun 18, 2024
9bf60ee
add delete button
thewbuk Jun 18, 2024
3547c94
add delete button to uploaded file
thewbuk Jun 18, 2024
3c535fe
disable process file functionality
thewbuk Jun 18, 2024
dafe07f
ts fixes
thewbuk Jun 18, 2024
59b9599
refactor catalog tab
thewbuk Jun 18, 2024
02a6d6a
update catalog
thewbuk Jun 18, 2024
ea52f8d
implement namespace when creating kb
thewbuk Jun 19, 2024
4fcb9b0
add EntitySelector
thewbuk Jun 19, 2024
3ae6d56
fix the error message position
thewbuk Jun 19, 2024
adf8854
fix spacing between inputs
thewbuk Jun 19, 2024
612ffc4
fix form validation
thewbuk Jun 19, 2024
0f7af57
fix row heigtht changes
thewbuk Jun 19, 2024
05b1f8f
keep fixed gaps between cards
thewbuk Jun 20, 2024
9d9ba49
fix api to get kbs
thewbuk Jun 20, 2024
6b40d05
add file to big pop up
thewbuk Jun 20, 2024
6a95a9b
added unsupported file type pop up
thewbuk Jun 20, 2024
0c8a5e9
change pop ups width to fixed
thewbuk Jun 20, 2024
87c077b
fix the pop up behaviour in catalog tab
thewbuk Jun 20, 2024
3a4320b
add delete file pop up
thewbuk Jun 20, 2024
1bd9ea1
code refactor start
thewbuk Jun 20, 2024
dd9167b
add timeouts to upload tab
thewbuk Jun 20, 2024
e340440
fix corner radius in pop ups
thewbuk Jun 20, 2024
18111c0
fix mock data in catalog
thewbuk Jun 20, 2024
eb7c7f7
adjust padding when in catalog
thewbuk Jun 20, 2024
fea5470
fix typescript
thewbuk Jun 20, 2024
01af0d1
fix drag and drop
thewbuk Jun 20, 2024
f18642e
fix border changes on drop file
thewbuk Jun 20, 2024
e37fce8
fix metatag
thewbuk Jun 20, 2024
cb98d34
formatting
thewbuk Jun 20, 2024
d7820e4
fix linting
thewbuk Jun 20, 2024
b039913
change navlinks to Knowledge
thewbuk Jun 20, 2024
7a400c2
fix linting and typo
thewbuk Jun 20, 2024
3c74fd7
finish fixing linting
thewbuk Jun 20, 2024
32d0ef5
fix rename update local state
thewbuk Jun 20, 2024
dd168ee
update header
thewbuk Jun 20, 2024
be16b73
review hotfixes
thewbuk Jun 22, 2024
8b319c8
preselect entity
thewbuk Jun 22, 2024
c774503
reset create kb dialog every time
thewbuk Jun 22, 2024
7ce7db4
code refactor for creating kb
thewbuk Jun 22, 2024
7bc6509
remove stroke from icon
thewbuk Jun 22, 2024
0a61001
fix page paddings
thewbuk Jun 22, 2024
80be60f
hotfixes
thewbuk Jun 22, 2024
dcf2ae2
fix border dashes
thewbuk Jun 22, 2024
e98ae5e
refactor: Update knowledge base creation logic
thewbuk Jul 9, 2024
1a0b9dd
Update knowledge base types and API calls
thewbuk Jul 9, 2024
d789043
fix the icon
thewbuk Jul 9, 2024
ea6587c
Refactor knowledge base creation logic and update API calls
thewbuk Jul 11, 2024
871ccb4
remove tags from mvp
thewbuk Jul 11, 2024
b97a8e5
add credit usage notification
thewbuk Jul 11, 2024
6235b74
Added tooltip to kb cards
thewbuk Jul 11, 2024
9728bfd
add search and sort options UI
thewbuk Jul 11, 2024
12fcbe6
align sort options with applications
thewbuk Jul 11, 2024
a017566
start file overlay for chunks
thewbuk Jul 11, 2024
4e3fc41
add icon to collapsable part of sidebar
thewbuk Jul 11, 2024
3b47fcb
add dots to status file tags
thewbuk Jul 11, 2024
9495abf
add search to the dashboard
thewbuk Jul 11, 2024
d4a4ea8
display credit pop up when file is processed
thewbuk Jul 11, 2024
29890aa
fix the sidebar icon and options
thewbuk Jul 11, 2024
c17d61e
add upload api calls
thewbuk Jul 11, 2024
81f50dc
update the file apis
thewbuk Jul 12, 2024
c28e320
fix fileUid typo in API call
thewbuk Jul 12, 2024
b4d537f
fix display the file props start
thewbuk Jul 12, 2024
adcf45d
keep the file name one line
thewbuk Jul 12, 2024
2ff8715
start chunk overlay
thewbuk Jul 12, 2024
fb411f8
start chunk file api and move to api in chunk tab
thewbuk Jul 12, 2024
51c097d
add limit to number of kb created
thewbuk Jul 16, 2024
c7c335e
ui fixes
thewbuk Jul 16, 2024
9a7e6d2
retrieve test tab added
thewbuk Jul 16, 2024
1e1de95
fix spaces in copy button
thewbuk Jul 16, 2024
d749e50
search descriptions
thewbuk Jul 16, 2024
082e473
fix the clone/edit/delete in the main tab
thewbuk Jul 16, 2024
603512b
fix the catalog tab and add auto refresh for the file status
thewbuk Jul 16, 2024
a431b82
change file overlay to use Dialog
thewbuk Jul 16, 2024
7b9eebb
only check the file status if not all completed
thewbuk Jul 16, 2024
78ba6e3
implement api for the chunk tab
thewbuk Jul 16, 2024
759c09a
fix the file name in overlay
thewbuk Jul 17, 2024
75ac586
fix displaying the chunks in the tab
thewbuk Jul 17, 2024
cea50e8
finish the chunk, token and highlight implementation
thewbuk Jul 17, 2024
55e559d
add icons for doc types
thewbuk Jul 18, 2024
6db24c1
updates to chunk tab
thewbuk Jul 19, 2024
a121a39
fix undo delete file in catalog tab
thewbuk Jul 19, 2024
e13c023
fix the sorting
thewbuk Jul 22, 2024
9bf1255
fix uploud multiple files
thewbuk Jul 22, 2024
a1eda8c
add file type to file details overlay
thewbuk Jul 22, 2024
fee4867
use codeBlock in retrieve tab
thewbuk Jul 22, 2024
c12fc89
fix the codeblocks, tooltip
thewbuk Jul 22, 2024
d9df2e3
change the tab name
thewbuk Jul 23, 2024
1f37469
update the apis to a new structure
thewbuk Jul 23, 2024
fe18d18
PR fixes
thewbuk Jul 25, 2024
3da7e2c
PR fixes
thewbuk Jul 25, 2024
9496cb4
PR fixes
thewbuk Jul 25, 2024
6a493f7
PR fixes
thewbuk Jul 25, 2024
2351234
restructure api calls
thewbuk Jul 25, 2024
3fe6006
move all apis to client
thewbuk Jul 25, 2024
fdc91c4
update the api calls
thewbuk Jul 25, 2024
0782841
update the api calls
thewbuk Jul 25, 2024
0076bcd
env fixes
thewbuk Jul 26, 2024
4a555c0
update functions
thewbuk Jul 26, 2024
39020d4
update api calls
thewbuk Jul 29, 2024
3382502
fix artifact client
thewbuk Jul 29, 2024
a28cb03
fix artifact imports
thewbuk Jul 29, 2024
5a95f7e
fix CreditUsageFileNotification export
thewbuk Jul 29, 2024
cf16df9
change xports to defaults
thewbuk Jul 29, 2024
7c74bcf
fix typo and render
thewbuk Jul 29, 2024
42b107d
move api client to artifact
thewbuk Jul 29, 2024
fb2a252
add artifact client to api calls
thewbuk Jul 29, 2024
83dbee4
start fixing ts issues
thewbuk Jul 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions apps/console/src/app/[entity]/knowledge/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { Metadata } from "next";
import { KnowladgeBasePageRender } from "./render";

export async function generateMetadata() {
const metadata: Metadata = {
title: `Instill Cloud | Knowledge`,
openGraph: {
images: ["/instill-open-graph.png"],
},
};

return Promise.resolve(metadata);
}

export default async function Page() {
return <KnowladgeBasePageRender />;
}
29 changes: 29 additions & 0 deletions apps/console/src/app/[entity]/knowledge/render.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
"use client";

import { AppTopbar, KnowledgeBaseView, PageBase } from "@instill-ai/toolkit";
import { useAppAccessToken } from "lib/use-app-access-token";
import { useAppTrackToken } from "lib/useAppTrackToken";
import { useRouter } from "next/navigation";

export const KnowladgeBasePageRender = () => {
const router = useRouter();

const accessToken = useAppAccessToken();
useAppTrackToken({ enabled: true });
// useInitAmplitude();

return (
<PageBase>
<AppTopbar />
<PageBase.Container>
<PageBase.Content contentPadding="!p-0">
<KnowledgeBaseView
accessToken={accessToken.isSuccess ? accessToken.data : null}
enableQuery={accessToken.isSuccess}
router={router}
/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thewbuk We don't use this kind of props to input access token and enabledQuery now. We can use the state in the useInstillStore. Please take a look at how we make it in other pages

</PageBase.Content>
</PageBase.Container>
</PageBase>
);
};
27 changes: 27 additions & 0 deletions packages/design-system/src/new-ui/Icons/GraduationHat.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
"use client";

import * as React from "react";
import { IconBase, IconBaseProps } from "./IconBase";

export const GraduationHat = React.forwardRef<
SVGSVGElement,
Omit<IconBaseProps, "viewBox" | "children">
>((props, ref) => {
const { className, ...passThrough } = props;
return (
<IconBase
{...passThrough}
ref={ref}
viewBox="0 0 24 24"
className={className}
>
<path
d="M17 14.5001V11.4945C17 11.315 17 11.2253 16.9727 11.146C16.9485 11.076 16.9091 11.0122 16.8572 10.9592C16.7986 10.8993 16.7183 10.8592 16.5578 10.779L12 8.50006M4 9.50006V16.3067C4 16.6786 4 16.8645 4.05802 17.0274C4.10931 17.1713 4.1929 17.3016 4.30238 17.4082C4.42622 17.5287 4.59527 17.6062 4.93335 17.7612L11.3334 20.6945C11.5786 20.8069 11.7012 20.8631 11.8289 20.8853C11.9421 20.9049 12.0579 20.9049 12.1711 20.8853C12.2988 20.8631 12.4214 20.8069 12.6666 20.6945L19.0666 17.7612C19.4047 17.6062 19.5738 17.5287 19.6976 17.4082C19.8071 17.3016 19.8907 17.1713 19.942 17.0274C20 16.8645 20 16.6786 20 16.3067V9.50006M2 8.50006L11.6422 3.67895C11.7734 3.61336 11.839 3.58056 11.9078 3.56766C11.9687 3.55622 12.0313 3.55622 12.0922 3.56766C12.161 3.58056 12.2266 3.61336 12.3578 3.67895L22 8.50006L12.3578 13.3212C12.2266 13.3868 12.161 13.4196 12.0922 13.4325C12.0313 13.4439 11.9687 13.4439 11.9078 13.4325C11.839 13.4196 11.7734 13.3868 11.6422 13.3212L2 8.50006Z"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
/>
</IconBase>
);
});
GraduationHat.displayName = "IconGraduationHat";
23 changes: 23 additions & 0 deletions packages/design-system/src/new-ui/Icons/MDFile.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
"use client";

import * as React from "react";
import { IconBase, IconBaseProps } from "./IconBase";

export const MDFile = React.forwardRef<
SVGSVGElement,
Omit<IconBaseProps, "viewBox" | "children">
>((props, ref) => {
const { className, ...passThrough } = props;
return (
<IconBase
{...passThrough}
ref={ref}
viewBox="0 0 24 24"
className={className}
>
<path d="M0 4.88648C0 2.67734 1.79086 0.886475 4 0.886475H20L32 12.8865V36.8865C32 39.0956 30.2091 40.8865 28 40.8865H4C1.79086 40.8865 0 39.0956 0 36.8865V4.88648Z" fill="#316FED" />
<path opacity="0.3" d="M20 0.886475L32 12.8865H24C21.7909 12.8865 20 11.0956 20 8.88647V0.886475Z" fill="white" />
</IconBase>
);
});
MDFile.displayName = "IconMDFile";
23 changes: 23 additions & 0 deletions packages/design-system/src/new-ui/Icons/PDFFile.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
"use client";

import * as React from "react";
import { IconBase, IconBaseProps } from "./IconBase";

export const PDFFile = React.forwardRef<
SVGSVGElement,
Omit<IconBaseProps, "viewBox" | "children">
>((props, ref) => {
const { className, ...passThrough } = props;
return (
<IconBase
{...passThrough}
ref={ref}
viewBox="0 0 24 24"
className={className}
>
<path d="M0 4.88648C0 2.67734 1.79086 0.886475 4 0.886475H20L32 12.8865V36.8865C32 39.0956 30.2091 40.8865 28 40.8865H4C1.79086 40.8865 0 39.0956 0 36.8865V4.88648Z" fill="#E02E3D" />
<path opacity="0.3" d="M20 0.886475L32 12.8865H24C21.7909 12.8865 20 11.0956 20 8.88647V0.886475Z" fill="white" />
</IconBase>
);
});
PDFFile.displayName = "IconPDFFile";
27 changes: 27 additions & 0 deletions packages/design-system/src/new-ui/Icons/SlashDivider.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
"use client";

import * as React from "react";
import { IconBase, IconBaseProps } from "./IconBase";

export const SlashDivider = React.forwardRef<
SVGSVGElement,
Omit<IconBaseProps, "viewBox" | "children">
>((props, ref) => {
const { className, ...passThrough } = props;
return (
<IconBase
{...passThrough}
ref={ref}
viewBox="0 0 24 24"
className={className}
>
<path
d="M1 21L11 1"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
/>
</IconBase>
);
});
SlashDivider.displayName = "SlashDivider";
thewbuk marked this conversation as resolved.
Show resolved Hide resolved
23 changes: 23 additions & 0 deletions packages/design-system/src/new-ui/Icons/TXTFile.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
"use client";

import * as React from "react";
import { IconBase, IconBaseProps } from "./IconBase";

export const TXTFile = React.forwardRef<
SVGSVGElement,
Omit<IconBaseProps, "viewBox" | "children">
>((props, ref) => {
const { className, ...passThrough } = props;
return (
<IconBase
{...passThrough}
ref={ref}
viewBox="0 0 24 24"
className={className}
>
<path d="M0 4.88648C0 2.67734 1.79086 0.886475 4 0.886475H20L32 12.8865V36.8865C32 39.0956 30.2091 40.8865 28 40.8865H4C1.79086 40.8865 0 39.0956 0 36.8865V4.88648Z" fill="#1D2433" />
<path opacity="0.3" d="M20 0.886475L32 12.8865H24C21.7909 12.8865 20 11.0956 20 8.88647V0.886475Z" fill="white" />
</IconBase>
);
});
TXTFile.displayName = "IconTXTFile";
10 changes: 10 additions & 0 deletions packages/design-system/src/new-ui/Icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ import { Flag04 } from "./Flag04";
import { Gear01 } from "./Gear01";
import { GitMerge } from "./GitMerge";
import { Globe01 } from "./Globe01";
import { GraduationHat } from "./GraduationHat";
import { HelpCircle } from "./HelpCircle";
import { Image01 } from "./Image01";
import { ImagePlus } from "./ImagePlus";
Expand All @@ -74,6 +75,7 @@ import { LockUnlocked03 } from "./LockUnlocked03";
import { Logout01 } from "./Logout01";
import { Mail01 } from "./Mail01";
import { MasterCard } from "./MasterCard";
import { MDFile } from "./MDFile";
import { Menu01 } from "./Menu01";
import { MessageChatSquare } from "./MessageChatSquare";
import { MessageSmileSquare } from "./MessageSmileSquare";
Expand All @@ -82,6 +84,7 @@ import { Model } from "./Model";
import { MultipleVideo } from "./MultipleVideo";
import { NewModel } from "./NewModel";
import { PauseCircle } from "./PauseCircle";
import {PDFFile} from "./PDFFile"
import { Pipeline } from "./Pipeline";
import { Play } from "./Play";
import { PlayCircle } from "./PlayCircle";
Expand All @@ -100,6 +103,7 @@ import { Scales02 } from "./Scales02";
import { SearchLg } from "./SearchLg";
import { SearchSm } from "./SearchSm";
import { Settings02 } from "./Settings02";
import { SlashDivider } from "./SlashDivider";
import { Share07 } from "./Share07";
import { Sliders01 } from "./Sliders01";
import { SortLinesDown } from "./SortLinesDown";
Expand All @@ -115,6 +119,7 @@ import { Trash01 } from "./Trash01";
import { Trash03 } from "./Trash03";
import { Type01 } from "./Type01";
import { Type02 } from "./Type02";
import { TXTFile } from "./TXTFile";
import { TypePlus } from "./TypePlus";
import { Update } from "./Update";
import { Upload01 } from "./Upload01";
Expand Down Expand Up @@ -191,6 +196,7 @@ export const Icons = {
Gear01,
GitMerge,
Globe01,
GraduationHat,
HelpCircle,
IntersectSquare,
Link01,
Expand All @@ -207,12 +213,14 @@ export const Icons = {
MultipleVideo,
PauseCircle,
MasterCard,
MDFile,
Menu01,
MessageChatSquare,
Minus,
Mail01,
MessageSmileSquare,
NewModel,
PDFFile,
Pipeline,
Play,
PlayCircle,
Expand All @@ -231,6 +239,7 @@ export const Icons = {
Settings02,
SpeechRecognition,
Sliders01,
SlashDivider,
Speaker01,
Stop,
SearchLg,
Expand All @@ -247,6 +256,7 @@ export const Icons = {
Type02,
TypePlus,
Tool01,
TXTFile,
Upload01,
User01,
User02,
Expand Down
3 changes: 2 additions & 1 deletion packages/sdk/src/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
} from "../core";
import { ModelClient } from "../model";
import { GeneralRecord, HttpMethod } from "../types";
import { ComponentClient, PipelineClient } from "../vdp";
import { ComponentClient, PipelineClient, ArtifactClient } from "../vdp";
import { ReleaseClient } from "../vdp/release";
import { SecretClient } from "../vdp/secret";
import { TriggerClient } from "../vdp/trigger";
Expand Down Expand Up @@ -87,6 +87,7 @@ export class InstillAPIClient {
vdp = {
component: new ComponentClient(this),
pipeline: new PipelineClient(this),
artifact: new ArtifactClient(this),
release: new ReleaseClient(this),
trigger: new TriggerClient(this),
secret: new SecretClient(this),
Expand Down
Loading
Loading