Skip to content

Commit

Permalink
feat(tool,nextcloud): Add spreed
Browse files Browse the repository at this point in the history
Signed-off-by: jld3103 <jld3103yt@gmail.com>
  • Loading branch information
provokateurin committed Oct 28, 2023
1 parent ccb12c6 commit c53c709
Show file tree
Hide file tree
Showing 19 changed files with 104,075 additions and 6,808 deletions.
10 changes: 10 additions & 0 deletions .cspell/nextcloud.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ commenters
csapi
datetime
deletedshares
dialin
displayname
etag
fediverse
getapppassword
groupid
hostedsignalingserver
hovercard
iscustomavatar
itemsperpage
Expand All @@ -24,6 +26,7 @@ lastmod
licence
logfile
logoheader
matterbridge
mimetypes
mountpoint
navigations
Expand All @@ -34,16 +37,22 @@ organisation
prio
productname
publicpreview
publicshare
publicshareauth
replyable
requesttrial
reshares
resharing
rgdnvw
setsip
shareapi
sharebymail
sharee
shareesapi
shareinfo
statuscode
stime
stunservers
stylesheet
subadmin
subadmins
Expand All @@ -54,6 +63,7 @@ textprocessing
totalitems
transferownership
trashbin
turnservers
undelete
unifiedpush
unsharing
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@
[submodule "external/flathub-shared-modules"]
path = external/flathub-shared-modules
url = https://github.com/flathub/shared-modules.git
[submodule "external/nextcloud-spreed"]
path = external/nextcloud-spreed
url = https://github.com/nextcloud/spreed
1 change: 1 addition & 0 deletions external/nextcloud-spreed
Submodule nextcloud-spreed added at f57576
3 changes: 3 additions & 0 deletions packages/nextcloud/lib/ids.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ final class AppIDs {
/// ID for the sharebymail app.
static const sharebymail = 'sharebymail';

/// ID for the spreed app.
static const spreed = 'spreed';

/// ID for the theming app.
static const theming = 'theming';

Expand Down
14 changes: 14 additions & 0 deletions packages/nextcloud/lib/spreed.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// coverage:ignore-file
import 'package:nextcloud/src/api/spreed.openapi.dart';
import 'package:nextcloud/src/client.dart';

export 'src/api/spreed.openapi.dart';
export 'src/helpers/spreed.dart';

// ignore: public_member_api_docs
extension SpreedExtension on NextcloudClient {
static final _spreed = Expando<Client>();

/// Client for the spreed APIs
Client get spreed => _spreed[this] ??= Client.fromClient(this);
}
Loading

0 comments on commit c53c709

Please sign in to comment.