├── .gitignore ├── LICENSE ├── README.md ├── VERSION ├── bin ├── .gitignore ├── apigen.dart ├── googleapis_fetch.dart ├── googleapis_generate.dart └── mix.dart ├── contrib └── c9setup.sh ├── lib ├── base.mixologist.yaml ├── base_fields.mixologist.yaml ├── generator.dart ├── generator │ ├── config.dart │ ├── dart.dart │ ├── discovery │ │ ├── discovery_parser.dart │ │ └── json_marshaller.dart │ ├── emitter.dart │ ├── emitter_util.dart │ ├── generator.dart │ ├── ir.dart │ ├── protobuf │ │ ├── protobuf_marshaller.dart │ │ ├── protobuf_parser.dart │ │ └── service.dart │ ├── template_loader.dart │ └── util.dart ├── google │ └── protobuf │ │ ├── compiler │ │ └── plugin.pb.dart │ │ └── descriptor.pb.dart ├── impl.dart ├── impl_html.dart ├── impl_server.dart ├── indexed_cache.dart ├── mixins │ ├── base_map.dart │ ├── base_podo.dart │ ├── copy_clone.dart │ ├── dot_access.dart │ ├── global.dart │ ├── has_api_type.dart │ ├── immutable.dart │ ├── is_map.dart │ ├── lazy.dart │ ├── local.dart │ ├── nosuchmethod.dart │ ├── observable.dart │ └── patch_map.dart ├── mixologist.dart ├── mixologist │ ├── config.dart │ ├── generator.dart │ ├── import.dart │ ├── in.dart │ └── out.dart ├── raw.api.json ├── raw.streamy.yaml ├── runtime │ ├── api.dart │ ├── batching.dart │ ├── cache.dart │ ├── dedup.dart │ ├── entity_util.dart │ ├── equality.dart │ ├── error.dart │ ├── global.dart │ ├── http.dart │ ├── json.dart │ ├── lazy.dart │ ├── marshal.dart │ ├── multiplexer.dart │ ├── proxy.dart │ ├── request.dart │ ├── response.dart │ ├── root.dart │ ├── tracing.dart │ ├── transforms.dart │ ├── util.dart │ └── wire.dart ├── src │ └── fs │ │ ├── fs.dart │ │ ├── local_fs.dart │ │ └── transform_fs.dart ├── streamy.dart ├── templates │ ├── lazy_resource_getter.mustache │ ├── list.mustache │ ├── map.mustache │ ├── marshal.mustache │ ├── marshal_handle.mustache │ ├── marshal_mapbacked.mustache │ ├── object_add_global.mustache │ ├── object_clone.mustache │ ├── object_ctor.mustache │ ├── object_getter.mustache │ ├── object_patch.mustache │ ├── object_remove.mustache │ ├── object_setter.mustache │ ├── proto_marshaller_ctor.mustache │ ├── pubspec.mustache │ ├── request_clone.mustache │ ├── request_ctor.mustache │ ├── request_marshal_payload.mustache │ ├── request_method.mustache │ ├── request_param_getter.mustache │ ├── request_param_setter.mustache │ ├── request_remove.mustache │ ├── request_send.mustache │ ├── request_send_direct.mustache │ ├── request_unmarshal_response.mustache │ ├── root_begin_transaction.mustache │ ├── root_constructor.mustache │ ├── root_send.mustache │ ├── root_transaction_constructor.mustache │ ├── string_list.mustache │ ├── string_map.mustache │ ├── unmarshal.mustache │ └── unmarshal_json.mustache ├── testing │ ├── dynamic_entity.dart │ └── testing.dart └── transformer.dart ├── presubmit.sh ├── pub-server.go ├── pubspec.yaml ├── test ├── .gitignore ├── all_tests.dart ├── base_test.dart ├── benchmark.dart ├── benchmark.html ├── benchmark_html.dart ├── generated │ ├── .gitignore │ ├── README │ ├── addendum_addendum.json │ ├── addendum_test.dart │ ├── addendum_test.json │ ├── addendum_test.streamy.yaml │ ├── bank_api_test.json │ ├── bank_api_test.streamy.yaml │ ├── benchmark_test.json │ ├── benchmark_test.streamy.yaml │ ├── handler_test.dart │ ├── handler_test.json │ ├── handler_test.streamy.yaml │ ├── identifier_name_test.dart │ ├── identifier_name_test.json │ ├── identifier_name_test.streamy.yaml │ ├── illegal_names_test.dart │ ├── illegal_names_test.json │ ├── illegal_names_test.streamy.yaml │ ├── import_test.proto │ ├── import_test.streamy.yaml │ ├── method_get_test.dart │ ├── method_get_test.json │ ├── method_get_test.streamy.yaml │ ├── method_params_test.dart │ ├── method_params_test.json │ ├── method_params_test.streamy.yaml │ ├── method_post_test.dart │ ├── method_post_test.json │ ├── method_post_test.streamy.yaml │ ├── nested_resources_test.dart │ ├── nested_resources_test.json │ ├── nested_resources_test.streamy.yaml │ ├── proto_test.dart │ ├── proto_test.proto │ ├── proto_test.streamy.yaml │ ├── reserved_expansion_path_param_test.dart │ ├── reserved_expansion_path_param_test.json │ ├── reserved_expansion_path_param_test.streamy.yaml │ ├── schema_object_test.dart │ ├── schema_object_test.json │ ├── schema_object_test.streamy.yaml │ ├── service_test.dart │ ├── service_test.streamy.yaml │ └── service_test_interface.dart ├── generator │ └── emitter_test.dart ├── integration │ ├── README.md │ ├── apigen_test │ │ ├── bin │ │ │ └── main.dart │ │ └── pubspec.yaml │ ├── run_tests.sh │ └── transformer_test │ │ ├── bin │ │ └── main.dart │ │ ├── lib │ │ ├── bank_api_test.json │ │ └── bank_api_test.streamy.yaml │ │ └── pubspec.yaml ├── mixins │ ├── dot_access_test.dart │ ├── immutable_test.dart │ ├── is_map_test.dart │ └── patch_map_test.dart ├── project.dart ├── proto_tests.dart ├── runtime │ ├── batching_test.dart │ ├── branching_test.dart │ ├── cache_test.dart │ ├── dedup_test.dart │ ├── error_test.dart │ ├── http_test.dart │ ├── json_test.dart │ ├── marshaller_test.dart │ ├── multiplexer_test.dart │ ├── proxy_test.dart │ ├── request_test.dart │ ├── transaction_test.dart │ └── transforms_test.dart ├── streamy_test.dart ├── test_in_browser.dart ├── test_in_browser.html └── utils.dart └── web └── README /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/README.md -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 0.2.2-dev.1 -------------------------------------------------------------------------------- /bin/.gitignore: -------------------------------------------------------------------------------- 1 | packages -------------------------------------------------------------------------------- /bin/apigen.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/bin/apigen.dart -------------------------------------------------------------------------------- /bin/googleapis_fetch.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/bin/googleapis_fetch.dart -------------------------------------------------------------------------------- /bin/googleapis_generate.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/bin/googleapis_generate.dart -------------------------------------------------------------------------------- /bin/mix.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/bin/mix.dart -------------------------------------------------------------------------------- /contrib/c9setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/contrib/c9setup.sh -------------------------------------------------------------------------------- /lib/base.mixologist.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/base.mixologist.yaml -------------------------------------------------------------------------------- /lib/base_fields.mixologist.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/base_fields.mixologist.yaml -------------------------------------------------------------------------------- /lib/generator.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/generator.dart -------------------------------------------------------------------------------- /lib/generator/config.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/generator/config.dart -------------------------------------------------------------------------------- /lib/generator/dart.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/generator/dart.dart -------------------------------------------------------------------------------- /lib/generator/discovery/discovery_parser.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/generator/discovery/discovery_parser.dart -------------------------------------------------------------------------------- /lib/generator/discovery/json_marshaller.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/generator/discovery/json_marshaller.dart -------------------------------------------------------------------------------- /lib/generator/emitter.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/generator/emitter.dart -------------------------------------------------------------------------------- /lib/generator/emitter_util.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/generator/emitter_util.dart -------------------------------------------------------------------------------- /lib/generator/generator.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/generator/generator.dart -------------------------------------------------------------------------------- /lib/generator/ir.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/generator/ir.dart -------------------------------------------------------------------------------- /lib/generator/protobuf/protobuf_marshaller.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/generator/protobuf/protobuf_marshaller.dart -------------------------------------------------------------------------------- /lib/generator/protobuf/protobuf_parser.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/generator/protobuf/protobuf_parser.dart -------------------------------------------------------------------------------- /lib/generator/protobuf/service.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/generator/protobuf/service.dart -------------------------------------------------------------------------------- /lib/generator/template_loader.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/generator/template_loader.dart -------------------------------------------------------------------------------- /lib/generator/util.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/generator/util.dart -------------------------------------------------------------------------------- /lib/google/protobuf/compiler/plugin.pb.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/google/protobuf/compiler/plugin.pb.dart -------------------------------------------------------------------------------- /lib/google/protobuf/descriptor.pb.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/google/protobuf/descriptor.pb.dart -------------------------------------------------------------------------------- /lib/impl.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/impl.dart -------------------------------------------------------------------------------- /lib/impl_html.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/impl_html.dart -------------------------------------------------------------------------------- /lib/impl_server.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/impl_server.dart -------------------------------------------------------------------------------- /lib/indexed_cache.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/indexed_cache.dart -------------------------------------------------------------------------------- /lib/mixins/base_map.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixins/base_map.dart -------------------------------------------------------------------------------- /lib/mixins/base_podo.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixins/base_podo.dart -------------------------------------------------------------------------------- /lib/mixins/copy_clone.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixins/copy_clone.dart -------------------------------------------------------------------------------- /lib/mixins/dot_access.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixins/dot_access.dart -------------------------------------------------------------------------------- /lib/mixins/global.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixins/global.dart -------------------------------------------------------------------------------- /lib/mixins/has_api_type.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixins/has_api_type.dart -------------------------------------------------------------------------------- /lib/mixins/immutable.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixins/immutable.dart -------------------------------------------------------------------------------- /lib/mixins/is_map.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixins/is_map.dart -------------------------------------------------------------------------------- /lib/mixins/lazy.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixins/lazy.dart -------------------------------------------------------------------------------- /lib/mixins/local.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixins/local.dart -------------------------------------------------------------------------------- /lib/mixins/nosuchmethod.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixins/nosuchmethod.dart -------------------------------------------------------------------------------- /lib/mixins/observable.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixins/observable.dart -------------------------------------------------------------------------------- /lib/mixins/patch_map.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixins/patch_map.dart -------------------------------------------------------------------------------- /lib/mixologist.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixologist.dart -------------------------------------------------------------------------------- /lib/mixologist/config.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixologist/config.dart -------------------------------------------------------------------------------- /lib/mixologist/generator.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixologist/generator.dart -------------------------------------------------------------------------------- /lib/mixologist/import.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixologist/import.dart -------------------------------------------------------------------------------- /lib/mixologist/in.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixologist/in.dart -------------------------------------------------------------------------------- /lib/mixologist/out.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/mixologist/out.dart -------------------------------------------------------------------------------- /lib/raw.api.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/raw.api.json -------------------------------------------------------------------------------- /lib/raw.streamy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/raw.streamy.yaml -------------------------------------------------------------------------------- /lib/runtime/api.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/api.dart -------------------------------------------------------------------------------- /lib/runtime/batching.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/batching.dart -------------------------------------------------------------------------------- /lib/runtime/cache.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/cache.dart -------------------------------------------------------------------------------- /lib/runtime/dedup.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/dedup.dart -------------------------------------------------------------------------------- /lib/runtime/entity_util.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/entity_util.dart -------------------------------------------------------------------------------- /lib/runtime/equality.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/equality.dart -------------------------------------------------------------------------------- /lib/runtime/error.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/error.dart -------------------------------------------------------------------------------- /lib/runtime/global.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/global.dart -------------------------------------------------------------------------------- /lib/runtime/http.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/http.dart -------------------------------------------------------------------------------- /lib/runtime/json.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/json.dart -------------------------------------------------------------------------------- /lib/runtime/lazy.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/lazy.dart -------------------------------------------------------------------------------- /lib/runtime/marshal.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/marshal.dart -------------------------------------------------------------------------------- /lib/runtime/multiplexer.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/multiplexer.dart -------------------------------------------------------------------------------- /lib/runtime/proxy.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/proxy.dart -------------------------------------------------------------------------------- /lib/runtime/request.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/request.dart -------------------------------------------------------------------------------- /lib/runtime/response.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/response.dart -------------------------------------------------------------------------------- /lib/runtime/root.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/root.dart -------------------------------------------------------------------------------- /lib/runtime/tracing.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/tracing.dart -------------------------------------------------------------------------------- /lib/runtime/transforms.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/transforms.dart -------------------------------------------------------------------------------- /lib/runtime/util.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/util.dart -------------------------------------------------------------------------------- /lib/runtime/wire.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/runtime/wire.dart -------------------------------------------------------------------------------- /lib/src/fs/fs.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/src/fs/fs.dart -------------------------------------------------------------------------------- /lib/src/fs/local_fs.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/src/fs/local_fs.dart -------------------------------------------------------------------------------- /lib/src/fs/transform_fs.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/src/fs/transform_fs.dart -------------------------------------------------------------------------------- /lib/streamy.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/streamy.dart -------------------------------------------------------------------------------- /lib/templates/lazy_resource_getter.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/lazy_resource_getter.mustache -------------------------------------------------------------------------------- /lib/templates/list.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/list.mustache -------------------------------------------------------------------------------- /lib/templates/map.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/map.mustache -------------------------------------------------------------------------------- /lib/templates/marshal.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/marshal.mustache -------------------------------------------------------------------------------- /lib/templates/marshal_handle.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/marshal_handle.mustache -------------------------------------------------------------------------------- /lib/templates/marshal_mapbacked.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/marshal_mapbacked.mustache -------------------------------------------------------------------------------- /lib/templates/object_add_global.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/object_add_global.mustache -------------------------------------------------------------------------------- /lib/templates/object_clone.mustache: -------------------------------------------------------------------------------- 1 | => copyInto(new {{type}}()); -------------------------------------------------------------------------------- /lib/templates/object_ctor.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/object_ctor.mustache -------------------------------------------------------------------------------- /lib/templates/object_getter.mustache: -------------------------------------------------------------------------------- 1 | => this[r'{{name}}']; -------------------------------------------------------------------------------- /lib/templates/object_patch.mustache: -------------------------------------------------------------------------------- 1 | => patchInto(new {{type}}()); -------------------------------------------------------------------------------- /lib/templates/object_remove.mustache: -------------------------------------------------------------------------------- 1 | => this.remove(r'{{name}}'); -------------------------------------------------------------------------------- /lib/templates/object_setter.mustache: -------------------------------------------------------------------------------- 1 | { 2 | this[r'{{name}}'] = value; 3 | } -------------------------------------------------------------------------------- /lib/templates/proto_marshaller_ctor.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/proto_marshaller_ctor.mustache -------------------------------------------------------------------------------- /lib/templates/pubspec.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/pubspec.mustache -------------------------------------------------------------------------------- /lib/templates/request_clone.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/request_clone.mustache -------------------------------------------------------------------------------- /lib/templates/request_ctor.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/request_ctor.mustache -------------------------------------------------------------------------------- /lib/templates/request_marshal_payload.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/request_marshal_payload.mustache -------------------------------------------------------------------------------- /lib/templates/request_method.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/request_method.mustache -------------------------------------------------------------------------------- /lib/templates/request_param_getter.mustache: -------------------------------------------------------------------------------- 1 | => parameters[r'{{name}}']; -------------------------------------------------------------------------------- /lib/templates/request_param_setter.mustache: -------------------------------------------------------------------------------- 1 | { 2 | parameters[r'{{name}}'] = value; 3 | } -------------------------------------------------------------------------------- /lib/templates/request_remove.mustache: -------------------------------------------------------------------------------- 1 | => parameters.remove(r'{{name}}'); -------------------------------------------------------------------------------- /lib/templates/request_send.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/request_send.mustache -------------------------------------------------------------------------------- /lib/templates/request_send_direct.mustache: -------------------------------------------------------------------------------- 1 | => root.send(this); -------------------------------------------------------------------------------- /lib/templates/request_unmarshal_response.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/request_unmarshal_response.mustache -------------------------------------------------------------------------------- /lib/templates/root_begin_transaction.mustache: -------------------------------------------------------------------------------- 1 | => new {{txClassName}}(txStrategy.beginTransaction(), servicePath, marshaller); -------------------------------------------------------------------------------- /lib/templates/root_constructor.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/root_constructor.mustache -------------------------------------------------------------------------------- /lib/templates/root_send.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/root_send.mustache -------------------------------------------------------------------------------- /lib/templates/root_transaction_constructor.mustache: -------------------------------------------------------------------------------- 1 | : super(txn, servicePath); -------------------------------------------------------------------------------- /lib/templates/string_list.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/string_list.mustache -------------------------------------------------------------------------------- /lib/templates/string_map.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/string_map.mustache -------------------------------------------------------------------------------- /lib/templates/unmarshal.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/unmarshal.mustache -------------------------------------------------------------------------------- /lib/templates/unmarshal_json.mustache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/templates/unmarshal_json.mustache -------------------------------------------------------------------------------- /lib/testing/dynamic_entity.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/testing/dynamic_entity.dart -------------------------------------------------------------------------------- /lib/testing/testing.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/testing/testing.dart -------------------------------------------------------------------------------- /lib/transformer.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/lib/transformer.dart -------------------------------------------------------------------------------- /presubmit.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/presubmit.sh -------------------------------------------------------------------------------- /pub-server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/pub-server.go -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/pubspec.yaml -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- 1 | packages -------------------------------------------------------------------------------- /test/all_tests.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/all_tests.dart -------------------------------------------------------------------------------- /test/base_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/base_test.dart -------------------------------------------------------------------------------- /test/benchmark.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/benchmark.dart -------------------------------------------------------------------------------- /test/benchmark.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/benchmark.html -------------------------------------------------------------------------------- /test/benchmark_html.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/benchmark_html.dart -------------------------------------------------------------------------------- /test/generated/.gitignore: -------------------------------------------------------------------------------- 1 | packages -------------------------------------------------------------------------------- /test/generated/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/README -------------------------------------------------------------------------------- /test/generated/addendum_addendum.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AddendumApi" 3 | } 4 | -------------------------------------------------------------------------------- /test/generated/addendum_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/addendum_test.dart -------------------------------------------------------------------------------- /test/generated/addendum_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/addendum_test.json -------------------------------------------------------------------------------- /test/generated/addendum_test.streamy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/addendum_test.streamy.yaml -------------------------------------------------------------------------------- /test/generated/bank_api_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/bank_api_test.json -------------------------------------------------------------------------------- /test/generated/bank_api_test.streamy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/bank_api_test.streamy.yaml -------------------------------------------------------------------------------- /test/generated/benchmark_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/benchmark_test.json -------------------------------------------------------------------------------- /test/generated/benchmark_test.streamy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/benchmark_test.streamy.yaml -------------------------------------------------------------------------------- /test/generated/handler_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/handler_test.dart -------------------------------------------------------------------------------- /test/generated/handler_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/handler_test.json -------------------------------------------------------------------------------- /test/generated/handler_test.streamy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/handler_test.streamy.yaml -------------------------------------------------------------------------------- /test/generated/identifier_name_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/identifier_name_test.dart -------------------------------------------------------------------------------- /test/generated/identifier_name_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/identifier_name_test.json -------------------------------------------------------------------------------- /test/generated/identifier_name_test.streamy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/identifier_name_test.streamy.yaml -------------------------------------------------------------------------------- /test/generated/illegal_names_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/illegal_names_test.dart -------------------------------------------------------------------------------- /test/generated/illegal_names_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/illegal_names_test.json -------------------------------------------------------------------------------- /test/generated/illegal_names_test.streamy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/illegal_names_test.streamy.yaml -------------------------------------------------------------------------------- /test/generated/import_test.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/import_test.proto -------------------------------------------------------------------------------- /test/generated/import_test.streamy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/import_test.streamy.yaml -------------------------------------------------------------------------------- /test/generated/method_get_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/method_get_test.dart -------------------------------------------------------------------------------- /test/generated/method_get_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/method_get_test.json -------------------------------------------------------------------------------- /test/generated/method_get_test.streamy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/method_get_test.streamy.yaml -------------------------------------------------------------------------------- /test/generated/method_params_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/method_params_test.dart -------------------------------------------------------------------------------- /test/generated/method_params_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/method_params_test.json -------------------------------------------------------------------------------- /test/generated/method_params_test.streamy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/method_params_test.streamy.yaml -------------------------------------------------------------------------------- /test/generated/method_post_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/method_post_test.dart -------------------------------------------------------------------------------- /test/generated/method_post_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/method_post_test.json -------------------------------------------------------------------------------- /test/generated/method_post_test.streamy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/method_post_test.streamy.yaml -------------------------------------------------------------------------------- /test/generated/nested_resources_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/nested_resources_test.dart -------------------------------------------------------------------------------- /test/generated/nested_resources_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/nested_resources_test.json -------------------------------------------------------------------------------- /test/generated/nested_resources_test.streamy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/nested_resources_test.streamy.yaml -------------------------------------------------------------------------------- /test/generated/proto_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/proto_test.dart -------------------------------------------------------------------------------- /test/generated/proto_test.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/proto_test.proto -------------------------------------------------------------------------------- /test/generated/proto_test.streamy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/proto_test.streamy.yaml -------------------------------------------------------------------------------- /test/generated/reserved_expansion_path_param_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/reserved_expansion_path_param_test.dart -------------------------------------------------------------------------------- /test/generated/reserved_expansion_path_param_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/reserved_expansion_path_param_test.json -------------------------------------------------------------------------------- /test/generated/reserved_expansion_path_param_test.streamy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/reserved_expansion_path_param_test.streamy.yaml -------------------------------------------------------------------------------- /test/generated/schema_object_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/schema_object_test.dart -------------------------------------------------------------------------------- /test/generated/schema_object_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/schema_object_test.json -------------------------------------------------------------------------------- /test/generated/schema_object_test.streamy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/schema_object_test.streamy.yaml -------------------------------------------------------------------------------- /test/generated/service_test.dart: -------------------------------------------------------------------------------- 1 | import 'service_client.dart'; 2 | 3 | main() { 4 | // TODO(Alex): Implement tests in the future. 5 | } -------------------------------------------------------------------------------- /test/generated/service_test.streamy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/service_test.streamy.yaml -------------------------------------------------------------------------------- /test/generated/service_test_interface.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generated/service_test_interface.dart -------------------------------------------------------------------------------- /test/generator/emitter_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/generator/emitter_test.dart -------------------------------------------------------------------------------- /test/integration/README.md: -------------------------------------------------------------------------------- 1 | # Streamy integration tests 2 | -------------------------------------------------------------------------------- /test/integration/apigen_test/bin/main.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/integration/apigen_test/bin/main.dart -------------------------------------------------------------------------------- /test/integration/apigen_test/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/integration/apigen_test/pubspec.yaml -------------------------------------------------------------------------------- /test/integration/run_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/integration/run_tests.sh -------------------------------------------------------------------------------- /test/integration/transformer_test/bin/main.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/integration/transformer_test/bin/main.dart -------------------------------------------------------------------------------- /test/integration/transformer_test/lib/bank_api_test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/integration/transformer_test/lib/bank_api_test.json -------------------------------------------------------------------------------- /test/integration/transformer_test/lib/bank_api_test.streamy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/integration/transformer_test/lib/bank_api_test.streamy.yaml -------------------------------------------------------------------------------- /test/integration/transformer_test/pubspec.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/integration/transformer_test/pubspec.yaml -------------------------------------------------------------------------------- /test/mixins/dot_access_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/mixins/dot_access_test.dart -------------------------------------------------------------------------------- /test/mixins/immutable_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/mixins/immutable_test.dart -------------------------------------------------------------------------------- /test/mixins/is_map_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/mixins/is_map_test.dart -------------------------------------------------------------------------------- /test/mixins/patch_map_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/mixins/patch_map_test.dart -------------------------------------------------------------------------------- /test/project.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/project.dart -------------------------------------------------------------------------------- /test/proto_tests.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/proto_tests.dart -------------------------------------------------------------------------------- /test/runtime/batching_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/runtime/batching_test.dart -------------------------------------------------------------------------------- /test/runtime/branching_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/runtime/branching_test.dart -------------------------------------------------------------------------------- /test/runtime/cache_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/runtime/cache_test.dart -------------------------------------------------------------------------------- /test/runtime/dedup_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/runtime/dedup_test.dart -------------------------------------------------------------------------------- /test/runtime/error_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/runtime/error_test.dart -------------------------------------------------------------------------------- /test/runtime/http_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/runtime/http_test.dart -------------------------------------------------------------------------------- /test/runtime/json_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/runtime/json_test.dart -------------------------------------------------------------------------------- /test/runtime/marshaller_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/runtime/marshaller_test.dart -------------------------------------------------------------------------------- /test/runtime/multiplexer_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/runtime/multiplexer_test.dart -------------------------------------------------------------------------------- /test/runtime/proxy_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/runtime/proxy_test.dart -------------------------------------------------------------------------------- /test/runtime/request_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/runtime/request_test.dart -------------------------------------------------------------------------------- /test/runtime/transaction_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/runtime/transaction_test.dart -------------------------------------------------------------------------------- /test/runtime/transforms_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/runtime/transforms_test.dart -------------------------------------------------------------------------------- /test/streamy_test.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/streamy_test.dart -------------------------------------------------------------------------------- /test/test_in_browser.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/test_in_browser.dart -------------------------------------------------------------------------------- /test/test_in_browser.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/test_in_browser.html -------------------------------------------------------------------------------- /test/utils.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/streamy-dart/HEAD/test/utils.dart -------------------------------------------------------------------------------- /web/README: -------------------------------------------------------------------------------- 1 | This file must exist for pub serve to work. --------------------------------------------------------------------------------