원클릭으로
authoring-proxy-source
Proxy Sources offer a build-a-bear type solution for irregular or JSON RPC APIs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Proxy Sources offer a build-a-bear type solution for irregular or JSON RPC APIs.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Understand how sources declare operation capabilities via supportedOperations and how SourceList respects them.
FirestoreAdminSource connects google_cloud_firestore for server-side Dart applications to a SourceList.
FirestoreSource seamlessly connects Cloud Firestore streams to a SourceList.
Perform untyped Firestore document merges using the raw method on Firestore sources.
Cached data is mapped uniquely per request hash (RequestDetails with specific filter and pagination), supporting a powerful request-based caching behavior.
The SourceList class manages the delegation of read/write attempts to various configured Sources, with a read-thru cache system prioritizing local Sources.
| name | authoring-proxy-source |
| description | Proxy Sources offer a build-a-bear type solution for irregular or JSON RPC APIs. |
| metadata | {"last_modified":"Sat, 18 Apr 2026 1:52:50 GMT"} |
Proxy Sources offer a build-a-bear type solution for irregular or JSON RPC APIs.
final apiSource = ProxySource<User>(
sourceType: SourceType.remote,
bindings: userBindings,
setItemHandler: (WriteOperation<User> op) async {
// save [op.item], which is the User
},
);
Dart's type system giveth and Dart's type system taketh away.
Sufficiently consistent REST APIs can be highly automated, with every single data type in your application potentially served by the same RestSource which uses its getDetailUrl and getListUrl callbacks to determine where each and every record goes. This is nice for pkg:data_layer, but only because you have already lost type-safety across that boundary.
Conversely, APIs which preserve end-to-end type safety, like Serverpod, cannot be implemented as a single remote "ServerpodSource" for all data types, because each data type has its own concrete methods which must be called to read and write data.
For APIs like Serverpod, reach or a ProxySource like so:
class MyModelServerpodSource extends ProxySource {
MyModelServerpodSource(this.client) : super(
setItemHandler: (op) =>
client.specificSaveMethod(op.item);
);
/// This is the specific client Serverpod generated for your
/// app which contains your endpoints.
final Client client;
}
Rinse and repeat for each model and each operation you need to perform on those models. Sadly, the strength of Dart's type system prevents anything more streamlined without code generation.