diff --git a/remotepin.go b/remotepin.go index b9e000b..d25fe88 100644 --- a/remotepin.go +++ b/remotepin.go @@ -12,10 +12,16 @@ type Pinning struct { } type RemotePinningService struct { - Api RemotePinningServiceApi + Api RemotePinningServiceApi + Policies RemotePinningServicePolicies } type RemotePinningServiceApi struct { ApiEndpoint string ApiKey string } + +type RemotePinningServicePolicies struct { + // PinMFS enables watching for changes in MFS and re-pinning the MFS root cid whenever a change occurs. + PinMFS *bool +}