-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
package.json
to 0.2.0 [skip ci]
# [0.2.0](v0.1.5...v0.2.0) (2021-09-22) ### Bug Fixes * add canvas to showcases dependencies ([e8b015a](e8b015a)) * add pdfjs-dist ([f473d50](f473d50)) * array destruct. ([d09ca3d](d09ca3d)) * build issues ([def060d](def060d)) * img alt ([fa3545e](fa3545e)) * input endpoint into index page ([6f02bc4](6f02bc4)) * key ([b00ebb7](b00ebb7)) * margin of arrows ([9d64973](9d64973)) * mimetype ([c6150e0](c6150e0)) * non used ([00e3628](00e3628)) * response edfault ([2a2be5f](2a2be5f)) * results component ([94602d3](94602d3)) * rm unused ([4041783](4041783)) * searchbar improvements ([8a4943b](8a4943b)) * styled jsx declaration ([1644348](1644348)) * try with cdn pdfjs worker ([0cf3258](0cf3258)) * wrong request type ([14cd196](14cd196)) ### Features * add delete input ([8061ec0](8061ec0)) * add schema.ts ([1ad9a83](1ad9a83)) * add typedoc for documentation ([c05b6aa](c05b6aa)) * basic Curstom result Item ([59fb9c8](59fb9c8)) * basic mobile pdf viewer ([276f254](276f254)) * basic PDF Modal ([26d1f85](26d1f85)) * basic searchBar ([3f84915](3f84915)) * basic simliar results ([5d5363b](5d5363b)) * Custom REsultitem ([2ffcd00](2ffcd00)) * custom serializer ([51c8be9](51c8be9)) * display thumpnail, name and page ([cbe9801](cbe9801)) * download button ([f9a30f5](f9a30f5)) * enhanced results with media ([c4c370e](c4c370e)) * event listener ([21cc533](21cc533)) * file selection in dropdown ([79da681](79da681)) * generic response type ([984e019](984e019)) * generic response type ([f893222](f893222)) * get mocked from json ([8964a90](8964a90)) * handle drop ([e26f354](e26f354)) * initial results ([3267b8c](3267b8c)) * initial search component ([2a51b62](2a51b62)) * input ref pairing with sergiy ([66ca5c5](66ca5c5)) * make queries optional ([202032d](202032d)) * make thunmpnail dark on hover ([9e72221](9e72221)) * mix it all together and you know that it's the best of both worlds ([7d7c1f8](7d7c1f8)) * pdf modal ([7ff6c6d](7ff6c6d)) * pdf preview ([a96fe22](a96fe22)) * QA transformation ([0f45d58](0f45d58)) * res to type ([ce263d2](ce263d2)) * results ([9ffcbc7](9ffcbc7)) * results initial ([a5a5bee](a5a5bee)) * results initial ([43e8872](43e8872)) * results to flex ([edec4c4](edec4c4)) * search animations ([5329001](5329001)) * search for new pdf on modal ([9bf9e09](9bf9e09)) * search with input ([27b8b6a](27b8b6a)) * search with pdfs ([630d495](630d495)) * show pdf results ([44bb25a](44bb25a)) * similiar results ([712c0fd](712c0fd)) * simple schema to type ([dac4ea6](dac4ea6)) * simple search ([3c3690c](3c3690c)) * test dropzone ([eea60cb](eea60cb)) * text preview, media preview ([31ce02d](31ce02d)) * update serializer and types ([caf961c](caf961c)) * use mockedData ([f8858f1](f8858f1)) * work with mockedResponse Object ([d5784d8](d5784d8))
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# [0.2.0](https://github.com/jina-ai/jina-ui/compare/v0.1.5...v0.2.0) (2021-09-22) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* add canvas to showcases dependencies ([e8b015a](https://github.com/jina-ai/jina-ui/commit/e8b015a61dc4cb3630ff82dcdd28fcee650f1c1f)) | ||
* add pdfjs-dist ([f473d50](https://github.com/jina-ai/jina-ui/commit/f473d50cbfcec4c0992b82b0d878f9bf3d653ef7)) | ||
* array destruct. ([d09ca3d](https://github.com/jina-ai/jina-ui/commit/d09ca3dc4a45d31eefc09116e3a0547b1dd131bb)) | ||
* build issues ([def060d](https://github.com/jina-ai/jina-ui/commit/def060d4d15eaae24ed9e1414d2689c30e79ca2c)) | ||
* img alt ([fa3545e](https://github.com/jina-ai/jina-ui/commit/fa3545e659770f9d063e8c0907bc975f4b2a5408)) | ||
* input endpoint into index page ([6f02bc4](https://github.com/jina-ai/jina-ui/commit/6f02bc4c46e5c0e170faa7c54b09ff6468a05b7d)) | ||
* key ([b00ebb7](https://github.com/jina-ai/jina-ui/commit/b00ebb775dc2534ed364d77337d89957b9d0f69d)) | ||
* margin of arrows ([9d64973](https://github.com/jina-ai/jina-ui/commit/9d6497323ffedb0fe6fa9402cd49186135f1a38d)) | ||
* mimetype ([c6150e0](https://github.com/jina-ai/jina-ui/commit/c6150e0428ad37f794655e5b24ad1ad4fe108250)) | ||
* non used ([00e3628](https://github.com/jina-ai/jina-ui/commit/00e362847c1631b34ca09065c5b03c67abb1fc36)) | ||
* response edfault ([2a2be5f](https://github.com/jina-ai/jina-ui/commit/2a2be5fe1644db47112b97b0f614658a8e361009)) | ||
* results component ([94602d3](https://github.com/jina-ai/jina-ui/commit/94602d3b0104aa03bac0d32dec784e9d1d2a1d77)) | ||
* rm unused ([4041783](https://github.com/jina-ai/jina-ui/commit/4041783f956fdd2f79cbcafeb8945f041bd6bc69)) | ||
* searchbar improvements ([8a4943b](https://github.com/jina-ai/jina-ui/commit/8a4943b129becebf3cf77e72153696bd9299b4f9)) | ||
* styled jsx declaration ([1644348](https://github.com/jina-ai/jina-ui/commit/1644348a74bed8b0a6e338a4f9a057a9093c5376)) | ||
* try with cdn pdfjs worker ([0cf3258](https://github.com/jina-ai/jina-ui/commit/0cf3258bb966edac92154bf70bea7a3592708d24)) | ||
* wrong request type ([14cd196](https://github.com/jina-ai/jina-ui/commit/14cd1969a8d24e180fa7c6f148494670c8028ef1)) | ||
|
||
|
||
### Features | ||
|
||
* add delete input ([8061ec0](https://github.com/jina-ai/jina-ui/commit/8061ec0b6226237d6462725559076563ffba7eb4)) | ||
* add schema.ts ([1ad9a83](https://github.com/jina-ai/jina-ui/commit/1ad9a83464ebcbb95708991dbafe3f2cd39cbf6f)) | ||
* add typedoc for documentation ([c05b6aa](https://github.com/jina-ai/jina-ui/commit/c05b6aa60e7f7eebd094ec8deb986c16386abdbf)) | ||
* basic Curstom result Item ([59fb9c8](https://github.com/jina-ai/jina-ui/commit/59fb9c8067f8c91b3130a965043d977fcd286567)) | ||
* basic mobile pdf viewer ([276f254](https://github.com/jina-ai/jina-ui/commit/276f254084ef89de74aab49d1d7ee667ab8c3cea)) | ||
* basic PDF Modal ([26d1f85](https://github.com/jina-ai/jina-ui/commit/26d1f85d14efbdcf23f3c545ab22ad8012c545be)) | ||
* basic searchBar ([3f84915](https://github.com/jina-ai/jina-ui/commit/3f84915ca2177ad2c0f938f5e7c242c4b9ac8d98)) | ||
* basic simliar results ([5d5363b](https://github.com/jina-ai/jina-ui/commit/5d5363b81dab4ee4940fc1de305316f2ae18104a)) | ||
* Custom REsultitem ([2ffcd00](https://github.com/jina-ai/jina-ui/commit/2ffcd006f2bfdb5405e723a8e96595602ae5928a)) | ||
* custom serializer ([51c8be9](https://github.com/jina-ai/jina-ui/commit/51c8be9965d9a81109cdf7a0fe0978dfe8d86440)) | ||
* display thumpnail, name and page ([cbe9801](https://github.com/jina-ai/jina-ui/commit/cbe980183c57e5660c7d98c86c6cefb76d19dbc5)) | ||
* download button ([f9a30f5](https://github.com/jina-ai/jina-ui/commit/f9a30f5c7d60a6b9f2ba53e4f310e2bad50f9b16)) | ||
* enhanced results with media ([c4c370e](https://github.com/jina-ai/jina-ui/commit/c4c370ec6f6bf8427abf05d3f6b822fde9570422)) | ||
* event listener ([21cc533](https://github.com/jina-ai/jina-ui/commit/21cc5335fe40f6366327ad3b3ce6c33b2db16389)) | ||
* file selection in dropdown ([79da681](https://github.com/jina-ai/jina-ui/commit/79da681d27c06e01aace3fccba8e2dec735ea9ae)) | ||
* generic response type ([984e019](https://github.com/jina-ai/jina-ui/commit/984e019ac0f265f155edfc105c597caa0f1488ca)) | ||
* generic response type ([f893222](https://github.com/jina-ai/jina-ui/commit/f8932225bbf6d17250a4be2c814d76460722d492)) | ||
* get mocked from json ([8964a90](https://github.com/jina-ai/jina-ui/commit/8964a900ae7ad3b2247adc89d570f292f80b69cb)) | ||
* handle drop ([e26f354](https://github.com/jina-ai/jina-ui/commit/e26f3541eb15812c368ea287effe2b7435a56588)) | ||
* initial results ([3267b8c](https://github.com/jina-ai/jina-ui/commit/3267b8cd51c7f8e6b45a6b80c3a9396bfadf785d)) | ||
* initial search component ([2a51b62](https://github.com/jina-ai/jina-ui/commit/2a51b62f93b8fd41b2d31f1964b1507f34501165)) | ||
* input ref pairing with sergiy ([66ca5c5](https://github.com/jina-ai/jina-ui/commit/66ca5c577fd5cc05307ce578ce8dc916e8a249cf)) | ||
* make queries optional ([202032d](https://github.com/jina-ai/jina-ui/commit/202032d99d4814669213ad3c79ffa7980eaf0856)) | ||
* make thunmpnail dark on hover ([9e72221](https://github.com/jina-ai/jina-ui/commit/9e72221083c71477cb50f59b984d0159b66d6399)) | ||
* mix it all together and you know that it's the best of both worlds ([7d7c1f8](https://github.com/jina-ai/jina-ui/commit/7d7c1f8054b9bc40cdb202c59ca5d1bf26508ec2)) | ||
* pdf modal ([7ff6c6d](https://github.com/jina-ai/jina-ui/commit/7ff6c6d1eff40b6f9ca42c286e728937adfa902a)) | ||
* pdf preview ([a96fe22](https://github.com/jina-ai/jina-ui/commit/a96fe229b0660185cf2c1348ad00c556a456c308)) | ||
* QA transformation ([0f45d58](https://github.com/jina-ai/jina-ui/commit/0f45d588f29dc2fdfa68f5eb2f605c881da99ee0)) | ||
* res to type ([ce263d2](https://github.com/jina-ai/jina-ui/commit/ce263d29dae2f49d78570634e3fb59fcbd8f120f)) | ||
* results ([9ffcbc7](https://github.com/jina-ai/jina-ui/commit/9ffcbc7558a32424e32bdcb64f4c6f79e6c2f858)) | ||
* results initial ([a5a5bee](https://github.com/jina-ai/jina-ui/commit/a5a5beea8962efd6474cbd27002d198e1a407fb5)) | ||
* results initial ([43e8872](https://github.com/jina-ai/jina-ui/commit/43e88724d7b156828c9c4d855344596f572fe8ed)) | ||
* results to flex ([edec4c4](https://github.com/jina-ai/jina-ui/commit/edec4c42bc8c0723d0d964bc9fa656b3f6ad49cd)) | ||
* search animations ([5329001](https://github.com/jina-ai/jina-ui/commit/532900157779b2c0740fb714f3132de8151e4867)) | ||
* search for new pdf on modal ([9bf9e09](https://github.com/jina-ai/jina-ui/commit/9bf9e09d646bc70b6df1d43755773dc8b78a52b7)) | ||
* search with input ([27b8b6a](https://github.com/jina-ai/jina-ui/commit/27b8b6a2dff615a989755e8d275ae41ffb7f54b7)) | ||
* search with pdfs ([630d495](https://github.com/jina-ai/jina-ui/commit/630d495d8ab641b2c3d5c8e6a1782fcd4bc4dc4b)) | ||
* show pdf results ([44bb25a](https://github.com/jina-ai/jina-ui/commit/44bb25ae402ade938e57f1cc798afd92c709c02d)) | ||
* similiar results ([712c0fd](https://github.com/jina-ai/jina-ui/commit/712c0fd7a23ee37c5f4639da4b1286fb0d15f81f)) | ||
* simple schema to type ([dac4ea6](https://github.com/jina-ai/jina-ui/commit/dac4ea661022644601f6248ddfd9e2a68d9687eb)) | ||
* simple search ([3c3690c](https://github.com/jina-ai/jina-ui/commit/3c3690c8355a7a39a80758b0d36112959b366453)) | ||
* test dropzone ([eea60cb](https://github.com/jina-ai/jina-ui/commit/eea60cb820f4e166433889f68477d4d0b44a34ee)) | ||
* text preview, media preview ([31ce02d](https://github.com/jina-ai/jina-ui/commit/31ce02d8cce1e6afc4c3b86162a96fc5e3a99853)) | ||
* update serializer and types ([caf961c](https://github.com/jina-ai/jina-ui/commit/caf961c04946208e44d4898a7502920af3af5325)) | ||
* use mockedData ([f8858f1](https://github.com/jina-ai/jina-ui/commit/f8858f178d5b61bde861b35ac9648bb99b17fca5)) | ||
* work with mockedResponse Object ([d5784d8](https://github.com/jina-ai/jina-ui/commit/d5784d87c1477bb230045cfdc8cb1b6e342667fe)) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { OpenAPIV3 } from "openapi-types"; | ||
import { AnyObject } from "types"; | ||
export default class MockedClient { | ||
private schema; | ||
constructor(schema: OpenAPIV3.Document); | ||
post(url: string, requestBody: AnyObject): Promise<{}>; | ||
get(url: string): Promise<{ | ||
data: { | ||
jina: { | ||
jina: string; | ||
}; | ||
}; | ||
} | { | ||
data?: undefined; | ||
}>; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import * as utils from "./utils"; | ||
import * as serializer from "./serializer"; | ||
import { SimpleResult, SimpleResults, Base64URI, BaseURL, RawDocumentData, SimpleQueries, SimpleQuery, AnyObject, SimpleResponse } from "./types"; | ||
import { JinaClient } from "./jinaClient"; | ||
import { fileToBase64 } from "./utils"; | ||
export default JinaClient; | ||
export { utils, serializer, BaseURL, SimpleResult, SimpleResults, Base64URI, RawDocumentData, SimpleQuery, SimpleQueries, AnyObject, SimpleResponse, fileToBase64 }; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { AnyObject, BaseURL, RawDocumentData, RequestSerializer, ResponseSerializer, SimpleQueries, SimpleResults } from "./types"; | ||
import { OpenAPIV3 } from "openapi-types"; | ||
export declare class JinaClient<IRequest = AnyObject, IResponse = AnyObject> { | ||
private baseURL; | ||
private client; | ||
private serializeRequest; | ||
private serializeResponse; | ||
private schema; | ||
private debugMode; | ||
constructor(baseURL: BaseURL, schema?: OpenAPIV3.Document, debugMode?: boolean, customSerializeRequest?: RequestSerializer<IRequest>, customSerializeResponse?: ResponseSerializer<IResponse>); | ||
init(): Promise<void>; | ||
search(...documents: RawDocumentData[]): Promise<{ | ||
results: SimpleResults[]; | ||
queries: SimpleQueries; | ||
}>; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { AnyObject, RawDocumentData, SimpleResponse } from "./types"; | ||
export declare function serializeRequest<IRequest>(documents: RawDocumentData[]): Promise<IRequest>; | ||
export declare function serializeResponse(response: AnyObject): SimpleResponse; |