The file extension
.dtstyle is already allowed;
.dtpreset is the one used to export & import darktable’s module presets (XML content - darktable 3.4 user manual - presets). Today, one has to upload those as e.g. text. Please allow this extension, too, to make sharing module settings easier.