You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# CHANGELOG
|
||||
|
||||
Lib version: 1.11.0-SNAPSHOT-250711133122
|
||||
Lib version: 1.11.0-SNAPSHOT-250715074119
|
||||
|
||||
@@ -1203,6 +1203,85 @@ class UploadPhotoResponse extends $pb.GeneratedMessage {
|
||||
void clearURI() => $_clearField(1);
|
||||
}
|
||||
|
||||
/// Delete photo
|
||||
class DeletePhotoRequest extends $pb.GeneratedMessage {
|
||||
factory DeletePhotoRequest({
|
||||
$3.RequestSiteHeader? header,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
return result;
|
||||
}
|
||||
|
||||
DeletePhotoRequest._();
|
||||
|
||||
factory DeletePhotoRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory DeletePhotoRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeletePhotoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$3.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestSiteHeader.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
DeletePhotoRequest clone() => DeletePhotoRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
DeletePhotoRequest copyWith(void Function(DeletePhotoRequest) updates) => super.copyWith((message) => updates(message as DeletePhotoRequest)) as DeletePhotoRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static DeletePhotoRequest create() => DeletePhotoRequest._();
|
||||
@$core.override
|
||||
DeletePhotoRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<DeletePhotoRequest> createRepeated() => $pb.PbList<DeletePhotoRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static DeletePhotoRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeletePhotoRequest>(create);
|
||||
static DeletePhotoRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestSiteHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($3.RequestSiteHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestSiteHeader ensureHeader() => $_ensure(0);
|
||||
}
|
||||
|
||||
class DeletePhotoResponse extends $pb.GeneratedMessage {
|
||||
factory DeletePhotoResponse() => create();
|
||||
|
||||
DeletePhotoResponse._();
|
||||
|
||||
factory DeletePhotoResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory DeletePhotoResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeletePhotoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
DeletePhotoResponse clone() => DeletePhotoResponse()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
DeletePhotoResponse copyWith(void Function(DeletePhotoResponse) updates) => super.copyWith((message) => updates(message as DeletePhotoResponse)) as DeletePhotoResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static DeletePhotoResponse create() => DeletePhotoResponse._();
|
||||
@$core.override
|
||||
DeletePhotoResponse createEmptyInstance() => create();
|
||||
static $pb.PbList<DeletePhotoResponse> createRepeated() => $pb.PbList<DeletePhotoResponse>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static DeletePhotoResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeletePhotoResponse>(create);
|
||||
static DeletePhotoResponse? _defaultInstance;
|
||||
}
|
||||
|
||||
/// Upload document
|
||||
class UploadInstructionDocumentRequest extends $pb.GeneratedMessage {
|
||||
factory UploadInstructionDocumentRequest({
|
||||
|
||||
@@ -56,6 +56,10 @@ class SiteServiceClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$uploadPhoto, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.DeletePhotoResponse> deletePhoto($0.DeletePhotoRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$deletePhoto, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.UploadInstructionDocumentResponse> uploadInstructionDocument($0.UploadInstructionDocumentRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$uploadInstructionDocument, request, options: options);
|
||||
}
|
||||
@@ -130,6 +134,10 @@ class SiteServiceClient extends $grpc.Client {
|
||||
'/api.SiteService/UploadPhoto',
|
||||
($0.UploadPhotoRequest value) => value.writeToBuffer(),
|
||||
$0.UploadPhotoResponse.fromBuffer);
|
||||
static final _$deletePhoto = $grpc.ClientMethod<$0.DeletePhotoRequest, $0.DeletePhotoResponse>(
|
||||
'/api.SiteService/DeletePhoto',
|
||||
($0.DeletePhotoRequest value) => value.writeToBuffer(),
|
||||
$0.DeletePhotoResponse.fromBuffer);
|
||||
static final _$uploadInstructionDocument = $grpc.ClientMethod<$0.UploadInstructionDocumentRequest, $0.UploadInstructionDocumentResponse>(
|
||||
'/api.SiteService/UploadInstructionDocument',
|
||||
($0.UploadInstructionDocumentRequest value) => value.writeToBuffer(),
|
||||
@@ -227,6 +235,13 @@ abstract class SiteServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.UploadPhotoRequest.fromBuffer(value),
|
||||
($0.UploadPhotoResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.DeletePhotoRequest, $0.DeletePhotoResponse>(
|
||||
'DeletePhoto',
|
||||
deletePhoto_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.DeletePhotoRequest.fromBuffer(value),
|
||||
($0.DeletePhotoResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.UploadInstructionDocumentRequest, $0.UploadInstructionDocumentResponse>(
|
||||
'UploadInstructionDocument',
|
||||
uploadInstructionDocument_Pre,
|
||||
@@ -349,6 +364,12 @@ abstract class SiteServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$0.UploadPhotoResponse> uploadPhoto($grpc.ServiceCall call, $0.UploadPhotoRequest request);
|
||||
|
||||
$async.Future<$0.DeletePhotoResponse> deletePhoto_Pre($grpc.ServiceCall $call, $async.Future<$0.DeletePhotoRequest> $request) async {
|
||||
return deletePhoto($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.DeletePhotoResponse> deletePhoto($grpc.ServiceCall call, $0.DeletePhotoRequest request);
|
||||
|
||||
$async.Future<$0.UploadInstructionDocumentResponse> uploadInstructionDocument_Pre($grpc.ServiceCall $call, $async.Future<$0.UploadInstructionDocumentRequest> $request) async {
|
||||
return uploadInstructionDocument($call, await $request);
|
||||
}
|
||||
|
||||
@@ -322,6 +322,29 @@ const UploadPhotoResponse$json = {
|
||||
final $typed_data.Uint8List uploadPhotoResponseDescriptor = $convert.base64Decode(
|
||||
'ChNVcGxvYWRQaG90b1Jlc3BvbnNlEhAKA1VSSRgBIAEoCVIDVVJJ');
|
||||
|
||||
@$core.Deprecated('Use deletePhotoRequestDescriptor instead')
|
||||
const DeletePhotoRequest$json = {
|
||||
'1': 'DeletePhotoRequest',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestSiteHeader', '8': {}, '10': 'Header'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `DeletePhotoRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List deletePhotoRequestDescriptor = $convert.base64Decode(
|
||||
'ChJEZWxldGVQaG90b1JlcXVlc3QSOAoGSGVhZGVyGAEgASgLMhYuYXBpLlJlcXVlc3RTaXRlSG'
|
||||
'VhZGVyQgj6QgWKAQIQAVIGSGVhZGVyOg6SQQsKCdIBBkhlYWRlcg==');
|
||||
|
||||
@$core.Deprecated('Use deletePhotoResponseDescriptor instead')
|
||||
const DeletePhotoResponse$json = {
|
||||
'1': 'DeletePhotoResponse',
|
||||
};
|
||||
|
||||
/// Descriptor for `DeletePhotoResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List deletePhotoResponseDescriptor = $convert.base64Decode(
|
||||
'ChNEZWxldGVQaG90b1Jlc3BvbnNl');
|
||||
|
||||
@$core.Deprecated('Use uploadInstructionDocumentRequestDescriptor instead')
|
||||
const UploadInstructionDocumentRequest$json = {
|
||||
'1': 'UploadInstructionDocumentRequest',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: dart_core_sdk
|
||||
description: dart libs from core model proto files
|
||||
version: 1.11.0-SNAPSHOT-250711133122
|
||||
version: 1.11.0-SNAPSHOT-250715074119
|
||||
homepage: ''
|
||||
publish_to: ''
|
||||
repository: ''
|
||||
|
||||
Reference in New Issue
Block a user