cmx-sdk 0.2.8 → 0.2.10
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/{chunk-EZMBZWH7.js → chunk-Y3S3K6M3.js} +73 -28
- package/dist/cli.js +487 -89
- package/dist/index.d.ts +341 -1
- package/dist/index.js.map +1 -1
- package/dist/{interactive-menu-FYVOQSTL.js → interactive-menu-5PRQIESI.js} +1 -1
- package/dist/{update-sdk-KJZ6VB4M.js → update-sdk-ZXMWQF3I.js} +2 -1
- package/package.json +1 -2
- package/templates/AGENTS.md +0 -173
- package/templates/CLAUDE.md +0 -28
- package/templates/claude/commands/check.md +0 -64
- package/templates/claude/commands/next-action.md +0 -66
- package/templates/claude/skills/cmx-cache/SKILL.md +0 -50
- package/templates/claude/skills/cmx-cache/references/cache-patterns.md +0 -153
- package/templates/claude/skills/cmx-component/SKILL.md +0 -108
- package/templates/claude/skills/cmx-component/references/component-schema.md +0 -123
- package/templates/claude/skills/cmx-content/SKILL.md +0 -158
- package/templates/claude/skills/cmx-content/references/migration-patterns.md +0 -120
- package/templates/claude/skills/cmx-content/references/seed-patterns.md +0 -146
- package/templates/claude/skills/cmx-dev/SKILL.md +0 -266
- package/templates/claude/skills/cmx-dev/references/api-patterns.md +0 -220
- package/templates/claude/skills/cmx-dev/references/cli-reference.md +0 -54
- package/templates/claude/skills/cmx-form/SKILL.md +0 -103
- package/templates/claude/skills/cmx-form/references/form-template.md +0 -152
- package/templates/claude/skills/cmx-migrate/SKILL.md +0 -501
- package/templates/claude/skills/cmx-migrate/references/analysis-guide.md +0 -127
- package/templates/claude/skills/cmx-migrate/references/html-to-mdx.md +0 -99
- package/templates/claude/skills/cmx-migrate/references/intermediate-format.md +0 -196
- package/templates/claude/skills/cmx-migrate/references/tool-setup.md +0 -150
- package/templates/claude/skills/cmx-schema/SKILL.md +0 -159
- package/templates/claude/skills/cmx-schema/references/field-types.md +0 -164
- package/templates/claude/skills/cmx-schema/references/migration-scenarios.md +0 -44
- package/templates/claude/skills/cmx-seo/SKILL.md +0 -54
- package/templates/claude/skills/cmx-seo/references/seo-patterns.md +0 -216
- package/templates/claude/skills/cmx-style/SKILL.md +0 -48
- package/templates/claude/skills/cmx-style/references/style-patterns.md +0 -114
package/dist/index.d.ts
CHANGED
|
@@ -394,6 +394,22 @@ interface CollectionResponse {
|
|
|
394
394
|
|
|
395
395
|
type CollectionListResponse = CollectionResponse[];
|
|
396
396
|
|
|
397
|
+
/**
|
|
398
|
+
* Generated by orval v8.4.0 🍺
|
|
399
|
+
* Do not edit manually.
|
|
400
|
+
* CMX SDK API
|
|
401
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
402
|
+
* OpenAPI spec version: 1.0.0
|
|
403
|
+
*/
|
|
404
|
+
type ContentStatus = typeof ContentStatus[keyof typeof ContentStatus];
|
|
405
|
+
declare const ContentStatus: {
|
|
406
|
+
readonly plan: "plan";
|
|
407
|
+
readonly draft: "draft";
|
|
408
|
+
readonly review: "review";
|
|
409
|
+
readonly published: "published";
|
|
410
|
+
readonly archived: "archived";
|
|
411
|
+
};
|
|
412
|
+
|
|
397
413
|
/**
|
|
398
414
|
* Generated by orval v8.4.0 🍺
|
|
399
415
|
* Do not edit manually.
|
|
@@ -641,6 +657,20 @@ interface DataTypeResponse {
|
|
|
641
657
|
updatedAt: Date;
|
|
642
658
|
}
|
|
643
659
|
|
|
660
|
+
/**
|
|
661
|
+
* Generated by orval v8.4.0 🍺
|
|
662
|
+
* Do not edit manually.
|
|
663
|
+
* CMX SDK API
|
|
664
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
665
|
+
* OpenAPI spec version: 1.0.0
|
|
666
|
+
*/
|
|
667
|
+
type DeleteManageContentsIdParams = {
|
|
668
|
+
/**
|
|
669
|
+
* true の場合は物理削除(デフォルトはアーカイブ=論理削除)
|
|
670
|
+
*/
|
|
671
|
+
hard?: boolean | null;
|
|
672
|
+
};
|
|
673
|
+
|
|
644
674
|
/**
|
|
645
675
|
* Generated by orval v8.4.0 🍺
|
|
646
676
|
* Do not edit manually.
|
|
@@ -891,6 +921,68 @@ type GetManageCollectionPresetsParams = {
|
|
|
891
921
|
type?: GetManageCollectionPresetsType;
|
|
892
922
|
};
|
|
893
923
|
|
|
924
|
+
/**
|
|
925
|
+
* Generated by orval v8.4.0 🍺
|
|
926
|
+
* Do not edit manually.
|
|
927
|
+
* CMX SDK API
|
|
928
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
929
|
+
* OpenAPI spec version: 1.0.0
|
|
930
|
+
*/
|
|
931
|
+
type GetManageContentsIdParams = {
|
|
932
|
+
/**
|
|
933
|
+
* 取得するフィールド(カンマ区切り)。指定可能: id, collectionId, slug, title, description, status, parentId, sortOrder, locale, publishedAt, createdAt, updatedAt, mdx
|
|
934
|
+
*/
|
|
935
|
+
fields?: string;
|
|
936
|
+
};
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* Generated by orval v8.4.0 🍺
|
|
940
|
+
* Do not edit manually.
|
|
941
|
+
* CMX SDK API
|
|
942
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
943
|
+
* OpenAPI spec version: 1.0.0
|
|
944
|
+
*/
|
|
945
|
+
|
|
946
|
+
type GetManageContentsParams = {
|
|
947
|
+
/**
|
|
948
|
+
* ステータスフィルタ
|
|
949
|
+
*/
|
|
950
|
+
status?: ContentStatus & unknown;
|
|
951
|
+
/**
|
|
952
|
+
* コレクションIDフィルタ
|
|
953
|
+
*/
|
|
954
|
+
collectionId?: string;
|
|
955
|
+
/**
|
|
956
|
+
* 取得件数(最大100)
|
|
957
|
+
* @minimum 1
|
|
958
|
+
* @maximum 100
|
|
959
|
+
*/
|
|
960
|
+
limit?: number;
|
|
961
|
+
/**
|
|
962
|
+
* オフセット
|
|
963
|
+
* @minimum 0
|
|
964
|
+
*/
|
|
965
|
+
offset?: number | null;
|
|
966
|
+
/**
|
|
967
|
+
* 取得するフィールド(カンマ区切り)。指定可能: id, collectionId, slug, title, description, status, parentId, sortOrder, locale, publishedAt, createdAt, updatedAt
|
|
968
|
+
*/
|
|
969
|
+
fields?: string;
|
|
970
|
+
};
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* Generated by orval v8.4.0 🍺
|
|
974
|
+
* Do not edit manually.
|
|
975
|
+
* CMX SDK API
|
|
976
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
977
|
+
* OpenAPI spec version: 1.0.0
|
|
978
|
+
*/
|
|
979
|
+
type GetManageDataTypeSlugIdParams = {
|
|
980
|
+
/**
|
|
981
|
+
* 取得するフィールド(カンマ区切り)。指定可能: id, dataTypeId, dataJson, status, sortOrder, createdAt, updatedAt
|
|
982
|
+
*/
|
|
983
|
+
fields?: string;
|
|
984
|
+
};
|
|
985
|
+
|
|
894
986
|
/**
|
|
895
987
|
* Generated by orval v8.4.0 🍺
|
|
896
988
|
* Do not edit manually.
|
|
@@ -963,6 +1055,10 @@ type GetManageDataTypeSlugParams = {
|
|
|
963
1055
|
* @minimum 0
|
|
964
1056
|
*/
|
|
965
1057
|
offset?: number | null;
|
|
1058
|
+
/**
|
|
1059
|
+
* 取得するエントリフィールド(カンマ区切り)。指定可能: id, dataTypeId, dataJson, status, sortOrder, createdAt, updatedAt
|
|
1060
|
+
*/
|
|
1061
|
+
fields?: string;
|
|
966
1062
|
};
|
|
967
1063
|
|
|
968
1064
|
/**
|
|
@@ -1354,6 +1450,66 @@ interface SdkComponentSyncRequest {
|
|
|
1354
1450
|
components?: SdkComponentDefinition[];
|
|
1355
1451
|
}
|
|
1356
1452
|
|
|
1453
|
+
/**
|
|
1454
|
+
* Generated by orval v8.4.0 🍺
|
|
1455
|
+
* Do not edit manually.
|
|
1456
|
+
* CMX SDK API
|
|
1457
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
1458
|
+
* OpenAPI spec version: 1.0.0
|
|
1459
|
+
*/
|
|
1460
|
+
|
|
1461
|
+
interface SdkContentDetail {
|
|
1462
|
+
id: string;
|
|
1463
|
+
collectionId: string | null;
|
|
1464
|
+
slug: string;
|
|
1465
|
+
title: string;
|
|
1466
|
+
description: string | null;
|
|
1467
|
+
status: ContentStatus;
|
|
1468
|
+
parentId: string | null;
|
|
1469
|
+
sortOrder: number;
|
|
1470
|
+
locale: string | null;
|
|
1471
|
+
publishedAt: string | null;
|
|
1472
|
+
createdAt: string;
|
|
1473
|
+
updatedAt: string;
|
|
1474
|
+
mdx: string | null;
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* Generated by orval v8.4.0 🍺
|
|
1479
|
+
* Do not edit manually.
|
|
1480
|
+
* CMX SDK API
|
|
1481
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
1482
|
+
* OpenAPI spec version: 1.0.0
|
|
1483
|
+
*/
|
|
1484
|
+
|
|
1485
|
+
interface SdkContentItem {
|
|
1486
|
+
id: string;
|
|
1487
|
+
collectionId: string | null;
|
|
1488
|
+
slug: string;
|
|
1489
|
+
title: string;
|
|
1490
|
+
description: string | null;
|
|
1491
|
+
status: ContentStatus;
|
|
1492
|
+
parentId: string | null;
|
|
1493
|
+
sortOrder: number;
|
|
1494
|
+
locale: string | null;
|
|
1495
|
+
publishedAt: string | null;
|
|
1496
|
+
createdAt: string;
|
|
1497
|
+
updatedAt: string;
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
/**
|
|
1501
|
+
* Generated by orval v8.4.0 🍺
|
|
1502
|
+
* Do not edit manually.
|
|
1503
|
+
* CMX SDK API
|
|
1504
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
1505
|
+
* OpenAPI spec version: 1.0.0
|
|
1506
|
+
*/
|
|
1507
|
+
|
|
1508
|
+
interface SdkContentListResponse {
|
|
1509
|
+
contents: SdkContentItem[];
|
|
1510
|
+
total: number;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1357
1513
|
/**
|
|
1358
1514
|
* Generated by orval v8.4.0 🍺
|
|
1359
1515
|
* Do not edit manually.
|
|
@@ -1701,6 +1857,17 @@ interface SdkDeleteCollectionResponse {
|
|
|
1701
1857
|
success: boolean;
|
|
1702
1858
|
}
|
|
1703
1859
|
|
|
1860
|
+
/**
|
|
1861
|
+
* Generated by orval v8.4.0 🍺
|
|
1862
|
+
* Do not edit manually.
|
|
1863
|
+
* CMX SDK API
|
|
1864
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
1865
|
+
* OpenAPI spec version: 1.0.0
|
|
1866
|
+
*/
|
|
1867
|
+
interface SdkDeleteContentResponse {
|
|
1868
|
+
success: boolean;
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1704
1871
|
/**
|
|
1705
1872
|
* Generated by orval v8.4.0 🍺
|
|
1706
1873
|
* Do not edit manually.
|
|
@@ -1734,6 +1901,32 @@ interface SdkDeleteFormDefinitionResponse {
|
|
|
1734
1901
|
success: boolean;
|
|
1735
1902
|
}
|
|
1736
1903
|
|
|
1904
|
+
/**
|
|
1905
|
+
* Generated by orval v8.4.0 🍺
|
|
1906
|
+
* Do not edit manually.
|
|
1907
|
+
* CMX SDK API
|
|
1908
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
1909
|
+
* OpenAPI spec version: 1.0.0
|
|
1910
|
+
*/
|
|
1911
|
+
type SdkDocType = typeof SdkDocType[keyof typeof SdkDocType];
|
|
1912
|
+
declare const SdkDocType: {
|
|
1913
|
+
readonly style_guide: "style_guide";
|
|
1914
|
+
};
|
|
1915
|
+
|
|
1916
|
+
/**
|
|
1917
|
+
* Generated by orval v8.4.0 🍺
|
|
1918
|
+
* Do not edit manually.
|
|
1919
|
+
* CMX SDK API
|
|
1920
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
1921
|
+
* OpenAPI spec version: 1.0.0
|
|
1922
|
+
*/
|
|
1923
|
+
|
|
1924
|
+
interface SdkDocResponse {
|
|
1925
|
+
type: SdkDocType;
|
|
1926
|
+
markdown: string;
|
|
1927
|
+
updatedAt: string;
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1737
1930
|
/**
|
|
1738
1931
|
* Generated by orval v8.4.0 🍺
|
|
1739
1932
|
* Do not edit manually.
|
|
@@ -1840,6 +2033,63 @@ interface SdkSetContentReferencesResponse {
|
|
|
1840
2033
|
success: boolean;
|
|
1841
2034
|
}
|
|
1842
2035
|
|
|
2036
|
+
/**
|
|
2037
|
+
* Generated by orval v8.4.0 🍺
|
|
2038
|
+
* Do not edit manually.
|
|
2039
|
+
* CMX SDK API
|
|
2040
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
2041
|
+
* OpenAPI spec version: 1.0.0
|
|
2042
|
+
*/
|
|
2043
|
+
type SdkUpdateContentResponseWarningsItemIssueType = typeof SdkUpdateContentResponseWarningsItemIssueType[keyof typeof SdkUpdateContentResponseWarningsItemIssueType];
|
|
2044
|
+
declare const SdkUpdateContentResponseWarningsItemIssueType: {
|
|
2045
|
+
readonly missing_target: "missing_target";
|
|
2046
|
+
readonly cross_environment: "cross_environment";
|
|
2047
|
+
readonly archived_target: "archived_target";
|
|
2048
|
+
};
|
|
2049
|
+
|
|
2050
|
+
/**
|
|
2051
|
+
* Generated by orval v8.4.0 🍺
|
|
2052
|
+
* Do not edit manually.
|
|
2053
|
+
* CMX SDK API
|
|
2054
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
2055
|
+
* OpenAPI spec version: 1.0.0
|
|
2056
|
+
*/
|
|
2057
|
+
type SdkUpdateContentResponseWarningsItemTargetType = typeof SdkUpdateContentResponseWarningsItemTargetType[keyof typeof SdkUpdateContentResponseWarningsItemTargetType];
|
|
2058
|
+
declare const SdkUpdateContentResponseWarningsItemTargetType: {
|
|
2059
|
+
readonly content: "content";
|
|
2060
|
+
readonly asset: "asset";
|
|
2061
|
+
};
|
|
2062
|
+
|
|
2063
|
+
/**
|
|
2064
|
+
* Generated by orval v8.4.0 🍺
|
|
2065
|
+
* Do not edit manually.
|
|
2066
|
+
* CMX SDK API
|
|
2067
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
2068
|
+
* OpenAPI spec version: 1.0.0
|
|
2069
|
+
*/
|
|
2070
|
+
|
|
2071
|
+
type SdkUpdateContentResponseWarningsItem = {
|
|
2072
|
+
issueType: SdkUpdateContentResponseWarningsItemIssueType;
|
|
2073
|
+
targetType: SdkUpdateContentResponseWarningsItemTargetType;
|
|
2074
|
+
targetId: string;
|
|
2075
|
+
componentName: string;
|
|
2076
|
+
propName: string;
|
|
2077
|
+
message: string;
|
|
2078
|
+
};
|
|
2079
|
+
|
|
2080
|
+
/**
|
|
2081
|
+
* Generated by orval v8.4.0 🍺
|
|
2082
|
+
* Do not edit manually.
|
|
2083
|
+
* CMX SDK API
|
|
2084
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
2085
|
+
* OpenAPI spec version: 1.0.0
|
|
2086
|
+
*/
|
|
2087
|
+
|
|
2088
|
+
interface SdkUpdateContentResponse {
|
|
2089
|
+
success: boolean;
|
|
2090
|
+
warnings?: SdkUpdateContentResponseWarningsItem[];
|
|
2091
|
+
}
|
|
2092
|
+
|
|
1843
2093
|
/**
|
|
1844
2094
|
* Generated by orval v8.4.0 🍺
|
|
1845
2095
|
* Do not edit manually.
|
|
@@ -1882,6 +2132,75 @@ interface SdkUpdateEntryRequest {
|
|
|
1882
2132
|
sortOrder?: number;
|
|
1883
2133
|
}
|
|
1884
2134
|
|
|
2135
|
+
/**
|
|
2136
|
+
* Generated by orval v8.4.0 🍺
|
|
2137
|
+
* Do not edit manually.
|
|
2138
|
+
* CMX SDK API
|
|
2139
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
2140
|
+
* OpenAPI spec version: 1.0.0
|
|
2141
|
+
*/
|
|
2142
|
+
interface SdkUpsertDocBody {
|
|
2143
|
+
/** ドキュメントの Markdown 本文 */
|
|
2144
|
+
markdown: string;
|
|
2145
|
+
}
|
|
2146
|
+
|
|
2147
|
+
/**
|
|
2148
|
+
* Generated by orval v8.4.0 🍺
|
|
2149
|
+
* Do not edit manually.
|
|
2150
|
+
* CMX SDK API
|
|
2151
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
2152
|
+
* OpenAPI spec version: 1.0.0
|
|
2153
|
+
*/
|
|
2154
|
+
type SdkValidateContentResponseIssuesItemIssueType = typeof SdkValidateContentResponseIssuesItemIssueType[keyof typeof SdkValidateContentResponseIssuesItemIssueType];
|
|
2155
|
+
declare const SdkValidateContentResponseIssuesItemIssueType: {
|
|
2156
|
+
readonly missing_target: "missing_target";
|
|
2157
|
+
readonly cross_environment: "cross_environment";
|
|
2158
|
+
readonly archived_target: "archived_target";
|
|
2159
|
+
};
|
|
2160
|
+
|
|
2161
|
+
/**
|
|
2162
|
+
* Generated by orval v8.4.0 🍺
|
|
2163
|
+
* Do not edit manually.
|
|
2164
|
+
* CMX SDK API
|
|
2165
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
2166
|
+
* OpenAPI spec version: 1.0.0
|
|
2167
|
+
*/
|
|
2168
|
+
type SdkValidateContentResponseIssuesItemTargetType = typeof SdkValidateContentResponseIssuesItemTargetType[keyof typeof SdkValidateContentResponseIssuesItemTargetType];
|
|
2169
|
+
declare const SdkValidateContentResponseIssuesItemTargetType: {
|
|
2170
|
+
readonly content: "content";
|
|
2171
|
+
readonly asset: "asset";
|
|
2172
|
+
};
|
|
2173
|
+
|
|
2174
|
+
/**
|
|
2175
|
+
* Generated by orval v8.4.0 🍺
|
|
2176
|
+
* Do not edit manually.
|
|
2177
|
+
* CMX SDK API
|
|
2178
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
2179
|
+
* OpenAPI spec version: 1.0.0
|
|
2180
|
+
*/
|
|
2181
|
+
|
|
2182
|
+
type SdkValidateContentResponseIssuesItem = {
|
|
2183
|
+
issueType: SdkValidateContentResponseIssuesItemIssueType;
|
|
2184
|
+
targetType: SdkValidateContentResponseIssuesItemTargetType;
|
|
2185
|
+
targetId: string;
|
|
2186
|
+
componentName: string;
|
|
2187
|
+
propName: string;
|
|
2188
|
+
message: string;
|
|
2189
|
+
};
|
|
2190
|
+
|
|
2191
|
+
/**
|
|
2192
|
+
* Generated by orval v8.4.0 🍺
|
|
2193
|
+
* Do not edit manually.
|
|
2194
|
+
* CMX SDK API
|
|
2195
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
2196
|
+
* OpenAPI spec version: 1.0.0
|
|
2197
|
+
*/
|
|
2198
|
+
|
|
2199
|
+
interface SdkValidateContentResponse {
|
|
2200
|
+
valid: boolean;
|
|
2201
|
+
issues: SdkValidateContentResponseIssuesItem[];
|
|
2202
|
+
}
|
|
2203
|
+
|
|
1885
2204
|
/**
|
|
1886
2205
|
* Generated by orval v8.4.0 🍺
|
|
1887
2206
|
* Do not edit manually.
|
|
@@ -1899,6 +2218,27 @@ interface UpdateCollectionRequest {
|
|
|
1899
2218
|
configJson?: CollectionConfig;
|
|
1900
2219
|
}
|
|
1901
2220
|
|
|
2221
|
+
/**
|
|
2222
|
+
* Generated by orval v8.4.0 🍺
|
|
2223
|
+
* Do not edit manually.
|
|
2224
|
+
* CMX SDK API
|
|
2225
|
+
* CMX SDK API(コンテンツ配信+管理)
|
|
2226
|
+
* OpenAPI spec version: 1.0.0
|
|
2227
|
+
*/
|
|
2228
|
+
|
|
2229
|
+
interface UpdateContentRequest {
|
|
2230
|
+
/** @minLength 1 */
|
|
2231
|
+
title?: string;
|
|
2232
|
+
/** @pattern ^[a-z0-9]+(?:-[a-z0-9]+)*$ */
|
|
2233
|
+
slug?: string;
|
|
2234
|
+
description?: string | null;
|
|
2235
|
+
mdx?: string;
|
|
2236
|
+
status?: ContentStatus;
|
|
2237
|
+
/** 親コンテンツID(階層構造用) */
|
|
2238
|
+
parentId?: string | null;
|
|
2239
|
+
sortOrder?: number;
|
|
2240
|
+
}
|
|
2241
|
+
|
|
1902
2242
|
/**
|
|
1903
2243
|
* Generated by orval v8.4.0 🍺
|
|
1904
2244
|
* Do not edit manually.
|
|
@@ -2514,4 +2854,4 @@ declare function renderMdx(mdx: string, references?: References, options?: Rende
|
|
|
2514
2854
|
*/
|
|
2515
2855
|
declare function renderMdxPreview(mdx: string, additionalComponents?: Record<string, React.ComponentType<any>>): Promise<React.ReactElement>;
|
|
2516
2856
|
|
|
2517
|
-
export { type ApiResponse, type AssetReference, type AssetReferenceVariants, BlogCard, Button, CACHE_TAGS, Callout, CmxApiError, type CollectionConfig, type CollectionConfigDefaults, type CollectionContentDetailResponse, type CollectionContentsOptions, type CollectionContentsResponse, type CollectionListResponse, type CollectionResponse, CollectionType, type ComponentDefinition, type ComponentName, type ContentReference, type CreateCollectionRequest, type CreateContentRequest, type CreateDataTypeRequest, type CreateFormDefinitionRequest, type DataEntriesOptions, type DataEntryDetailResponse, type DataEntryItem, type DataListResponse, type DataTypeConfig, type DataTypeResponse, type DeleteManageDataTypeSlugIdParams, Embed, type ErrorResponse, type ErrorResponseDetails, type FetchOptions, type FieldDefinition, type FieldOptions, type FieldOptionsChoicesItem, FieldType, type FormDefinitionResponse, type FormDefinitionResponseConfigJson, type GetCollectionsSlugContentsParams, GetCollectionsSlugContentsSortBy, GetCollectionsSlugContentsSortOrder, type GetDataTypeSlugParams, GetDataTypeSlugSortBy, GetDataTypeSlugSortOrder, type GetManageCollectionPresets200, type GetManageCollectionPresetsParams, GetManageCollectionPresetsType, type GetManageDataTypeSlugParams, GetManageDataTypeSlugSortBy, GetManageDataTypeSlugSortOrder, GetManageDataTypeSlugStatus, type GetPreviewToken200, type GetPreviewToken200Collection, type GetPreviewToken200Content, type GetPreviewToken200References, type GetPreviewToken200ReferencesAssets, type GetPreviewToken200ReferencesAssetsVariants, type GetPreviewToken200ReferencesContents, Image, type PreviewResponse, type PublicCollectionInfo, type PublicContentDetail, type PublicContentListItem, type PublicContentParent, type PublicFetcherOptions, type PublicSubmissionRequest, type PublicSubmissionRequestData, type PublicSubmissionResponse, type ReferenceField, ReferenceFieldReferenceType, type References, type ReferencesAssets, type ReferencesContents, type RenderOptions, type RenderResult, type ResolvedReferences, type RevalidationConfig, type SchemaCollection, type SchemaDataType, type SchemaFieldDefinition, type SchemaFieldOption, type SchemaFieldOptionChoicesItem, type SchemaFormDefinition, type SchemaResponse, type SdkAddCollectionDataTypeRequest, SdkAddCollectionDataTypeRequestReferenceType, type SdkCollectionDataTypeResponse, type SdkComponentDefinition, type SdkComponentDefinitionPropsSchema, type SdkComponentProp, type SdkComponentSuccessResponse, type SdkComponentSyncRequest, type SdkContentReferencesResponse, type SdkContentReferencesResponseReferencesItem, type SdkContentReferencesResponseReferencesItemDataEntriesItem, type SdkContentReferencesResponseReferencesItemDataEntriesItemData, type SdkCreateContentResponse, type SdkCreateContentResponseWarningsItem, SdkCreateContentResponseWarningsItemIssueType, SdkCreateContentResponseWarningsItemTargetType, type SdkCreateEntryRequest, type SdkCreateEntryRequestDataJson, SdkCreateEntryRequestStatus, type SdkCustomComponentResponse, type SdkCustomComponentResponsePropsSchema, SdkCustomComponentResponseStatus, type SdkCustomComponentsListResponse, type SdkDataEntriesListResponse, type SdkDataEntryDeletionImpactItem, type SdkDataEntryDeletionImpactResponse, type SdkDataEntryDetailResponse, type SdkDataEntryResponse, type SdkDataEntryResponseDataJson, SdkDataEntryResponseStatus, type SdkDataTypeInfo, type SdkDeleteCollectionDataTypeResponse, type SdkDeleteCollectionResponse, type SdkDeleteDataEntryResponse, type SdkDeleteDataTypeResponse, type SdkDeleteFormDefinitionResponse, type SdkLinkExistingDataTypeRequest, SdkLinkExistingDataTypeRequestReferenceType, type SdkPreset, SdkPresetReferenceType, type SdkPublishContentResponse, type SdkRequestReviewResponse, type SdkSetContentReferencesRequest, type SdkSetContentReferencesRequestReferencesItem, type SdkSetContentReferencesResponse, type SdkUpdateEntryRequest, type SdkUpdateEntryRequestDataJson, SdkUpdateEntryRequestStatus, type UpdateCollectionRequest, type UpdateDataTypeRequest, type UpdateFormDefinitionRequest, type UpdateFormDefinitionRequestConfigJson, type ValidationError, type ValidationResult, basicComponents, componentCatalog, componentSchemas, customComponents, getCatalogForAI, getCollectionContentDetail, getCollectionContentDetailOrThrow, getCollectionContents, getCollectionContentsOrThrow, getCollections, getCollectionsSlugContents, getCollectionsSlugContentsContentSlug, getComponentsByCategory, getComponentsWithReferences, getDataEntries, getDataEntriesOrThrow, getDataEntry, getDataEntryOrThrow, getDataTypeSlug, getGetCollectionsSlugContentsContentSlugUrl, getGetCollectionsSlugContentsUrl, getGetDataTypeSlugUrl, getGetPreviewTokenUrl, getPreviewByToken, getPreviewToken, getSchema, getSdkApiBaseUrl, getSdkApiToken, isValidComponent, markdownComponents, mdxComponents, quickValidateMdx, renderMdx, renderMdxPreview, sdkCustomInstance, sdkFetchWithTags, sdkFetcher, sdkPostFetcher, submitFormData, validateComponentProps, validateMdx };
|
|
2857
|
+
export { type ApiResponse, type AssetReference, type AssetReferenceVariants, BlogCard, Button, CACHE_TAGS, Callout, CmxApiError, type CollectionConfig, type CollectionConfigDefaults, type CollectionContentDetailResponse, type CollectionContentsOptions, type CollectionContentsResponse, type CollectionListResponse, type CollectionResponse, CollectionType, type ComponentDefinition, type ComponentName, type ContentReference, ContentStatus, type CreateCollectionRequest, type CreateContentRequest, type CreateDataTypeRequest, type CreateFormDefinitionRequest, type DataEntriesOptions, type DataEntryDetailResponse, type DataEntryItem, type DataListResponse, type DataTypeConfig, type DataTypeResponse, type DeleteManageContentsIdParams, type DeleteManageDataTypeSlugIdParams, Embed, type ErrorResponse, type ErrorResponseDetails, type FetchOptions, type FieldDefinition, type FieldOptions, type FieldOptionsChoicesItem, FieldType, type FormDefinitionResponse, type FormDefinitionResponseConfigJson, type GetCollectionsSlugContentsParams, GetCollectionsSlugContentsSortBy, GetCollectionsSlugContentsSortOrder, type GetDataTypeSlugParams, GetDataTypeSlugSortBy, GetDataTypeSlugSortOrder, type GetManageCollectionPresets200, type GetManageCollectionPresetsParams, GetManageCollectionPresetsType, type GetManageContentsIdParams, type GetManageContentsParams, type GetManageDataTypeSlugIdParams, type GetManageDataTypeSlugParams, GetManageDataTypeSlugSortBy, GetManageDataTypeSlugSortOrder, GetManageDataTypeSlugStatus, type GetPreviewToken200, type GetPreviewToken200Collection, type GetPreviewToken200Content, type GetPreviewToken200References, type GetPreviewToken200ReferencesAssets, type GetPreviewToken200ReferencesAssetsVariants, type GetPreviewToken200ReferencesContents, Image, type PreviewResponse, type PublicCollectionInfo, type PublicContentDetail, type PublicContentListItem, type PublicContentParent, type PublicFetcherOptions, type PublicSubmissionRequest, type PublicSubmissionRequestData, type PublicSubmissionResponse, type ReferenceField, ReferenceFieldReferenceType, type References, type ReferencesAssets, type ReferencesContents, type RenderOptions, type RenderResult, type ResolvedReferences, type RevalidationConfig, type SchemaCollection, type SchemaDataType, type SchemaFieldDefinition, type SchemaFieldOption, type SchemaFieldOptionChoicesItem, type SchemaFormDefinition, type SchemaResponse, type SdkAddCollectionDataTypeRequest, SdkAddCollectionDataTypeRequestReferenceType, type SdkCollectionDataTypeResponse, type SdkComponentDefinition, type SdkComponentDefinitionPropsSchema, type SdkComponentProp, type SdkComponentSuccessResponse, type SdkComponentSyncRequest, type SdkContentDetail, type SdkContentItem, type SdkContentListResponse, type SdkContentReferencesResponse, type SdkContentReferencesResponseReferencesItem, type SdkContentReferencesResponseReferencesItemDataEntriesItem, type SdkContentReferencesResponseReferencesItemDataEntriesItemData, type SdkCreateContentResponse, type SdkCreateContentResponseWarningsItem, SdkCreateContentResponseWarningsItemIssueType, SdkCreateContentResponseWarningsItemTargetType, type SdkCreateEntryRequest, type SdkCreateEntryRequestDataJson, SdkCreateEntryRequestStatus, type SdkCustomComponentResponse, type SdkCustomComponentResponsePropsSchema, SdkCustomComponentResponseStatus, type SdkCustomComponentsListResponse, type SdkDataEntriesListResponse, type SdkDataEntryDeletionImpactItem, type SdkDataEntryDeletionImpactResponse, type SdkDataEntryDetailResponse, type SdkDataEntryResponse, type SdkDataEntryResponseDataJson, SdkDataEntryResponseStatus, type SdkDataTypeInfo, type SdkDeleteCollectionDataTypeResponse, type SdkDeleteCollectionResponse, type SdkDeleteContentResponse, type SdkDeleteDataEntryResponse, type SdkDeleteDataTypeResponse, type SdkDeleteFormDefinitionResponse, type SdkDocResponse, SdkDocType, type SdkLinkExistingDataTypeRequest, SdkLinkExistingDataTypeRequestReferenceType, type SdkPreset, SdkPresetReferenceType, type SdkPublishContentResponse, type SdkRequestReviewResponse, type SdkSetContentReferencesRequest, type SdkSetContentReferencesRequestReferencesItem, type SdkSetContentReferencesResponse, type SdkUpdateContentResponse, type SdkUpdateContentResponseWarningsItem, SdkUpdateContentResponseWarningsItemIssueType, SdkUpdateContentResponseWarningsItemTargetType, type SdkUpdateEntryRequest, type SdkUpdateEntryRequestDataJson, SdkUpdateEntryRequestStatus, type SdkUpsertDocBody, type SdkValidateContentResponse, type SdkValidateContentResponseIssuesItem, SdkValidateContentResponseIssuesItemIssueType, SdkValidateContentResponseIssuesItemTargetType, type UpdateCollectionRequest, type UpdateContentRequest, type UpdateDataTypeRequest, type UpdateFormDefinitionRequest, type UpdateFormDefinitionRequestConfigJson, type ValidationError, type ValidationResult, basicComponents, componentCatalog, componentSchemas, customComponents, getCatalogForAI, getCollectionContentDetail, getCollectionContentDetailOrThrow, getCollectionContents, getCollectionContentsOrThrow, getCollections, getCollectionsSlugContents, getCollectionsSlugContentsContentSlug, getComponentsByCategory, getComponentsWithReferences, getDataEntries, getDataEntriesOrThrow, getDataEntry, getDataEntryOrThrow, getDataTypeSlug, getGetCollectionsSlugContentsContentSlugUrl, getGetCollectionsSlugContentsUrl, getGetDataTypeSlugUrl, getGetPreviewTokenUrl, getPreviewByToken, getPreviewToken, getSchema, getSdkApiBaseUrl, getSdkApiToken, isValidComponent, markdownComponents, mdxComponents, quickValidateMdx, renderMdx, renderMdxPreview, sdkCustomInstance, sdkFetchWithTags, sdkFetcher, sdkPostFetcher, submitFormData, validateComponentProps, validateMdx };
|