s3db.js 11.2.4 → 11.2.6
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/s3db-cli.js +588 -74
- package/dist/s3db.cjs.js +1361 -23
- package/dist/s3db.cjs.js.map +1 -1
- package/dist/s3db.d.ts +3 -1
- package/dist/s3db.es.js +1359 -24
- package/dist/s3db.es.js.map +1 -1
- package/package.json +2 -1
- package/src/concerns/base62.js +70 -0
- package/src/plugins/index.js +1 -0
- package/src/plugins/vector/distances.js +173 -0
- package/src/plugins/vector/kmeans.js +367 -0
- package/src/plugins/vector/metrics.js +369 -0
- package/src/plugins/vector/vector-error.js +43 -0
- package/src/plugins/vector.plugin.js +687 -0
- package/src/resource.class.js +79 -0
- package/src/s3db.d.ts +3 -1
- package/src/schema.class.js +232 -41
- package/src/validator.class.js +8 -0
package/dist/s3db.d.ts
CHANGED
|
@@ -763,7 +763,9 @@ declare module 's3db.js' {
|
|
|
763
763
|
data: any;
|
|
764
764
|
}>;
|
|
765
765
|
validatePartitions(): void;
|
|
766
|
-
|
|
766
|
+
findOrphanedPartitions(): Record<string, { missingFields: string[]; definition: PartitionConfig; allFields: string[] }>;
|
|
767
|
+
removeOrphanedPartitions(options?: { dryRun?: boolean }): Record<string, { missingFields: string[]; definition: PartitionConfig; allFields: string[] }>;
|
|
768
|
+
|
|
767
769
|
// Partition operations
|
|
768
770
|
getPartitionKey(options: { partitionName: string; id: string; data: any }): string;
|
|
769
771
|
getFromPartition(options: { id: string; partitionName: string; partitionValues?: Record<string, any> }): Promise<any>;
|