Skip to content

Commit

Permalink
refactor(nextcloud): Sort WebDAV props alphabetically
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <kate@provokateurin.de>
  • Loading branch information
provokateurin committed Mar 27, 2024
1 parent 5960541 commit 20fb3ab
Show file tree
Hide file tree
Showing 10 changed files with 1,356 additions and 1,356 deletions.
44 changes: 22 additions & 22 deletions packages/nextcloud/generate_props.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,42 @@ import 'dart:io';
void main() {
final props = <String, Map<String, String>>{
'dav': {
'getlastmodified': 'String',
'getetag': 'String',
'getcontenttype': 'String',
'getcontentlength': 'int',
'getcontenttype': 'String',
'getetag': 'String',
'getlastmodified': 'String',
'resourcetype': 'WebDavResourcetype',
},
'oc': {
'id': 'String',
'fileid': 'String',
'favorite': 'int',
'comments-href': 'String',
'comments-count': 'int',
'comments-unread': 'int',
'downloadURL': 'String',
'owner-id': 'String',
'owner-display-name': 'String',
'size': 'int',
'permissions': 'String',
},
'nc': {
'note': 'String',
'creation_time': 'int',
'data-fingerprint': 'String',
'has-preview': 'bool',
'mount-type': 'String',
'is-encrypted': 'int',
'metadata_etag': 'String',
'upload_time': 'int',
'creation_time': 'int',
'mount-type': 'String',
'note': 'String',
'rich-workspace': 'String',
'upload_time': 'int',
},
'ocs': {
'share-permissions': 'int',
'oc': {
'comments-count': 'int',
'comments-href': 'String',
'comments-unread': 'int',
'downloadURL': 'String',
'favorite': 'int',
'fileid': 'String',
'id': 'String',
'owner-display-name': 'String',
'owner-id': 'String',
'permissions': 'String',
'size': 'int',
},
'ocm': {
'share-permissions': 'String',
},
'ocs': {
'share-permissions': 'int',
},
};

final valueProps = <String>[];
Expand Down

0 comments on commit 20fb3ab

Please sign in to comment.