@polymathnetwork/launchpad-redis 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -2
- package/dist/util/search.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { createRedisClient } from './client';
|
|
2
|
-
import { SchemaRecord } from 'util/search';
|
|
3
|
-
import { ClientReturnType } from 'types';
|
|
2
|
+
import { SchemaRecord } from './util/search';
|
|
3
|
+
import { ClientReturnType } from './types';
|
|
4
4
|
export { createRedisClient, SchemaRecord, ClientReturnType };
|
package/dist/util/search.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type FieldType = 'TEXT' | 'NUMERIC' | '
|
|
1
|
+
type FieldType = 'TEXT' | 'NUMERIC' | 'DATE';
|
|
2
2
|
export type SchemaRecord = Record<string, FieldType>;
|
|
3
3
|
export declare const convertToRedisearchSchema: (schemaRecord: SchemaRecord) => string[];
|
|
4
4
|
export declare const convertToRedisearchDataset: (dataset: Record<string, any>[], schemaRecord: SchemaRecord, prefix: string, documentIdentifier: string) => Record<string, any>[];
|