@inneropen/marvin-sdk 2.0.0-next.2 → 2.0.0-next.4
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/platform.d.cts +92 -19
- package/dist/platform.d.ts +92 -19
- package/package.json +1 -1
package/dist/platform.d.cts
CHANGED
|
@@ -646,6 +646,9 @@ interface components {
|
|
|
646
646
|
/**
|
|
647
647
|
* EntryCreate
|
|
648
648
|
* @description Schema for creating an entry.
|
|
649
|
+
*
|
|
650
|
+
* BREAKING CHANGE: content_markdown removed, replaced with data_json.
|
|
651
|
+
* Entry content is now schema-driven based on entry_type.schema_json.
|
|
649
652
|
*/
|
|
650
653
|
EntryCreate: {
|
|
651
654
|
/**
|
|
@@ -661,8 +664,13 @@ interface components {
|
|
|
661
664
|
summary?: string | null;
|
|
662
665
|
/** Description */
|
|
663
666
|
description?: string | null;
|
|
664
|
-
/**
|
|
665
|
-
|
|
667
|
+
/**
|
|
668
|
+
* Datajson
|
|
669
|
+
* @description Schema-driven content data (validated against entry_type.schema_json)
|
|
670
|
+
*/
|
|
671
|
+
dataJson?: {
|
|
672
|
+
[key: string]: unknown;
|
|
673
|
+
};
|
|
666
674
|
/**
|
|
667
675
|
* Status
|
|
668
676
|
* @default inbox
|
|
@@ -670,7 +678,14 @@ interface components {
|
|
|
670
678
|
status: string;
|
|
671
679
|
/** Publishedat */
|
|
672
680
|
publishedAt?: string | null;
|
|
673
|
-
/**
|
|
681
|
+
/** Publishat */
|
|
682
|
+
publishAt?: string | null;
|
|
683
|
+
/** Expireat */
|
|
684
|
+
expireAt?: string | null;
|
|
685
|
+
/**
|
|
686
|
+
* Metadatajson
|
|
687
|
+
* @description Custom non-schema metadata (API keys, external IDs, etc.)
|
|
688
|
+
*/
|
|
674
689
|
metadataJson?: {
|
|
675
690
|
[key: string]: unknown;
|
|
676
691
|
} | null;
|
|
@@ -697,6 +712,9 @@ interface components {
|
|
|
697
712
|
/**
|
|
698
713
|
* EntryRead
|
|
699
714
|
* @description Schema for reading an entry.
|
|
715
|
+
*
|
|
716
|
+
* BREAKING CHANGE: content_markdown removed, replaced with data_json.
|
|
717
|
+
* Entry content is now schema-driven based on entry_type.schema_json.
|
|
700
718
|
*/
|
|
701
719
|
EntryRead: {
|
|
702
720
|
/**
|
|
@@ -722,13 +740,25 @@ interface components {
|
|
|
722
740
|
summary?: string | null;
|
|
723
741
|
/** Description */
|
|
724
742
|
description?: string | null;
|
|
725
|
-
/**
|
|
726
|
-
|
|
743
|
+
/**
|
|
744
|
+
* Datajson
|
|
745
|
+
* @description Schema-driven content data
|
|
746
|
+
*/
|
|
747
|
+
dataJson?: {
|
|
748
|
+
[key: string]: unknown;
|
|
749
|
+
};
|
|
727
750
|
/** Status */
|
|
728
751
|
status: string;
|
|
729
752
|
/** Publishedat */
|
|
730
753
|
publishedAt?: string | null;
|
|
731
|
-
/**
|
|
754
|
+
/** Publishat */
|
|
755
|
+
publishAt?: string | null;
|
|
756
|
+
/** Expireat */
|
|
757
|
+
expireAt?: string | null;
|
|
758
|
+
/**
|
|
759
|
+
* Metadatajson
|
|
760
|
+
* @description Custom non-schema metadata
|
|
761
|
+
*/
|
|
732
762
|
metadataJson?: {
|
|
733
763
|
[key: string]: unknown;
|
|
734
764
|
} | null;
|
|
@@ -781,10 +811,20 @@ interface components {
|
|
|
781
811
|
* @default false
|
|
782
812
|
*/
|
|
783
813
|
isSystem: boolean;
|
|
814
|
+
/**
|
|
815
|
+
* Schema Json
|
|
816
|
+
* @description Entry type schema definition (EntryTypeSchemaDefinition)
|
|
817
|
+
*/
|
|
818
|
+
schema_json?: {
|
|
819
|
+
[key: string]: unknown;
|
|
820
|
+
} | null;
|
|
784
821
|
};
|
|
785
822
|
/**
|
|
786
823
|
* EntryTypeRead
|
|
787
824
|
* @description Schema for reading an entry type.
|
|
825
|
+
*
|
|
826
|
+
* System entry types have group_id=None and are globally available to all workspaces.
|
|
827
|
+
* Workspace-scoped entry types have a specific group_id.
|
|
788
828
|
*/
|
|
789
829
|
EntryTypeRead: {
|
|
790
830
|
/**
|
|
@@ -792,11 +832,8 @@ interface components {
|
|
|
792
832
|
* Format: uuid4
|
|
793
833
|
*/
|
|
794
834
|
id: string;
|
|
795
|
-
/**
|
|
796
|
-
|
|
797
|
-
* Format: uuid4
|
|
798
|
-
*/
|
|
799
|
-
groupId: string;
|
|
835
|
+
/** Groupid */
|
|
836
|
+
groupId: string | null;
|
|
800
837
|
/** Name */
|
|
801
838
|
name: string;
|
|
802
839
|
/** Slug */
|
|
@@ -811,6 +848,13 @@ interface components {
|
|
|
811
848
|
sortOrder: number;
|
|
812
849
|
/** Issystem */
|
|
813
850
|
isSystem: boolean;
|
|
851
|
+
/**
|
|
852
|
+
* Schemajson
|
|
853
|
+
* @description Entry type schema definition (EntryTypeSchemaDefinition)
|
|
854
|
+
*/
|
|
855
|
+
schemaJson?: {
|
|
856
|
+
[key: string]: unknown;
|
|
857
|
+
} | null;
|
|
814
858
|
/** Createdat */
|
|
815
859
|
createdAt?: string | null;
|
|
816
860
|
/** Updateat */
|
|
@@ -835,10 +879,20 @@ interface components {
|
|
|
835
879
|
sortOrder?: number | null;
|
|
836
880
|
/** Issystem */
|
|
837
881
|
isSystem?: boolean | null;
|
|
882
|
+
/**
|
|
883
|
+
* Schema Json
|
|
884
|
+
* @description Entry type schema definition (EntryTypeSchemaDefinition)
|
|
885
|
+
*/
|
|
886
|
+
schema_json?: {
|
|
887
|
+
[key: string]: unknown;
|
|
888
|
+
} | null;
|
|
838
889
|
};
|
|
839
890
|
/**
|
|
840
891
|
* EntryUpdate
|
|
841
892
|
* @description Schema for patching an entry.
|
|
893
|
+
*
|
|
894
|
+
* BREAKING CHANGE: content_markdown removed, replaced with data_json.
|
|
895
|
+
* Entry content is now schema-driven based on entry_type.schema_json.
|
|
842
896
|
*/
|
|
843
897
|
EntryUpdate: {
|
|
844
898
|
/** Entry Type Id */
|
|
@@ -851,14 +905,26 @@ interface components {
|
|
|
851
905
|
summary?: string | null;
|
|
852
906
|
/** Description */
|
|
853
907
|
description?: string | null;
|
|
854
|
-
/**
|
|
855
|
-
|
|
908
|
+
/**
|
|
909
|
+
* Datajson
|
|
910
|
+
* @description Schema-driven content data (validated against entry_type.schema_json)
|
|
911
|
+
*/
|
|
912
|
+
dataJson?: {
|
|
913
|
+
[key: string]: unknown;
|
|
914
|
+
} | null;
|
|
856
915
|
/** Status */
|
|
857
916
|
status?: string | null;
|
|
858
|
-
/**
|
|
859
|
-
|
|
860
|
-
/**
|
|
861
|
-
|
|
917
|
+
/** Publishedat */
|
|
918
|
+
publishedAt?: string | null;
|
|
919
|
+
/** Publishat */
|
|
920
|
+
publishAt?: string | null;
|
|
921
|
+
/** Expireat */
|
|
922
|
+
expireAt?: string | null;
|
|
923
|
+
/**
|
|
924
|
+
* Metadatajson
|
|
925
|
+
* @description Custom non-schema metadata (API keys, external IDs, etc.)
|
|
926
|
+
*/
|
|
927
|
+
metadataJson?: {
|
|
862
928
|
[key: string]: unknown;
|
|
863
929
|
} | null;
|
|
864
930
|
/** Collection Ids */
|
|
@@ -1737,6 +1803,8 @@ interface components {
|
|
|
1737
1803
|
summary?: string | null;
|
|
1738
1804
|
/** Publishedat */
|
|
1739
1805
|
publishedAt?: string | null;
|
|
1806
|
+
/** Status */
|
|
1807
|
+
status: string;
|
|
1740
1808
|
/**
|
|
1741
1809
|
* Collections
|
|
1742
1810
|
* @default []
|
|
@@ -1761,6 +1829,9 @@ interface components {
|
|
|
1761
1829
|
*
|
|
1762
1830
|
* Only includes public-facing fields. Excludes all admin metadata,
|
|
1763
1831
|
* internal fields, and user information.
|
|
1832
|
+
*
|
|
1833
|
+
* BREAKING CHANGE: content_markdown removed, replaced with data.
|
|
1834
|
+
* Entry content is now schema-driven based on entry_type.schema_json.
|
|
1764
1835
|
*/
|
|
1765
1836
|
PublishedEntryRead: {
|
|
1766
1837
|
/** Slug */
|
|
@@ -1771,8 +1842,10 @@ interface components {
|
|
|
1771
1842
|
entryType: string;
|
|
1772
1843
|
/** Summary */
|
|
1773
1844
|
summary?: string | null;
|
|
1774
|
-
/**
|
|
1775
|
-
|
|
1845
|
+
/** Data */
|
|
1846
|
+
data: {
|
|
1847
|
+
[key: string]: unknown;
|
|
1848
|
+
};
|
|
1776
1849
|
/** Publishedat */
|
|
1777
1850
|
publishedAt?: string | null;
|
|
1778
1851
|
/** Metadata */
|
package/dist/platform.d.ts
CHANGED
|
@@ -646,6 +646,9 @@ interface components {
|
|
|
646
646
|
/**
|
|
647
647
|
* EntryCreate
|
|
648
648
|
* @description Schema for creating an entry.
|
|
649
|
+
*
|
|
650
|
+
* BREAKING CHANGE: content_markdown removed, replaced with data_json.
|
|
651
|
+
* Entry content is now schema-driven based on entry_type.schema_json.
|
|
649
652
|
*/
|
|
650
653
|
EntryCreate: {
|
|
651
654
|
/**
|
|
@@ -661,8 +664,13 @@ interface components {
|
|
|
661
664
|
summary?: string | null;
|
|
662
665
|
/** Description */
|
|
663
666
|
description?: string | null;
|
|
664
|
-
/**
|
|
665
|
-
|
|
667
|
+
/**
|
|
668
|
+
* Datajson
|
|
669
|
+
* @description Schema-driven content data (validated against entry_type.schema_json)
|
|
670
|
+
*/
|
|
671
|
+
dataJson?: {
|
|
672
|
+
[key: string]: unknown;
|
|
673
|
+
};
|
|
666
674
|
/**
|
|
667
675
|
* Status
|
|
668
676
|
* @default inbox
|
|
@@ -670,7 +678,14 @@ interface components {
|
|
|
670
678
|
status: string;
|
|
671
679
|
/** Publishedat */
|
|
672
680
|
publishedAt?: string | null;
|
|
673
|
-
/**
|
|
681
|
+
/** Publishat */
|
|
682
|
+
publishAt?: string | null;
|
|
683
|
+
/** Expireat */
|
|
684
|
+
expireAt?: string | null;
|
|
685
|
+
/**
|
|
686
|
+
* Metadatajson
|
|
687
|
+
* @description Custom non-schema metadata (API keys, external IDs, etc.)
|
|
688
|
+
*/
|
|
674
689
|
metadataJson?: {
|
|
675
690
|
[key: string]: unknown;
|
|
676
691
|
} | null;
|
|
@@ -697,6 +712,9 @@ interface components {
|
|
|
697
712
|
/**
|
|
698
713
|
* EntryRead
|
|
699
714
|
* @description Schema for reading an entry.
|
|
715
|
+
*
|
|
716
|
+
* BREAKING CHANGE: content_markdown removed, replaced with data_json.
|
|
717
|
+
* Entry content is now schema-driven based on entry_type.schema_json.
|
|
700
718
|
*/
|
|
701
719
|
EntryRead: {
|
|
702
720
|
/**
|
|
@@ -722,13 +740,25 @@ interface components {
|
|
|
722
740
|
summary?: string | null;
|
|
723
741
|
/** Description */
|
|
724
742
|
description?: string | null;
|
|
725
|
-
/**
|
|
726
|
-
|
|
743
|
+
/**
|
|
744
|
+
* Datajson
|
|
745
|
+
* @description Schema-driven content data
|
|
746
|
+
*/
|
|
747
|
+
dataJson?: {
|
|
748
|
+
[key: string]: unknown;
|
|
749
|
+
};
|
|
727
750
|
/** Status */
|
|
728
751
|
status: string;
|
|
729
752
|
/** Publishedat */
|
|
730
753
|
publishedAt?: string | null;
|
|
731
|
-
/**
|
|
754
|
+
/** Publishat */
|
|
755
|
+
publishAt?: string | null;
|
|
756
|
+
/** Expireat */
|
|
757
|
+
expireAt?: string | null;
|
|
758
|
+
/**
|
|
759
|
+
* Metadatajson
|
|
760
|
+
* @description Custom non-schema metadata
|
|
761
|
+
*/
|
|
732
762
|
metadataJson?: {
|
|
733
763
|
[key: string]: unknown;
|
|
734
764
|
} | null;
|
|
@@ -781,10 +811,20 @@ interface components {
|
|
|
781
811
|
* @default false
|
|
782
812
|
*/
|
|
783
813
|
isSystem: boolean;
|
|
814
|
+
/**
|
|
815
|
+
* Schema Json
|
|
816
|
+
* @description Entry type schema definition (EntryTypeSchemaDefinition)
|
|
817
|
+
*/
|
|
818
|
+
schema_json?: {
|
|
819
|
+
[key: string]: unknown;
|
|
820
|
+
} | null;
|
|
784
821
|
};
|
|
785
822
|
/**
|
|
786
823
|
* EntryTypeRead
|
|
787
824
|
* @description Schema for reading an entry type.
|
|
825
|
+
*
|
|
826
|
+
* System entry types have group_id=None and are globally available to all workspaces.
|
|
827
|
+
* Workspace-scoped entry types have a specific group_id.
|
|
788
828
|
*/
|
|
789
829
|
EntryTypeRead: {
|
|
790
830
|
/**
|
|
@@ -792,11 +832,8 @@ interface components {
|
|
|
792
832
|
* Format: uuid4
|
|
793
833
|
*/
|
|
794
834
|
id: string;
|
|
795
|
-
/**
|
|
796
|
-
|
|
797
|
-
* Format: uuid4
|
|
798
|
-
*/
|
|
799
|
-
groupId: string;
|
|
835
|
+
/** Groupid */
|
|
836
|
+
groupId: string | null;
|
|
800
837
|
/** Name */
|
|
801
838
|
name: string;
|
|
802
839
|
/** Slug */
|
|
@@ -811,6 +848,13 @@ interface components {
|
|
|
811
848
|
sortOrder: number;
|
|
812
849
|
/** Issystem */
|
|
813
850
|
isSystem: boolean;
|
|
851
|
+
/**
|
|
852
|
+
* Schemajson
|
|
853
|
+
* @description Entry type schema definition (EntryTypeSchemaDefinition)
|
|
854
|
+
*/
|
|
855
|
+
schemaJson?: {
|
|
856
|
+
[key: string]: unknown;
|
|
857
|
+
} | null;
|
|
814
858
|
/** Createdat */
|
|
815
859
|
createdAt?: string | null;
|
|
816
860
|
/** Updateat */
|
|
@@ -835,10 +879,20 @@ interface components {
|
|
|
835
879
|
sortOrder?: number | null;
|
|
836
880
|
/** Issystem */
|
|
837
881
|
isSystem?: boolean | null;
|
|
882
|
+
/**
|
|
883
|
+
* Schema Json
|
|
884
|
+
* @description Entry type schema definition (EntryTypeSchemaDefinition)
|
|
885
|
+
*/
|
|
886
|
+
schema_json?: {
|
|
887
|
+
[key: string]: unknown;
|
|
888
|
+
} | null;
|
|
838
889
|
};
|
|
839
890
|
/**
|
|
840
891
|
* EntryUpdate
|
|
841
892
|
* @description Schema for patching an entry.
|
|
893
|
+
*
|
|
894
|
+
* BREAKING CHANGE: content_markdown removed, replaced with data_json.
|
|
895
|
+
* Entry content is now schema-driven based on entry_type.schema_json.
|
|
842
896
|
*/
|
|
843
897
|
EntryUpdate: {
|
|
844
898
|
/** Entry Type Id */
|
|
@@ -851,14 +905,26 @@ interface components {
|
|
|
851
905
|
summary?: string | null;
|
|
852
906
|
/** Description */
|
|
853
907
|
description?: string | null;
|
|
854
|
-
/**
|
|
855
|
-
|
|
908
|
+
/**
|
|
909
|
+
* Datajson
|
|
910
|
+
* @description Schema-driven content data (validated against entry_type.schema_json)
|
|
911
|
+
*/
|
|
912
|
+
dataJson?: {
|
|
913
|
+
[key: string]: unknown;
|
|
914
|
+
} | null;
|
|
856
915
|
/** Status */
|
|
857
916
|
status?: string | null;
|
|
858
|
-
/**
|
|
859
|
-
|
|
860
|
-
/**
|
|
861
|
-
|
|
917
|
+
/** Publishedat */
|
|
918
|
+
publishedAt?: string | null;
|
|
919
|
+
/** Publishat */
|
|
920
|
+
publishAt?: string | null;
|
|
921
|
+
/** Expireat */
|
|
922
|
+
expireAt?: string | null;
|
|
923
|
+
/**
|
|
924
|
+
* Metadatajson
|
|
925
|
+
* @description Custom non-schema metadata (API keys, external IDs, etc.)
|
|
926
|
+
*/
|
|
927
|
+
metadataJson?: {
|
|
862
928
|
[key: string]: unknown;
|
|
863
929
|
} | null;
|
|
864
930
|
/** Collection Ids */
|
|
@@ -1737,6 +1803,8 @@ interface components {
|
|
|
1737
1803
|
summary?: string | null;
|
|
1738
1804
|
/** Publishedat */
|
|
1739
1805
|
publishedAt?: string | null;
|
|
1806
|
+
/** Status */
|
|
1807
|
+
status: string;
|
|
1740
1808
|
/**
|
|
1741
1809
|
* Collections
|
|
1742
1810
|
* @default []
|
|
@@ -1761,6 +1829,9 @@ interface components {
|
|
|
1761
1829
|
*
|
|
1762
1830
|
* Only includes public-facing fields. Excludes all admin metadata,
|
|
1763
1831
|
* internal fields, and user information.
|
|
1832
|
+
*
|
|
1833
|
+
* BREAKING CHANGE: content_markdown removed, replaced with data.
|
|
1834
|
+
* Entry content is now schema-driven based on entry_type.schema_json.
|
|
1764
1835
|
*/
|
|
1765
1836
|
PublishedEntryRead: {
|
|
1766
1837
|
/** Slug */
|
|
@@ -1771,8 +1842,10 @@ interface components {
|
|
|
1771
1842
|
entryType: string;
|
|
1772
1843
|
/** Summary */
|
|
1773
1844
|
summary?: string | null;
|
|
1774
|
-
/**
|
|
1775
|
-
|
|
1845
|
+
/** Data */
|
|
1846
|
+
data: {
|
|
1847
|
+
[key: string]: unknown;
|
|
1848
|
+
};
|
|
1776
1849
|
/** Publishedat */
|
|
1777
1850
|
publishedAt?: string | null;
|
|
1778
1851
|
/** Metadata */
|