@secretenvs/contracts 1.3.0 → 1.4.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/index.cjs +4 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -174,7 +174,10 @@ var ProjectDto = import_zod2.z.object({
|
|
|
174
174
|
createdAt: isoDate,
|
|
175
175
|
updatedAt: isoDate
|
|
176
176
|
}).strict();
|
|
177
|
-
var ProjectSummaryDto = ProjectDto.extend({
|
|
177
|
+
var ProjectSummaryDto = ProjectDto.extend({
|
|
178
|
+
role: ProjectRole,
|
|
179
|
+
joinedAt: isoDate
|
|
180
|
+
});
|
|
178
181
|
var AddMemberInput = import_zod2.z.object({ email, role: ProjectRole }).strict();
|
|
179
182
|
var UpdateMemberInput = import_zod2.z.object({ role: ProjectRole }).strict();
|
|
180
183
|
var MemberDto = import_zod2.z.object({ userId: id, email, name, role: ProjectRole, createdAt: isoDate }).strict();
|
package/dist/index.d.cts
CHANGED
|
@@ -125,6 +125,7 @@ declare const ProjectSummaryDto: z.ZodObject<{
|
|
|
125
125
|
EDITOR: "EDITOR";
|
|
126
126
|
VIEWER: "VIEWER";
|
|
127
127
|
}>;
|
|
128
|
+
joinedAt: z.ZodISODateTime;
|
|
128
129
|
}, z.core.$strict>;
|
|
129
130
|
type ProjectSummaryDto = z.infer<typeof ProjectSummaryDto>;
|
|
130
131
|
declare const AddMemberInput: z.ZodObject<{
|
package/dist/index.d.ts
CHANGED
|
@@ -125,6 +125,7 @@ declare const ProjectSummaryDto: z.ZodObject<{
|
|
|
125
125
|
EDITOR: "EDITOR";
|
|
126
126
|
VIEWER: "VIEWER";
|
|
127
127
|
}>;
|
|
128
|
+
joinedAt: z.ZodISODateTime;
|
|
128
129
|
}, z.core.$strict>;
|
|
129
130
|
type ProjectSummaryDto = z.infer<typeof ProjectSummaryDto>;
|
|
130
131
|
declare const AddMemberInput: z.ZodObject<{
|
package/dist/index.js
CHANGED
|
@@ -91,7 +91,10 @@ var ProjectDto = z2.object({
|
|
|
91
91
|
createdAt: isoDate,
|
|
92
92
|
updatedAt: isoDate
|
|
93
93
|
}).strict();
|
|
94
|
-
var ProjectSummaryDto = ProjectDto.extend({
|
|
94
|
+
var ProjectSummaryDto = ProjectDto.extend({
|
|
95
|
+
role: ProjectRole,
|
|
96
|
+
joinedAt: isoDate
|
|
97
|
+
});
|
|
95
98
|
var AddMemberInput = z2.object({ email, role: ProjectRole }).strict();
|
|
96
99
|
var UpdateMemberInput = z2.object({ role: ProjectRole }).strict();
|
|
97
100
|
var MemberDto = z2.object({ userId: id, email, name, role: ProjectRole, createdAt: isoDate }).strict();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@secretenvs/contracts",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Shared Zod schemas, types and constants for the SecretEnvs API, SDK and CLI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/ankityadavpurson/secretenvs#readme",
|