Skip to content

Commit

Permalink
Merge pull request #3 from fhir-fli/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Dokotela authored Sep 11, 2024
2 parents fc3f2ae + 70fbad8 commit 2c1520a
Show file tree
Hide file tree
Showing 15 changed files with 606 additions and 20,043 deletions.
1 change: 0 additions & 1 deletion dart/init_resources.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'dart:convert';
import 'dart:io';

import 'package:pocketbase/pocketbase.dart';
Expand Down
5,507 changes: 0 additions & 5,507 deletions dart/search_parameters/collections.go

This file was deleted.

8 changes: 6 additions & 2 deletions dart/search_parameters/create_search_parameters.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ var collections = []map[string]interface{}{''';
searchMap[key]!.forEach((entry) {
final type = entry['type']!;
final name = entry['name']!;
if (name != '_id' && name != '_content') {
if (name != '_id' &&
name != '_content' &&
(name == 'resource' || name == 'versionId')) {
goString += entries(name, type);
}
});
Expand Down Expand Up @@ -131,7 +133,9 @@ String historyClass(String className, List<Map<String, String>> columns) {
columns.forEach((entry) {
final name = entry['name']!;
final type = entry['type']!;
if (name != '_id' && name != '_content') {
if (name != '_id' &&
name != '_content' &&
(name == 'resource' || name == 'versionId')) {
historySchema += entries(name, type);
}
});
Expand Down
Loading

0 comments on commit 2c1520a

Please sign in to comment.