Skip to content

Commit

Permalink
Merge pull request #318 from DanXi-Dev/audit-page
Browse files Browse the repository at this point in the history
[Feature] Audit page
  • Loading branch information
w568w authored Nov 16, 2023
2 parents 4e3089d + f35f726 commit 71a23f0
Show file tree
Hide file tree
Showing 10 changed files with 413 additions and 76 deletions.
3 changes: 3 additions & 0 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,10 @@
PRODUCT_BUNDLE_IDENTIFIER = "io.github.danxi-dev.dan-xi";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
SDKROOT = xros;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator xros xrsimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = YES;
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down
2 changes: 1 addition & 1 deletion ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.3.11</string>
<string>1.4.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand Down
34 changes: 17 additions & 17 deletions lib/common/pubspec.yaml.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* Copyright (C) 2021 DanXi-Dev
*
* This program is free software: you can redistribute it and/or modify
Expand Down
45 changes: 45 additions & 0 deletions lib/model/opentreehole/audit.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*
* Copyright (C) 2023 DanXi-Dev
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
// ignore_for_file: non_constant_identifier_names

import 'package:json_annotation/json_annotation.dart';

part 'audit.g.dart';

@JsonSerializable()
class OTAudit {
final String content;
final int hole_id;
final int id;
final bool? is_actual_sensitive;
final int modified;
final String? time_created;
final String? time_updated;

OTAudit(this.content, this.hole_id, this.id, this.is_actual_sensitive,
this.modified, this.time_created, this.time_updated);

factory OTAudit.fromJson(Map<String, dynamic> json) =>
_$OTAuditFromJson(json);

Map<String, dynamic> toJson() => _$OTAuditToJson(this);

@override
String toString() {
return 'OTAudit{content: $content, hole_id: $hole_id, id: $id, is_actual_sensitive: $is_actual_sensitive, modified: $modified, time_created: $time_created, time_updated: $time_updated}';
}
}
27 changes: 27 additions & 0 deletions lib/model/opentreehole/audit.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 71a23f0

Please sign in to comment.