@little-samo/samo-ai-sdk 0.2.1-rv10 → 0.2.1-rv11
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UserId } from '@little-samo/samo-ai';
|
|
1
|
+
import { LocationId, UserId } from '@little-samo/samo-ai';
|
|
2
2
|
import z from 'zod';
|
|
3
3
|
import type { LocationConfigCanvas } from '@little-samo/samo-ai-sdk/models';
|
|
4
4
|
import type { AgentCostDto, AgentPublicDto, GimmickCostDto, GimmickPublicDto } from '../entities';
|
|
@@ -43,6 +43,7 @@ export interface LocationPresetDto {
|
|
|
43
43
|
presetShortDescription: string;
|
|
44
44
|
thumbnail: string | null;
|
|
45
45
|
ownerUserId: UserId | null;
|
|
46
|
+
sourceLocationId: LocationId | null;
|
|
46
47
|
agents: AgentPublicDto[];
|
|
47
48
|
agentCosts: AgentCostDto[];
|
|
48
49
|
gimmicks: GimmickPublicDto[];
|
|
@@ -54,7 +55,6 @@ export interface LocationPresetDto {
|
|
|
54
55
|
publishedAt: Date | null;
|
|
55
56
|
hashtags: string[];
|
|
56
57
|
likeCount: number;
|
|
57
|
-
dislikeCount: number;
|
|
58
58
|
isPublic: boolean;
|
|
59
59
|
isAllowImport: boolean;
|
|
60
60
|
isSensitive: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"location.preset.js","sourceRoot":"","sources":["../../../src/dto/locations/location.preset.ts"],"names":[],"mappings":";;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"location.preset.js","sourceRoot":"","sources":["../../../src/dto/locations/location.preset.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAsE;AACtE,8CAAoB;AAWP,QAAA,2BAA2B,GAAG,aAAC,CAAC,MAAM,CAAC;IAClD,UAAU,EAAE,aAAC,CAAC,UAAU,CAAC,oBAAU,CAAC;IACpC,QAAQ,EAAE,aAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAE3B,OAAO,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;IACvC,KAAK,EAAE,aAAC;SACL,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC;SACpB,QAAQ,EAAE;CACd,CAAC,CAAC;AAMU,QAAA,0BAA0B,GAAG,aAAC,CAAC,MAAM,CAAC;IACjD,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC;IACxB,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC;CAC3B,CAAC,CAAC"}
|
|
@@ -376,8 +376,8 @@ export declare const PublishedLocationPresetsQuerySchema: z.ZodObject<{
|
|
|
376
376
|
page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
377
377
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
378
378
|
}, "strip", z.ZodTypeAny, {
|
|
379
|
-
limit: number;
|
|
380
379
|
type: "NOVEL";
|
|
380
|
+
limit: number;
|
|
381
381
|
page: number;
|
|
382
382
|
}, {
|
|
383
383
|
type: "NOVEL";
|
|
@@ -1526,12 +1526,12 @@ export declare const UpdateLocationImageSchema: z.ZodObject<{
|
|
|
1526
1526
|
image: z.ZodString;
|
|
1527
1527
|
index: z.ZodOptional<z.ZodNumber>;
|
|
1528
1528
|
}, "strip", z.ZodTypeAny, {
|
|
1529
|
-
locationId: bigint;
|
|
1530
1529
|
image: string;
|
|
1530
|
+
locationId: bigint;
|
|
1531
1531
|
index?: number | undefined;
|
|
1532
1532
|
}, {
|
|
1533
|
-
locationId: bigint;
|
|
1534
1533
|
image: string;
|
|
1534
|
+
locationId: bigint;
|
|
1535
1535
|
index?: number | undefined;
|
|
1536
1536
|
}>;
|
|
1537
1537
|
export type UpdateLocationImageDto = z.infer<typeof UpdateLocationImageSchema>;
|