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 29, 2023
1 parent 221065a commit 42c2c97
Show file tree
Hide file tree
Showing 21 changed files with 104,246 additions and 6,811 deletions.
11 changes: 11 additions & 0 deletions .cspell/nextcloud.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ commenters
csapi
datetime
deletedshares
dialin
dialout
displayname
etag
fediverse
getapppassword
groupid
hostedsignalingserver
hovercard
iscustomavatar
itemsperpage
Expand All @@ -24,6 +27,7 @@ lastmod
licence
logfile
logoheader
matterbridge
mimetypes
mountpoint
navigations
Expand All @@ -34,16 +38,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 +64,7 @@ textprocessing
totalitems
transferownership
trashbin
turnservers
undelete
unifiedpush
unsharing
Expand Down
3 changes: 3 additions & 0 deletions .cspell/tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,15 @@ libsqlite
mipmap
ndebug
nproc
openrelay
openrelayprojectsecret
plantuml
precache
puml
rpath
signoff
startuml
staticauth
stdlib
strconcat
strdupv
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,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 21ea70
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 42c2c97

Please sign in to comment.