Tisrn: Type-logical Identifying Server Routing Navigator
Revision | 729e91647b633286b022e00931762c7e46dbdbd2 (tree) |
---|---|
Time | 2022-08-09 18:16:12 |
Author | Haruka Sato <csta19097@g.ni...> |
Commiter | Haruka Sato |
base
@@ -0,0 +1,10 @@ | ||
1 | +# Files and directories created by pub. | |
2 | +.dart_tool/ | |
3 | +.packages | |
4 | + | |
5 | +# Conventional directory for build outputs. | |
6 | +build/ | |
7 | + | |
8 | +# Omit committing pubspec.lock for library packages; see | |
9 | +# https://dart.dev/guides/libraries/private-files#pubspeclock. | |
10 | +pubspec.lock |
@@ -0,0 +1,53 @@ | ||
1 | +# This file is deprecated. Tools should instead consume | |
2 | +# `.dart_tool/package_config.json`. | |
3 | +# | |
4 | +# For more info see: https://dart.dev/go/dot-packages-deprecation | |
5 | +# | |
6 | +# Generated by pub on 2022-08-09 10:41:51.857008. | |
7 | +_fe_analyzer_shared:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/_fe_analyzer_shared-44.0.0/lib/ | |
8 | +analyzer:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/analyzer-4.4.0/lib/ | |
9 | +args:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/args-2.3.1/lib/ | |
10 | +async:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/async-2.9.0/lib/ | |
11 | +boolean_selector:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/lib/ | |
12 | +collection:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/collection-1.16.0/lib/ | |
13 | +convert:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/convert-3.0.2/lib/ | |
14 | +coverage:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/coverage-1.5.0/lib/ | |
15 | +crypto:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/crypto-3.0.2/lib/ | |
16 | +file:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/file-6.1.2/lib/ | |
17 | +frontend_server_client:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/frontend_server_client-2.1.3/lib/ | |
18 | +glob:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/glob-2.1.0/lib/ | |
19 | +http_multi_server:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/http_multi_server-3.2.1/lib/ | |
20 | +http_parser:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/http_parser-4.0.1/lib/ | |
21 | +io:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/io-1.0.3/lib/ | |
22 | +js:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/js-0.6.4/lib/ | |
23 | +lints:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/lints-2.0.0/lib/ | |
24 | +logging:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/logging-1.0.2/lib/ | |
25 | +matcher:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/matcher-0.12.12/lib/ | |
26 | +meta:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/meta-1.8.0/lib/ | |
27 | +mime:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/mime-1.0.2/lib/ | |
28 | +node_preamble:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/node_preamble-2.0.1/lib/ | |
29 | +package_config:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/package_config-2.1.0/lib/ | |
30 | +path:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/path-1.8.2/lib/ | |
31 | +pool:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/pool-1.5.1/lib/ | |
32 | +pub_semver:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/pub_semver-2.1.1/lib/ | |
33 | +shelf:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/shelf-1.3.2/lib/ | |
34 | +shelf_packages_handler:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/shelf_packages_handler-3.0.1/lib/ | |
35 | +shelf_static:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/shelf_static-1.1.1/lib/ | |
36 | +shelf_web_socket:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/shelf_web_socket-1.0.2/lib/ | |
37 | +source_map_stack_trace:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/source_map_stack_trace-2.1.0/lib/ | |
38 | +source_maps:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/source_maps-0.10.10/lib/ | |
39 | +source_span:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/source_span-1.9.1/lib/ | |
40 | +stack_trace:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/stack_trace-1.10.0/lib/ | |
41 | +stream_channel:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/stream_channel-2.1.0/lib/ | |
42 | +string_scanner:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/string_scanner-1.1.1/lib/ | |
43 | +term_glyph:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/term_glyph-1.2.1/lib/ | |
44 | +test:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/test-1.21.4/lib/ | |
45 | +test_api:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/test_api-0.4.12/lib/ | |
46 | +test_core:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/test_core-0.4.16/lib/ | |
47 | +typed_data:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/typed_data-1.3.1/lib/ | |
48 | +vm_service:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/vm_service-9.3.0/lib/ | |
49 | +watcher:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/watcher-1.0.1/lib/ | |
50 | +web_socket_channel:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/web_socket_channel-2.2.0/lib/ | |
51 | +webkit_inspection_protocol:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/webkit_inspection_protocol-1.1.0/lib/ | |
52 | +yaml:file:///C:/Users/takuy/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/yaml-3.1.1/lib/ | |
53 | +tisrn:lib/ |
@@ -0,0 +1,3 @@ | ||
1 | +## 1.0.0 | |
2 | + | |
3 | +- Initial version. |
@@ -0,0 +1,39 @@ | ||
1 | +<!-- | |
2 | +This README describes the package. If you publish this package to pub.dev, | |
3 | +this README's contents appear on the landing page for your package. | |
4 | + | |
5 | +For information about how to write a good package README, see the guide for | |
6 | +[writing package pages](https://dart.dev/guides/libraries/writing-package-pages). | |
7 | + | |
8 | +For general information about developing packages, see the Dart guide for | |
9 | +[creating packages](https://dart.dev/guides/libraries/create-library-packages) | |
10 | +and the Flutter guide for | |
11 | +[developing packages and plugins](https://flutter.dev/developing-packages). | |
12 | +--> | |
13 | + | |
14 | +TODO: Put a short description of the package here that helps potential users | |
15 | +know whether this package might be useful for them. | |
16 | + | |
17 | +## Features | |
18 | + | |
19 | +TODO: List what your package can do. Maybe include images, gifs, or videos. | |
20 | + | |
21 | +## Getting started | |
22 | + | |
23 | +TODO: List prerequisites and provide or point to information on how to | |
24 | +start using the package. | |
25 | + | |
26 | +## Usage | |
27 | + | |
28 | +TODO: Include short and useful examples for package users. Add longer examples | |
29 | +to `/example` folder. | |
30 | + | |
31 | +```dart | |
32 | +const like = 'sample'; | |
33 | +``` | |
34 | + | |
35 | +## Additional information | |
36 | + | |
37 | +TODO: Tell users more about the package: where to find more information, how to | |
38 | +contribute to the package, how to file issues, what response they can expect | |
39 | +from the package authors, and more. |
@@ -0,0 +1,30 @@ | ||
1 | +# This file configures the static analysis results for your project (errors, | |
2 | +# warnings, and lints). | |
3 | +# | |
4 | +# This enables the 'recommended' set of lints from `package:lints`. | |
5 | +# This set helps identify many issues that may lead to problems when running | |
6 | +# or consuming Dart code, and enforces writing Dart using a single, idiomatic | |
7 | +# style and format. | |
8 | +# | |
9 | +# If you want a smaller set of lints you can change this to specify | |
10 | +# 'package:lints/core.yaml'. These are just the most critical lints | |
11 | +# (the recommended set includes the core lints). | |
12 | +# The core lints are also what is used by pub.dev for scoring packages. | |
13 | + | |
14 | +include: package:lints/recommended.yaml | |
15 | + | |
16 | +# Uncomment the following section to specify additional rules. | |
17 | + | |
18 | +# linter: | |
19 | +# rules: | |
20 | +# - camel_case_types | |
21 | + | |
22 | +# analyzer: | |
23 | +# exclude: | |
24 | +# - path/to/excluded/files/** | |
25 | + | |
26 | +# For more information about the core and recommended set of lints, see | |
27 | +# https://dart.dev/go/core-lints | |
28 | + | |
29 | +# For additional information about configuring this file, see | |
30 | +# https://dart.dev/guides/language/analysis-options |
@@ -0,0 +1,6 @@ | ||
1 | +import 'package:tisrn/tisrn.dart'; | |
2 | + | |
3 | +void main() { | |
4 | + var awesome = Awesome(); | |
5 | + print('awesome: ${awesome.isAwesome}'); | |
6 | +} |
@@ -0,0 +1,8 @@ | ||
1 | +/// Support for doing something awesome. | |
2 | +/// | |
3 | +/// More dartdocs go here. | |
4 | +library tisrn; | |
5 | + | |
6 | +export 'src/tisrn_base.dart'; | |
7 | + | |
8 | +// TODO: Export any libraries intended for clients of this package. |
@@ -0,0 +1,41 @@ | ||
1 | +Response onErrDefault(int errCode, [ErrorDirectory? errDir]) { | |
2 | + if(errDir != null){ | |
3 | + if(errDir.exists()&&errDir.isDirectory){ | |
4 | + try{ | |
5 | + errDir.invoke(Resource.htd, (String ext)=>"$errCode$ext") | |
6 | + } on TypeError catch (_){ | |
7 | + File dflt = Platform.scripts.cd(["defaults", "err"]).file("$errCode.html"); | |
8 | + } | |
9 | + } | |
10 | + } | |
11 | +} | |
12 | + | |
13 | +abstract class TisrnSegment{} | |
14 | +abstract class PortEntry extends TisrnSegment{} | |
15 | +abstract class PathEntry extends TisrnSegment with SegmentTerminalAble{ | |
16 | + PathEntryKind kind; | |
17 | + bool get isDirectory => this.kind == PathEntryKind.directory | |
18 | + bool get isFile => this.kind == PathEntryKind.file | |
19 | + bool get isQuery => this.kind == PathEntryKind.query; | |
20 | + bool get isAnchor => this.kind == PathEntryKind.anchor; | |
21 | +} | |
22 | +enum PathEntryKind{ | |
23 | + any, directory, file, query, anchor, other, | |
24 | +} | |
25 | +abstract class DomainEntry extends TisrnSegment with SegmentTerminalAble{ | |
26 | + int level; | |
27 | + bool isFQDN; | |
28 | +} | |
29 | +abstract class InfoEntry extends TisrnSegment{ | |
30 | + String userName; | |
31 | + List<int> password; | |
32 | +} | |
33 | +mixin SegmentTerminalAble for TisrnSegment{ | |
34 | + TisrnSegment parent; | |
35 | +} | |
36 | +mixin ErrorDirectory for PathEntry{} | |
37 | +mixin EndPoint for SegmentTerminalAble{} | |
38 | +TisrnRouter{ | |
39 | + TisrnRouter(); | |
40 | + bind(EndPoint route, List<EndPoint> history, Response Function(EndPoint, Request) action){} | |
41 | +} | |
\ No newline at end of file |
@@ -0,0 +1,6 @@ | ||
1 | +// TODO: Put public facing types in this file. | |
2 | + | |
3 | +/// Checks if you are awesome. Spoiler: you are. | |
4 | +class Awesome { | |
5 | + bool get isAwesome => true; | |
6 | +} |
@@ -0,0 +1,327 @@ | ||
1 | +# Generated by pub | |
2 | +# See https://dart.dev/tools/pub/glossary#lockfile | |
3 | +packages: | |
4 | + _fe_analyzer_shared: | |
5 | + dependency: transitive | |
6 | + description: | |
7 | + name: _fe_analyzer_shared | |
8 | + url: "https://pub.dartlang.org" | |
9 | + source: hosted | |
10 | + version: "44.0.0" | |
11 | + analyzer: | |
12 | + dependency: transitive | |
13 | + description: | |
14 | + name: analyzer | |
15 | + url: "https://pub.dartlang.org" | |
16 | + source: hosted | |
17 | + version: "4.4.0" | |
18 | + args: | |
19 | + dependency: transitive | |
20 | + description: | |
21 | + name: args | |
22 | + url: "https://pub.dartlang.org" | |
23 | + source: hosted | |
24 | + version: "2.3.1" | |
25 | + async: | |
26 | + dependency: transitive | |
27 | + description: | |
28 | + name: async | |
29 | + url: "https://pub.dartlang.org" | |
30 | + source: hosted | |
31 | + version: "2.9.0" | |
32 | + boolean_selector: | |
33 | + dependency: transitive | |
34 | + description: | |
35 | + name: boolean_selector | |
36 | + url: "https://pub.dartlang.org" | |
37 | + source: hosted | |
38 | + version: "2.1.0" | |
39 | + collection: | |
40 | + dependency: transitive | |
41 | + description: | |
42 | + name: collection | |
43 | + url: "https://pub.dartlang.org" | |
44 | + source: hosted | |
45 | + version: "1.16.0" | |
46 | + convert: | |
47 | + dependency: transitive | |
48 | + description: | |
49 | + name: convert | |
50 | + url: "https://pub.dartlang.org" | |
51 | + source: hosted | |
52 | + version: "3.0.2" | |
53 | + coverage: | |
54 | + dependency: transitive | |
55 | + description: | |
56 | + name: coverage | |
57 | + url: "https://pub.dartlang.org" | |
58 | + source: hosted | |
59 | + version: "1.5.0" | |
60 | + crypto: | |
61 | + dependency: transitive | |
62 | + description: | |
63 | + name: crypto | |
64 | + url: "https://pub.dartlang.org" | |
65 | + source: hosted | |
66 | + version: "3.0.2" | |
67 | + file: | |
68 | + dependency: transitive | |
69 | + description: | |
70 | + name: file | |
71 | + url: "https://pub.dartlang.org" | |
72 | + source: hosted | |
73 | + version: "6.1.2" | |
74 | + frontend_server_client: | |
75 | + dependency: transitive | |
76 | + description: | |
77 | + name: frontend_server_client | |
78 | + url: "https://pub.dartlang.org" | |
79 | + source: hosted | |
80 | + version: "2.1.3" | |
81 | + glob: | |
82 | + dependency: transitive | |
83 | + description: | |
84 | + name: glob | |
85 | + url: "https://pub.dartlang.org" | |
86 | + source: hosted | |
87 | + version: "2.1.0" | |
88 | + http_multi_server: | |
89 | + dependency: transitive | |
90 | + description: | |
91 | + name: http_multi_server | |
92 | + url: "https://pub.dartlang.org" | |
93 | + source: hosted | |
94 | + version: "3.2.1" | |
95 | + http_parser: | |
96 | + dependency: transitive | |
97 | + description: | |
98 | + name: http_parser | |
99 | + url: "https://pub.dartlang.org" | |
100 | + source: hosted | |
101 | + version: "4.0.1" | |
102 | + io: | |
103 | + dependency: transitive | |
104 | + description: | |
105 | + name: io | |
106 | + url: "https://pub.dartlang.org" | |
107 | + source: hosted | |
108 | + version: "1.0.3" | |
109 | + js: | |
110 | + dependency: transitive | |
111 | + description: | |
112 | + name: js | |
113 | + url: "https://pub.dartlang.org" | |
114 | + source: hosted | |
115 | + version: "0.6.4" | |
116 | + lints: | |
117 | + dependency: "direct dev" | |
118 | + description: | |
119 | + name: lints | |
120 | + url: "https://pub.dartlang.org" | |
121 | + source: hosted | |
122 | + version: "2.0.0" | |
123 | + logging: | |
124 | + dependency: transitive | |
125 | + description: | |
126 | + name: logging | |
127 | + url: "https://pub.dartlang.org" | |
128 | + source: hosted | |
129 | + version: "1.0.2" | |
130 | + matcher: | |
131 | + dependency: transitive | |
132 | + description: | |
133 | + name: matcher | |
134 | + url: "https://pub.dartlang.org" | |
135 | + source: hosted | |
136 | + version: "0.12.12" | |
137 | + meta: | |
138 | + dependency: transitive | |
139 | + description: | |
140 | + name: meta | |
141 | + url: "https://pub.dartlang.org" | |
142 | + source: hosted | |
143 | + version: "1.8.0" | |
144 | + mime: | |
145 | + dependency: transitive | |
146 | + description: | |
147 | + name: mime | |
148 | + url: "https://pub.dartlang.org" | |
149 | + source: hosted | |
150 | + version: "1.0.2" | |
151 | + node_preamble: | |
152 | + dependency: transitive | |
153 | + description: | |
154 | + name: node_preamble | |
155 | + url: "https://pub.dartlang.org" | |
156 | + source: hosted | |
157 | + version: "2.0.1" | |
158 | + package_config: | |
159 | + dependency: transitive | |
160 | + description: | |
161 | + name: package_config | |
162 | + url: "https://pub.dartlang.org" | |
163 | + source: hosted | |
164 | + version: "2.1.0" | |
165 | + path: | |
166 | + dependency: transitive | |
167 | + description: | |
168 | + name: path | |
169 | + url: "https://pub.dartlang.org" | |
170 | + source: hosted | |
171 | + version: "1.8.2" | |
172 | + pool: | |
173 | + dependency: transitive | |
174 | + description: | |
175 | + name: pool | |
176 | + url: "https://pub.dartlang.org" | |
177 | + source: hosted | |
178 | + version: "1.5.1" | |
179 | + pub_semver: | |
180 | + dependency: transitive | |
181 | + description: | |
182 | + name: pub_semver | |
183 | + url: "https://pub.dartlang.org" | |
184 | + source: hosted | |
185 | + version: "2.1.1" | |
186 | + shelf: | |
187 | + dependency: transitive | |
188 | + description: | |
189 | + name: shelf | |
190 | + url: "https://pub.dartlang.org" | |
191 | + source: hosted | |
192 | + version: "1.3.2" | |
193 | + shelf_packages_handler: | |
194 | + dependency: transitive | |
195 | + description: | |
196 | + name: shelf_packages_handler | |
197 | + url: "https://pub.dartlang.org" | |
198 | + source: hosted | |
199 | + version: "3.0.1" | |
200 | + shelf_static: | |
201 | + dependency: transitive | |
202 | + description: | |
203 | + name: shelf_static | |
204 | + url: "https://pub.dartlang.org" | |
205 | + source: hosted | |
206 | + version: "1.1.1" | |
207 | + shelf_web_socket: | |
208 | + dependency: transitive | |
209 | + description: | |
210 | + name: shelf_web_socket | |
211 | + url: "https://pub.dartlang.org" | |
212 | + source: hosted | |
213 | + version: "1.0.2" | |
214 | + source_map_stack_trace: | |
215 | + dependency: transitive | |
216 | + description: | |
217 | + name: source_map_stack_trace | |
218 | + url: "https://pub.dartlang.org" | |
219 | + source: hosted | |
220 | + version: "2.1.0" | |
221 | + source_maps: | |
222 | + dependency: transitive | |
223 | + description: | |
224 | + name: source_maps | |
225 | + url: "https://pub.dartlang.org" | |
226 | + source: hosted | |
227 | + version: "0.10.10" | |
228 | + source_span: | |
229 | + dependency: transitive | |
230 | + description: | |
231 | + name: source_span | |
232 | + url: "https://pub.dartlang.org" | |
233 | + source: hosted | |
234 | + version: "1.9.1" | |
235 | + stack_trace: | |
236 | + dependency: transitive | |
237 | + description: | |
238 | + name: stack_trace | |
239 | + url: "https://pub.dartlang.org" | |
240 | + source: hosted | |
241 | + version: "1.10.0" | |
242 | + stream_channel: | |
243 | + dependency: transitive | |
244 | + description: | |
245 | + name: stream_channel | |
246 | + url: "https://pub.dartlang.org" | |
247 | + source: hosted | |
248 | + version: "2.1.0" | |
249 | + string_scanner: | |
250 | + dependency: transitive | |
251 | + description: | |
252 | + name: string_scanner | |
253 | + url: "https://pub.dartlang.org" | |
254 | + source: hosted | |
255 | + version: "1.1.1" | |
256 | + term_glyph: | |
257 | + dependency: transitive | |
258 | + description: | |
259 | + name: term_glyph | |
260 | + url: "https://pub.dartlang.org" | |
261 | + source: hosted | |
262 | + version: "1.2.1" | |
263 | + test: | |
264 | + dependency: "direct dev" | |
265 | + description: | |
266 | + name: test | |
267 | + url: "https://pub.dartlang.org" | |
268 | + source: hosted | |
269 | + version: "1.21.4" | |
270 | + test_api: | |
271 | + dependency: transitive | |
272 | + description: | |
273 | + name: test_api | |
274 | + url: "https://pub.dartlang.org" | |
275 | + source: hosted | |
276 | + version: "0.4.12" | |
277 | + test_core: | |
278 | + dependency: transitive | |
279 | + description: | |
280 | + name: test_core | |
281 | + url: "https://pub.dartlang.org" | |
282 | + source: hosted | |
283 | + version: "0.4.16" | |
284 | + typed_data: | |
285 | + dependency: transitive | |
286 | + description: | |
287 | + name: typed_data | |
288 | + url: "https://pub.dartlang.org" | |
289 | + source: hosted | |
290 | + version: "1.3.1" | |
291 | + vm_service: | |
292 | + dependency: transitive | |
293 | + description: | |
294 | + name: vm_service | |
295 | + url: "https://pub.dartlang.org" | |
296 | + source: hosted | |
297 | + version: "9.3.0" | |
298 | + watcher: | |
299 | + dependency: transitive | |
300 | + description: | |
301 | + name: watcher | |
302 | + url: "https://pub.dartlang.org" | |
303 | + source: hosted | |
304 | + version: "1.0.1" | |
305 | + web_socket_channel: | |
306 | + dependency: transitive | |
307 | + description: | |
308 | + name: web_socket_channel | |
309 | + url: "https://pub.dartlang.org" | |
310 | + source: hosted | |
311 | + version: "2.2.0" | |
312 | + webkit_inspection_protocol: | |
313 | + dependency: transitive | |
314 | + description: | |
315 | + name: webkit_inspection_protocol | |
316 | + url: "https://pub.dartlang.org" | |
317 | + source: hosted | |
318 | + version: "1.1.0" | |
319 | + yaml: | |
320 | + dependency: transitive | |
321 | + description: | |
322 | + name: yaml | |
323 | + url: "https://pub.dartlang.org" | |
324 | + source: hosted | |
325 | + version: "3.1.1" | |
326 | +sdks: | |
327 | + dart: ">=2.17.3 <3.0.0" |
@@ -0,0 +1,14 @@ | ||
1 | +name: tisrn | |
2 | +description: "Tisrn: Type-logical Identifying Server Routing Navigator" | |
3 | +version: 0.0.1 | |
4 | +# homepage: https://www.example.com | |
5 | + | |
6 | +environment: | |
7 | + sdk: ">=2.17.3 <3.0.0" | |
8 | + | |
9 | +# dependencies: | |
10 | +# path: ^1.8.0 | |
11 | + | |
12 | +dev_dependencies: | |
13 | + lints: ^2.0.0 | |
14 | + test: ^1.16.0 |
@@ -0,0 +1,16 @@ | ||
1 | +import 'package:tisrn/tisrn.dart'; | |
2 | +import 'package:test/test.dart'; | |
3 | + | |
4 | +void main() { | |
5 | + group('A group of tests', () { | |
6 | + final awesome = Awesome(); | |
7 | + | |
8 | + setUp(() { | |
9 | + // Additional setup goes here. | |
10 | + }); | |
11 | + | |
12 | + test('First Test', () { | |
13 | + expect(awesome.isAwesome, isTrue); | |
14 | + }); | |
15 | + }); | |
16 | +} |