@volontariapp/contracts 4.1.0 → 4.1.1-snap-3dde44a
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/CHANGELOG.md +6 -0
- package/dist/post/comment.command.d.ts +9 -0
- package/dist/post/comment.command.d.ts.map +1 -0
- package/dist/post/comment.command.js +2 -0
- package/dist/post/comment.command.js.map +1 -0
- package/dist/post/comment.d.ts +10 -0
- package/dist/post/comment.d.ts.map +1 -0
- package/dist/post/comment.js +2 -0
- package/dist/post/comment.js.map +1 -0
- package/dist/post/comment.query.d.ts +6 -0
- package/dist/post/comment.query.d.ts.map +1 -0
- package/dist/post/comment.query.js +2 -0
- package/dist/post/comment.query.js.map +1 -0
- package/dist/post/comment.responses.d.ts +13 -0
- package/dist/post/comment.responses.d.ts.map +1 -0
- package/dist/post/comment.responses.js +2 -0
- package/dist/post/comment.responses.js.map +1 -0
- package/dist/post/index.d.ts +4 -0
- package/dist/post/index.d.ts.map +1 -1
- package/dist/post/index.js +4 -0
- package/dist/post/index.js.map +1 -1
- package/dist/post/post.command.d.ts +1 -1
- package/dist/post/post.command.d.ts.map +1 -1
- package/dist/post/post.d.ts +3 -0
- package/dist/post/post.d.ts.map +1 -1
- package/dist/post/post.responses.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment.command.d.ts","sourceRoot":"","sources":["../../src/post/comment.command.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment.command.js","sourceRoot":"","sources":["../../src/post/comment.command.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Timestamp } from "../google/protobuf/timestamp.js";
|
|
2
|
+
export interface Comment {
|
|
3
|
+
id: string;
|
|
4
|
+
postId: string;
|
|
5
|
+
authorId: string;
|
|
6
|
+
content: string;
|
|
7
|
+
createdAt: Timestamp | undefined;
|
|
8
|
+
updatedAt: Timestamp | undefined;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=comment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../src/post/comment.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAE5D,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,SAAS,GAAG,SAAS,CAAC;IACjC,SAAS,EAAE,SAAS,GAAG,SAAS,CAAC;CAClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment.js","sourceRoot":"","sources":["../../src/post/comment.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment.query.d.ts","sourceRoot":"","sources":["../../src/post/comment.query.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAC;CAC3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment.query.js","sourceRoot":"","sources":["../../src/post/comment.query.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PaginationResponse } from "../common/pagination.js";
|
|
2
|
+
import { Comment } from "./comment.js";
|
|
3
|
+
export interface CreateCommentResponse {
|
|
4
|
+
comment: Comment | undefined;
|
|
5
|
+
}
|
|
6
|
+
export interface ListCommentsResponse {
|
|
7
|
+
comments: Comment[];
|
|
8
|
+
pagination: PaginationResponse | undefined;
|
|
9
|
+
}
|
|
10
|
+
export interface DeleteCommentResponse {
|
|
11
|
+
success: boolean;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=comment.responses.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment.responses.d.ts","sourceRoot":"","sources":["../../src/post/comment.responses.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;CAC9B;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAC;CAC5C;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment.responses.js","sourceRoot":"","sources":["../../src/post/comment.responses.ts"],"names":[],"mappings":""}
|
package/dist/post/index.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export * from './post.query.js';
|
|
2
|
+
export * from './comment.responses.js';
|
|
3
|
+
export * from './comment.command.js';
|
|
2
4
|
export * from './post.js';
|
|
3
5
|
export * from './post.command.js';
|
|
6
|
+
export * from './comment.js';
|
|
7
|
+
export * from './comment.query.js';
|
|
4
8
|
export * from './post.responses.js';
|
|
5
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/post/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/post/index.ts"],"names":[],"mappings":"AACA,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/post/index.ts"],"names":[],"mappings":"AACA,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
|
package/dist/post/index.js
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
export * from './post.query.js';
|
|
2
|
+
export * from './comment.responses.js';
|
|
3
|
+
export * from './comment.command.js';
|
|
2
4
|
export * from './post.js';
|
|
3
5
|
export * from './post.command.js';
|
|
6
|
+
export * from './comment.js';
|
|
7
|
+
export * from './comment.query.js';
|
|
4
8
|
export * from './post.responses.js';
|
|
5
9
|
//# sourceMappingURL=index.js.map
|
package/dist/post/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/post/index.ts"],"names":[],"mappings":"AACA,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/post/index.ts"],"names":[],"mappings":"AACA,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post.command.d.ts","sourceRoot":"","sources":["../../src/post/post.command.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,IAAI,GAAG,SAAS,CAAC;IACvB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,oBAAoB;
|
|
1
|
+
{"version":3,"file":"post.command.d.ts","sourceRoot":"","sources":["../../src/post/post.command.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,IAAI,GAAG,SAAS,CAAC;IACvB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,oBAAoB;CACpC"}
|
package/dist/post/post.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { Timestamp } from "../google/protobuf/timestamp.js";
|
|
1
2
|
export interface Post {
|
|
2
3
|
id: string;
|
|
3
4
|
authorId: string;
|
|
4
5
|
title: string;
|
|
5
6
|
content: string;
|
|
7
|
+
createdAt: Timestamp | undefined;
|
|
8
|
+
updatedAt: Timestamp | undefined;
|
|
6
9
|
}
|
|
7
10
|
//# sourceMappingURL=post.d.ts.map
|
package/dist/post/post.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../src/post/post.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../src/post/post.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAE5D,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,SAAS,GAAG,SAAS,CAAC;IACjC,SAAS,EAAE,SAAS,GAAG,SAAS,CAAC;CAClC"}
|