@sublay/js 7.2.0 → 7.3.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.d.mts +332 -3
- package/dist/index.d.ts +2 -0
- package/dist/index.js +215 -6
- package/dist/index.mjs +215 -6
- package/dist/interfaces/Event.d.ts +66 -0
- package/dist/modules/comments/fetchManyComments.d.ts +11 -1
- package/dist/modules/entities/fetchManyEntities.d.ts +5 -1
- package/dist/modules/events/addHost.d.ts +8 -0
- package/dist/modules/events/addInvite.d.ts +8 -0
- package/dist/modules/events/cancelEvent.d.ts +6 -0
- package/dist/modules/events/createEvent.d.ts +49 -0
- package/dist/modules/events/deleteEvent.d.ts +5 -0
- package/dist/modules/events/fetchEvent.d.ts +8 -0
- package/dist/modules/events/fetchEventRsvps.d.ts +19 -0
- package/dist/modules/events/fetchInvitees.d.ts +12 -0
- package/dist/modules/events/fetchManyEvents.d.ts +42 -0
- package/dist/modules/events/index.d.ts +14 -0
- package/dist/modules/events/removeHost.d.ts +8 -0
- package/dist/modules/events/removeInvite.d.ts +8 -0
- package/dist/modules/events/setRsvp.d.ts +7 -0
- package/dist/modules/events/updateEvent.d.ts +43 -0
- package/dist/modules/events/withdrawRsvp.d.ts +6 -0
- package/dist/modules/spaces/createSpace.d.ts +14 -0
- package/dist/modules/spaces/updateSpace.d.ts +8 -0
- package/dist/modules/storage/uploadImage.d.ts +2 -1
- package/package.json +3 -3
|
@@ -33,9 +33,10 @@ export interface UploadImageProps {
|
|
|
33
33
|
imageOptions: ImageOptions;
|
|
34
34
|
/** Storage path segments, e.g. ["spaces", spaceId, "banner"]. */
|
|
35
35
|
pathParts?: string[];
|
|
36
|
-
/** Only one of entityId/commentId/spaceId may be set. */
|
|
36
|
+
/** Only one of entityId/commentId/spaceId/eventId may be set. */
|
|
37
37
|
entityId?: string;
|
|
38
38
|
commentId?: string;
|
|
39
39
|
spaceId?: string;
|
|
40
|
+
eventId?: string;
|
|
40
41
|
}
|
|
41
42
|
export declare function uploadImage(client: SublayHttpClient, data: UploadImageProps): Promise<UploadImageResponse>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sublay/js",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"test": "jest",
|
|
37
37
|
"version:patch": "pnpm version patch --no-git-tag-version --no-git-checks",
|
|
38
38
|
"version:minor": "pnpm version minor --no-git-tag-version --no-git-checks",
|
|
39
|
-
"publish-beta": "pnpm publish --tag beta --no-git-checks",
|
|
40
|
-
"publish-prod": "pnpm publish --no-git-checks",
|
|
39
|
+
"publish-beta": "pnpm test && pnpm publish --tag beta --no-git-checks",
|
|
40
|
+
"publish-prod": "pnpm test && pnpm publish --no-git-checks",
|
|
41
41
|
"publish-beta:patch": "pnpm version:patch && pnpm publish-beta",
|
|
42
42
|
"publish-beta:minor": "pnpm version:minor && pnpm publish-beta",
|
|
43
43
|
"publish-prod:patch": "pnpm version:patch && pnpm publish-prod",
|