@michelangelo-ai/core 0.13.0-rc.1 → 0.13.0
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/components/form/components/form-dialog/form-dialog.d.ts +1 -1
- package/dist/components/form/components/form-dialog/form-dialog.d.ts.map +1 -1
- package/dist/components/form/components/form-dialog/types.d.ts +4 -0
- package/dist/components/form/components/form-dialog/types.d.ts.map +1 -1
- package/dist/components/form/components/submit-button/submit-button.d.ts.map +1 -1
- package/dist/components/form/components/submit-button/types.d.ts +4 -0
- package/dist/components/form/components/submit-button/types.d.ts.map +1 -1
- package/dist/components/views/detail-view/components/revision-selector/revision-selector.d.ts.map +1 -1
- package/dist/config/entities/pipeline/create-pipeline-run-form.d.ts.map +1 -1
- package/dist/config/entities/pipeline/run-trigger-form.d.ts.map +1 -1
- package/dist/config/entities/pipeline/use-target-revision.d.ts +20 -2
- package/dist/config/entities/pipeline/use-target-revision.d.ts.map +1 -1
- package/dist/michelangelo-core.cjs +16 -16
- package/dist/michelangelo-core.js +3291 -3237
- package/dist/primitives.js +6 -6
- package/dist/router/use-entity-record.d.ts +4 -2
- package/dist/router/use-entity-record.d.ts.map +1 -1
- package/dist/{theme-provider-Ch35LB9m.js → theme-provider-BLG1SUwS.js} +5 -5
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/revision-utils.d.ts +22 -0
- package/dist/utils/revision-utils.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -18,4 +18,26 @@ export declare function buildRevisionName(service: string, entityId: string, rev
|
|
|
18
18
|
* this narrows the loosely-typed record to a usable {@link RevisionRef}.
|
|
19
19
|
*/
|
|
20
20
|
export declare function getLatestRevisionRef(record: unknown): RevisionRef | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* `ListRevision` options selecting every Revision of one entity, most recently updated first.
|
|
23
|
+
* Shared so the detail page's fallback lookup and the revision selector issue the same request
|
|
24
|
+
* and hit the same query cache entry. Pass `limit` when only the newest few are needed.
|
|
25
|
+
*/
|
|
26
|
+
export declare function buildRevisionListOptions(service: string, entityId: string, limit?: number): {
|
|
27
|
+
pagination?: {
|
|
28
|
+
offset: number;
|
|
29
|
+
limit: number;
|
|
30
|
+
} | undefined;
|
|
31
|
+
operation: {
|
|
32
|
+
criterion: {
|
|
33
|
+
fieldName: string;
|
|
34
|
+
operator: number;
|
|
35
|
+
matchValue: string;
|
|
36
|
+
}[];
|
|
37
|
+
};
|
|
38
|
+
orderBy: {
|
|
39
|
+
field: string;
|
|
40
|
+
dir: number;
|
|
41
|
+
}[];
|
|
42
|
+
};
|
|
21
43
|
//# sourceMappingURL=revision-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revision-utils.d.ts","sourceRoot":"","sources":["../../utils/revision-utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"revision-utils.d.ts","sourceRoot":"","sources":["../../utils/revision-utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAEnE;;;GAGG;AACH,eAAO,MAAM,0BAA0B,KAAK,CAAC;AAE7C;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAE/D;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAO/F;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,OAAO,GAAG,WAAW,GAAG,SAAS,CAQ7E;AAQD;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM;;;;;;;;;;;;;;;;EAmBzF"}
|