@sayren/store-sdk 0.37.1 → 0.37.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.
- package/dist/index.d.mts +15 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
- package/src/schemas/storefront-hosting.ts +6 -0
package/dist/index.d.mts
CHANGED
|
@@ -13910,6 +13910,7 @@ export declare const storefrontVersionSchema: z.ZodObject<{
|
|
|
13910
13910
|
gitRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13911
13911
|
commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13912
13912
|
mainChanged: z.ZodOptional<z.ZodBoolean>;
|
|
13913
|
+
buildCanceled: z.ZodOptional<z.ZodBoolean>;
|
|
13913
13914
|
createdAt: z.ZodString;
|
|
13914
13915
|
previewable: z.ZodOptional<z.ZodBoolean>;
|
|
13915
13916
|
}, z.core.$strip>;
|
|
@@ -14037,6 +14038,7 @@ export declare const storefrontSiteSchema: z.ZodObject<{
|
|
|
14037
14038
|
gitRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14038
14039
|
commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14039
14040
|
mainChanged: z.ZodOptional<z.ZodBoolean>;
|
|
14041
|
+
buildCanceled: z.ZodOptional<z.ZodBoolean>;
|
|
14040
14042
|
createdAt: z.ZodString;
|
|
14041
14043
|
previewable: z.ZodOptional<z.ZodBoolean>;
|
|
14042
14044
|
}, z.core.$strip>>;
|
|
@@ -14127,6 +14129,7 @@ export declare const storefrontHostingSchema: z.ZodObject<{
|
|
|
14127
14129
|
gitRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14128
14130
|
commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14129
14131
|
mainChanged: z.ZodOptional<z.ZodBoolean>;
|
|
14132
|
+
buildCanceled: z.ZodOptional<z.ZodBoolean>;
|
|
14130
14133
|
createdAt: z.ZodString;
|
|
14131
14134
|
previewable: z.ZodOptional<z.ZodBoolean>;
|
|
14132
14135
|
}, z.core.$strip>>;
|
|
@@ -14977,6 +14980,7 @@ export declare const storefrontVersionCreatedSchema: z.ZodObject<{
|
|
|
14977
14980
|
gitRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14978
14981
|
commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14979
14982
|
mainChanged: z.ZodOptional<z.ZodBoolean>;
|
|
14983
|
+
buildCanceled: z.ZodOptional<z.ZodBoolean>;
|
|
14980
14984
|
createdAt: z.ZodString;
|
|
14981
14985
|
previewable: z.ZodOptional<z.ZodBoolean>;
|
|
14982
14986
|
}, z.core.$strip>;
|
|
@@ -22783,6 +22787,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22783
22787
|
gitRef?: string | null | undefined;
|
|
22784
22788
|
commitSha?: string | null | undefined;
|
|
22785
22789
|
mainChanged?: boolean | undefined;
|
|
22790
|
+
buildCanceled?: boolean | undefined;
|
|
22786
22791
|
previewable?: boolean | undefined;
|
|
22787
22792
|
} | null;
|
|
22788
22793
|
provisioning: {
|
|
@@ -22851,6 +22856,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22851
22856
|
gitRef?: string | null | undefined;
|
|
22852
22857
|
commitSha?: string | null | undefined;
|
|
22853
22858
|
mainChanged?: boolean | undefined;
|
|
22859
|
+
buildCanceled?: boolean | undefined;
|
|
22854
22860
|
previewable?: boolean | undefined;
|
|
22855
22861
|
} | null;
|
|
22856
22862
|
provisioning: {
|
|
@@ -22957,6 +22963,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22957
22963
|
gitRef?: string | null | undefined;
|
|
22958
22964
|
commitSha?: string | null | undefined;
|
|
22959
22965
|
mainChanged?: boolean | undefined;
|
|
22966
|
+
buildCanceled?: boolean | undefined;
|
|
22960
22967
|
previewable?: boolean | undefined;
|
|
22961
22968
|
} | null;
|
|
22962
22969
|
provisioning: {
|
|
@@ -22999,6 +23006,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
22999
23006
|
gitRef?: string | null | undefined;
|
|
23000
23007
|
commitSha?: string | null | undefined;
|
|
23001
23008
|
mainChanged?: boolean | undefined;
|
|
23009
|
+
buildCanceled?: boolean | undefined;
|
|
23002
23010
|
previewable?: boolean | undefined;
|
|
23003
23011
|
}[]>;
|
|
23004
23012
|
/** `POST /v1/storefront/site/versions/{versionId}/publish` — 그 버전을 발행한다(이미 발행돼 있으면 그대로 200) */
|
|
@@ -23035,6 +23043,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23035
23043
|
gitRef?: string | null | undefined;
|
|
23036
23044
|
commitSha?: string | null | undefined;
|
|
23037
23045
|
mainChanged?: boolean | undefined;
|
|
23046
|
+
buildCanceled?: boolean | undefined;
|
|
23038
23047
|
previewable?: boolean | undefined;
|
|
23039
23048
|
} | null;
|
|
23040
23049
|
provisioning: {
|
|
@@ -23093,6 +23102,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23093
23102
|
gitRef?: string | null | undefined;
|
|
23094
23103
|
commitSha?: string | null | undefined;
|
|
23095
23104
|
mainChanged?: boolean | undefined;
|
|
23105
|
+
buildCanceled?: boolean | undefined;
|
|
23096
23106
|
previewable?: boolean | undefined;
|
|
23097
23107
|
} | null;
|
|
23098
23108
|
provisioning: {
|
|
@@ -23151,6 +23161,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23151
23161
|
gitRef?: string | null | undefined;
|
|
23152
23162
|
commitSha?: string | null | undefined;
|
|
23153
23163
|
mainChanged?: boolean | undefined;
|
|
23164
|
+
buildCanceled?: boolean | undefined;
|
|
23154
23165
|
previewable?: boolean | undefined;
|
|
23155
23166
|
} | null;
|
|
23156
23167
|
provisioning: {
|
|
@@ -23209,6 +23220,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23209
23220
|
gitRef?: string | null | undefined;
|
|
23210
23221
|
commitSha?: string | null | undefined;
|
|
23211
23222
|
mainChanged?: boolean | undefined;
|
|
23223
|
+
buildCanceled?: boolean | undefined;
|
|
23212
23224
|
previewable?: boolean | undefined;
|
|
23213
23225
|
} | null;
|
|
23214
23226
|
provisioning: {
|
|
@@ -23415,6 +23427,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23415
23427
|
gitRef?: string | null | undefined;
|
|
23416
23428
|
commitSha?: string | null | undefined;
|
|
23417
23429
|
mainChanged?: boolean | undefined;
|
|
23430
|
+
buildCanceled?: boolean | undefined;
|
|
23418
23431
|
previewable?: boolean | undefined;
|
|
23419
23432
|
} | null;
|
|
23420
23433
|
provisioning: {
|
|
@@ -23664,6 +23677,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23664
23677
|
gitRef?: string | null | undefined;
|
|
23665
23678
|
commitSha?: string | null | undefined;
|
|
23666
23679
|
mainChanged?: boolean | undefined;
|
|
23680
|
+
buildCanceled?: boolean | undefined;
|
|
23667
23681
|
previewable?: boolean | undefined;
|
|
23668
23682
|
};
|
|
23669
23683
|
build: {
|
|
@@ -23999,6 +24013,7 @@ export declare function createStoreClient(options: StoreClientOptions): {
|
|
|
23999
24013
|
gitRef?: string | null | undefined;
|
|
24000
24014
|
commitSha?: string | null | undefined;
|
|
24001
24015
|
mainChanged?: boolean | undefined;
|
|
24016
|
+
buildCanceled?: boolean | undefined;
|
|
24002
24017
|
previewable?: boolean | undefined;
|
|
24003
24018
|
} | null;
|
|
24004
24019
|
provisioning: {
|
package/dist/index.mjs
CHANGED
|
@@ -2027,6 +2027,7 @@ const storefrontVersionSchema = z.object({
|
|
|
2027
2027
|
gitRef: z.string().nullable().optional().describe("연결한 저장소의 push로 만든 버전의 브랜치. 그 밖은 null"),
|
|
2028
2028
|
commitSha: z.string().nullable().optional().describe("이 버전 소스를 담은 저장소 커밋(Git 원천 사이트). 저장소에 없는 버전은 null"),
|
|
2029
2029
|
mainChanged: z.boolean().optional().describe("이 버전을 만든 뒤 운영 브랜치가 바뀌어 발행할 수 없다(발행하면 409 `STOREFRONT_MAIN_CHANGED`). 최신 운영 브랜치를 합친 버전을 만든다. 버전 목록에만 싣는다"),
|
|
2030
|
+
buildCanceled: z.boolean().optional().describe("같은 브랜치의 새 push가 이 버전의 빌드를 끊었다(`status`는 `FAILED`, 빌드 `errorCode` `BUILD_CANCELED`). 버전 목록에만 싣는다"),
|
|
2030
2031
|
createdAt: z.string().describe("만든 시각 (ISO 8601)"),
|
|
2031
2032
|
previewable: z.boolean().optional().describe("미리보기 주소로 열 수 있는가 (`POST /v1/storefront/site/preview-link`의 `versionId`). 보관 기간이 지난 버전은 false")
|
|
2032
2033
|
});
|
package/package.json
CHANGED
|
@@ -291,6 +291,12 @@ export const storefrontVersionSchema = z.object({
|
|
|
291
291
|
.describe(
|
|
292
292
|
"이 버전을 만든 뒤 운영 브랜치가 바뀌어 발행할 수 없다(발행하면 409 `STOREFRONT_MAIN_CHANGED`). 최신 운영 브랜치를 합친 버전을 만든다. 버전 목록에만 싣는다",
|
|
293
293
|
),
|
|
294
|
+
buildCanceled: z
|
|
295
|
+
.boolean()
|
|
296
|
+
.optional()
|
|
297
|
+
.describe(
|
|
298
|
+
"같은 브랜치의 새 push가 이 버전의 빌드를 끊었다(`status`는 `FAILED`, 빌드 `errorCode` `BUILD_CANCELED`). 버전 목록에만 싣는다",
|
|
299
|
+
),
|
|
294
300
|
createdAt: z.string().describe("만든 시각 (ISO 8601)"),
|
|
295
301
|
previewable: z
|
|
296
302
|
.boolean()
|