dynamo-command-builder 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -41,10 +41,11 @@ type DynamoQueryRequest = {
41
41
  skComparator?: DynamoComparator;
42
42
  indexName?: string;
43
43
  limit?: number;
44
- lastEvaluatedKey?: Record<string, unknown>;
44
+ lastEvaluatedKey?: Record<string, unknown> | undefined;
45
45
  sorting?: 'ASC' | 'DESC';
46
46
  };
47
47
  declare const dynamoQueryRequestSch: z.ZodType<DynamoQueryRequest>;
48
+ type DynamoQueryReq = z.infer<typeof dynamoQueryRequestSch>;
48
49
 
49
50
  declare const genericRecordSch: z.ZodRecord<z.ZodString, z.ZodUnknown>;
50
51
  type GenericRecord = z.infer<typeof genericRecordSch>;
@@ -312,4 +313,4 @@ type GeneratedDynamoFilterAttributes = {
312
313
  declare function generateDynamoFilterAttributes(filters: DynamoFiltersInput): GeneratedDynamoFilterAttributes | null;
313
314
  declare function parseValueByType(type: DynamoFilterValueType, raw: string): unknown;
314
315
 
315
- export { type CustomGetCommandInput, type CustomPutCommandInput, type CustomQueryCommandInput, type CustomScanCommandInput, type CustomUpdateCommandInput, type DynamoAttrType, type DynamoComparator, type DynamoFilter, type DynamoFilterCondition, type DynamoFilterValueType, type DynamoFiltersInput, type DynamoKeyAttrType, type DynamoQueryRequest, type EventParams, type GeneratedDynamoFilterAttributes, type GenericRecord, type QueryParamsType, QueryParseError, RESERVED_KEYWORDS_SET, type StringRecord, buildGetCommandInput, buildPutCommandInput, buildQueryCommandInput, buildScanCommandInput, buildUpdateCommandInput, createKeyConditionExpression, customGetCommandInputSchema, customPutCommandInputSchema, customQueryCommandInputSchema, customScanCommandInputSch, customUpdateCommandInputSchema, dynamoAttrTypeSch, dynamoComparatorSch, dynamoFilterConditionSch, dynamoFilterSch, dynamoFilterValueTypeSch, dynamoFiltersInputSch, dynamoKeyAttrTypeSch, dynamoQueryRequestSch, extractExpAttributeNamesFromExpression, extractExpAttributeNamesFromUpdateExp, extractQueryReqFromParams, generateDynamoFilterAttributes, omit, parseDynamoKeyValue, parseValueByType, replaceReservedKeywordsFromProjection, replaceReservedKeywordsFromUpdateExp };
316
+ export { type CustomGetCommandInput, type CustomPutCommandInput, type CustomQueryCommandInput, type CustomScanCommandInput, type CustomUpdateCommandInput, type DynamoAttrType, type DynamoComparator, type DynamoFilter, type DynamoFilterCondition, type DynamoFilterValueType, type DynamoFiltersInput, type DynamoKeyAttrType, type DynamoQueryReq, type DynamoQueryRequest, type EventParams, type GeneratedDynamoFilterAttributes, type GenericRecord, type QueryParamsType, QueryParseError, RESERVED_KEYWORDS_SET, type StringRecord, buildGetCommandInput, buildPutCommandInput, buildQueryCommandInput, buildScanCommandInput, buildUpdateCommandInput, createKeyConditionExpression, customGetCommandInputSchema, customPutCommandInputSchema, customQueryCommandInputSchema, customScanCommandInputSch, customUpdateCommandInputSchema, dynamoAttrTypeSch, dynamoComparatorSch, dynamoFilterConditionSch, dynamoFilterSch, dynamoFilterValueTypeSch, dynamoFiltersInputSch, dynamoKeyAttrTypeSch, dynamoQueryRequestSch, extractExpAttributeNamesFromExpression, extractExpAttributeNamesFromUpdateExp, extractQueryReqFromParams, generateDynamoFilterAttributes, omit, parseDynamoKeyValue, parseValueByType, replaceReservedKeywordsFromProjection, replaceReservedKeywordsFromUpdateExp };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dynamo-command-builder",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "A dynamo command builder wrapper for AWS DynamoDB SDK v3, written in TypeScript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",